Lines Matching refs:PTD_HEADER_SIZE

179 	xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE);
190 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1;
209 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE));
352 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE);
355 ep->ptd_offset + PTD_HEADER_SIZE, len);
374 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE);
389 ep->ptd_offset + PTD_HEADER_SIZE, act_len);
844 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size;
896 if (ptd_offset + PTD_HEADER_SIZE + ep->length >
2208 u16 intl_blksize = ISP1362_INTL_BLKSIZE + PTD_HEADER_SIZE;
2210 u16 atl_blksize = ISP1362_ATL_BLKSIZE + PTD_HEADER_SIZE;
2218 WARN_ON(atl_blksize < PTD_HEADER_SIZE);
2219 WARN_ON(intl_blksize < PTD_HEADER_SIZE);
2230 ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE,
2233 atl_buffers, atl_blksize - PTD_HEADER_SIZE,
2271 isp1362_hcd->intl_queue.blk_size - PTD_HEADER_SIZE);
2287 isp1362_hcd->atl_queue.blk_size - PTD_HEADER_SIZE);
2448 isp1362_write_buffer(isp1362_hcd, ref, offset * 2, PTD_HEADER_SIZE);
2449 isp1362_write_buffer(isp1362_hcd, ref + PTD_HEADER_SIZE / sizeof(*ref),
2450 offset * 2 + PTD_HEADER_SIZE, test_size);
2452 PTD_HEADER_SIZE + test_size);
2454 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) {
2455 dump_data(((u8 *)ref) + offset, PTD_HEADER_SIZE + test_size);
2456 dump_data((u8 *)tst, PTD_HEADER_SIZE + test_size);
2459 PTD_HEADER_SIZE + test_size);
2461 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) {