• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/host/

Lines Matching refs:PTD_HEADER_SIZE

182 	xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE);
193 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1;
212 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE));
360 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE);
363 ep->ptd_offset + PTD_HEADER_SIZE, len);
382 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE);
397 ep->ptd_offset + PTD_HEADER_SIZE, act_len);
852 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size;
904 if (ptd_offset + PTD_HEADER_SIZE + ep->length >
2245 u16 intl_blksize = ISP1362_INTL_BLKSIZE + PTD_HEADER_SIZE;
2247 u16 atl_blksize = ISP1362_ATL_BLKSIZE + PTD_HEADER_SIZE;
2255 WARN_ON(atl_blksize < PTD_HEADER_SIZE);
2256 WARN_ON(intl_blksize < PTD_HEADER_SIZE);
2267 ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE,
2270 atl_buffers, atl_blksize - PTD_HEADER_SIZE,
2309 isp1362_hcd->intl_queue.blk_size - PTD_HEADER_SIZE);
2325 isp1362_hcd->atl_queue.blk_size - PTD_HEADER_SIZE);
2486 isp1362_write_buffer(isp1362_hcd, ref, offset * 2, PTD_HEADER_SIZE);
2487 isp1362_write_buffer(isp1362_hcd, ref + PTD_HEADER_SIZE / sizeof(*ref),
2488 offset * 2 + PTD_HEADER_SIZE, test_size);
2490 PTD_HEADER_SIZE + test_size);
2492 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) {
2493 dump_data(((u8 *)ref) + offset, PTD_HEADER_SIZE + test_size);
2494 dump_data((u8 *)tst, PTD_HEADER_SIZE + test_size);
2497 PTD_HEADER_SIZE + test_size);
2499 if (memcmp(ref, tst, PTD_HEADER_SIZE + test_size)) {