Home
last modified time | relevance | path

Searched refs:DESCS_IN_PAGE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/pci/pt3/
H A Dpt3.h67 #define DESCS_IN_PAGE (PAGE_SIZE / sizeof(struct xfer_desc)) macro
69 #define MAX_DESC_BUFS DIV_ROUND_UP(MAX_NUM_XFERS, DESCS_IN_PAGE)
H A Dpt3_dma.c172 DIV_ROUND_UP(adap->num_bufs * DATA_BUF_XFERS, DESCS_IN_PAGE); in pt3_alloc_dmabuf()
183 d = &adap->desc_buf[i - 1].descs[DESCS_IN_PAGE - 1]; in pt3_alloc_dmabuf()
187 for (j = 0; j < DESCS_IN_PAGE; j++) { in pt3_alloc_dmabuf()