Lines Matching refs:blk_size
160 if (index * epq->blk_size > epq->buf_size) { in get_ptd_offset()
163 epq->buf_size / epq->blk_size); in get_ptd_offset()
166 offset = epq->buf_start + index * epq->blk_size; in get_ptd_offset()
179 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size()
190 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers()
200 epq->name, len, epq->blk_size, num_ptds, epq->buf_map, epq->skip_map); in claim_ptd_buffers()
209 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers()
844 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd()
847 ep->length, num_ptds, epq->blk_size, ptd_offset + num_ptds * epq->blk_size); in next_ptd()
849 ptd_offset += num_ptds * epq->blk_size; in next_ptd()
1003 WARN_ON(epq->blk_size != 0); in finish_iso_transfers()
2249 isp1362_hcd->istl_queue[i].blk_size = 4; in isp1362_mem_config()
2263 isp1362_hcd->intl_queue.blk_size = intl_blksize; in isp1362_mem_config()
2271 isp1362_hcd->intl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2279 isp1362_hcd->atl_queue.blk_size = atl_blksize; in isp1362_mem_config()
2287 isp1362_hcd->atl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2299 ISP1362_INTL_BUFFERS, isp1362_hcd->intl_queue.blk_size, in isp1362_mem_config()
2304 atl_buffers, isp1362_hcd->atl_queue.blk_size, in isp1362_mem_config()