Lines Matching refs:PTD_HEADER_SIZE

177 	xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE);  in max_transfer_size()
188 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers()
207 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers()
350 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_write_ptd()
353 ep->ptd_offset + PTD_HEADER_SIZE, len); in isp1362_write_ptd()
372 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_read_ptd()
387 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd()
842 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd()
894 if (ptd_offset + PTD_HEADER_SIZE + ep->length > in start_iso_transfers()
2217 u16 intl_blksize = ISP1362_INTL_BLKSIZE + PTD_HEADER_SIZE; in isp1362_mem_config()
2219 u16 atl_blksize = ISP1362_ATL_BLKSIZE + PTD_HEADER_SIZE; in isp1362_mem_config()
2227 WARN_ON(atl_blksize < PTD_HEADER_SIZE); in isp1362_mem_config()
2228 WARN_ON(intl_blksize < PTD_HEADER_SIZE); in isp1362_mem_config()
2239 ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE, in isp1362_mem_config()
2242 atl_buffers, atl_blksize - PTD_HEADER_SIZE, in isp1362_mem_config()
2281 isp1362_hcd->intl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2297 isp1362_hcd->atl_queue.blk_size - PTD_HEADER_SIZE); in isp1362_mem_config()
2458 isp1362_write_buffer(isp1362_hcd, ref, offset * 2, PTD_HEADER_SIZE); in isp1362_chip_test()
2459 isp1362_write_buffer(isp1362_hcd, ref + PTD_HEADER_SIZE / sizeof(*ref), in isp1362_chip_test()
2460 offset * 2 + PTD_HEADER_SIZE, test_size); in isp1362_chip_test()
2462 PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2464 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) { in isp1362_chip_test()
2465 dump_data(((u8 *)ref) + offset, PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2466 dump_data((u8 *)tst, PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2469 PTD_HEADER_SIZE + test_size); in isp1362_chip_test()
2471 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) { in isp1362_chip_test()