Searched refs:DESCS_IN_PAGE (Results 1 – 2 of 2) sorted by relevance
67 #define DESCS_IN_PAGE (PAGE_SIZE / sizeof(struct xfer_desc)) macro69 #define MAX_DESC_BUFS DIV_ROUND_UP(MAX_NUM_XFERS, DESCS_IN_PAGE)
172 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()