/* DMA transfer description. * device is passed a pointer to this struct, dma-reads it, * and gets the DMA buffer ring for storing TS data.
*/ struct xfer_desc {
u32 addr_l; /* bus address of target data buffer */
u32 addr_h;
u32 size;
u32 next_l; /* bus address of the next xfer_desc */
u32 next_h;
};
/* A DMA mapping of a page containing xfer_desc's */ struct xfer_desc_buffer {
dma_addr_t b_addr; struct xfer_desc *descs; /* PAGE_SIZE (xfer_desc[DESCS_IN_PAGE]) */
};
/* A DMA mapping of a data buffer */ struct dma_data_buffer {
dma_addr_t b_addr;
u8 *data; /* size: u8[PAGE_SIZE] */
};
/* data fetch thread */ struct task_struct *thread; int num_feeds;
bool cur_lna; bool cur_lnb; /* current LNB power status (on/off) */
/* items below are for DMA */ struct dma_data_buffer buffer[MAX_DATA_BUFS]; int buf_idx; int buf_ofs; int num_bufs; /* == pt3_board->num_bufs */ int num_discard; /* how many access units to discard initially */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.