Lines Matching refs:blk_size
164 if (index * epq->blk_size > epq->buf_size) { in get_ptd_offset()
166 epq->buf_size / epq->blk_size); in get_ptd_offset()
169 offset = epq->buf_start + index * epq->blk_size; in get_ptd_offset()
182 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size()
193 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers()
203 epq->name, len, epq->blk_size, num_ptds, epq->buf_map, epq->skip_map); in claim_ptd_buffers()
212 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers()
849 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd()
852 ep->length, num_ptds, epq->blk_size, ptd_offset + num_ptds * epq->blk_size); in next_ptd()
854 ptd_offset += num_ptds * epq->blk_size; in next_ptd()
1008 WARN_ON(epq->blk_size != 0); in finish_iso_transfers()
2289 isp1362_hcd->istl_queue[i].blk_size = 4; in isp1362_mem_config()
2303 isp1362_hcd->intl_queue.blk_size = intl_blksize; in isp1362_mem_config()
2311 isp1362_hcd->intl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2319 isp1362_hcd->atl_queue.blk_size = atl_blksize; in isp1362_mem_config()
2327 isp1362_hcd->atl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2339 ISP1362_INTL_BUFFERS, isp1362_hcd->intl_queue.blk_size, in isp1362_mem_config()
2344 atl_buffers, isp1362_hcd->atl_queue.blk_size, in isp1362_mem_config()