Lines Matching refs:PTD_HEADER_SIZE

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()
209 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers()
352 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_write_ptd()
355 ep->ptd_offset + PTD_HEADER_SIZE, len); in isp1362_write_ptd()
374 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_read_ptd()
389 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd()
844 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd()
896 if (ptd_offset + PTD_HEADER_SIZE + ep->length > in start_iso_transfers()
2208 u16 intl_blksize = ISP1362_INTL_BLKSIZE + PTD_HEADER_SIZE; in isp1362_mem_config()
2210 u16 atl_blksize = ISP1362_ATL_BLKSIZE + PTD_HEADER_SIZE; in isp1362_mem_config()
2218 WARN_ON(atl_blksize < PTD_HEADER_SIZE); in isp1362_mem_config()
2219 WARN_ON(intl_blksize < PTD_HEADER_SIZE); in isp1362_mem_config()
2230 ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE, in isp1362_mem_config()
2233 atl_buffers, atl_blksize - PTD_HEADER_SIZE, in isp1362_mem_config()
2271 isp1362_hcd->intl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2287 isp1362_hcd->atl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2448 isp1362_write_buffer(isp1362_hcd, ref, offset * 2, PTD_HEADER_SIZE); in isp1362_chip_test()
2449 isp1362_write_buffer(isp1362_hcd, ref + PTD_HEADER_SIZE / sizeof(*ref), in isp1362_chip_test()
2450 offset * 2 + PTD_HEADER_SIZE, test_size); in isp1362_chip_test()
2452 PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2454 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) { in isp1362_chip_test()
2455 dump_data(((u8 *)ref) + offset, PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2456 dump_data((u8 *)tst, PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2459 PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2461 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) { in isp1362_chip_test()