• 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_offset

192 	int ptd_offset = -EINVAL;
213 ptd_offset = get_ptd_offset(epq, found);
214 WARN_ON(ptd_offset < 0);
215 ep->ptd_offset = ptd_offset;
222 __func__, epq->name, ep->ptd_index, ep->ptd_offset,
236 ep->ptd_offset, ep->num_ptds, epq->buf_count, epq->buf_avail,
252 ep->ptd_offset, ep->num_ptds, epq->buf_avail, epq->buf_count);
257 ep->ptd_offset = -EINVAL;
357 _BUG_ON(ep->ptd_offset < 0);
360 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE);
363 ep->ptd_offset + PTD_HEADER_SIZE, len);
376 BUG_ON(ep->ptd_offset < 0);
382 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE);
389 ep->ptd_offset, act_len, ep->length);
397 ep->ptd_offset + PTD_HEADER_SIZE, act_len);
412 DBG(1, "%s: ep %p PTD[%d] $%04x\n", __func__, ep, ep->ptd_index, ep->ptd_offset);
413 BUG_ON(ep->ptd_offset < 0);
415 epq = get_ptd_queue(isp1362_hcd, ep->ptd_offset);
430 index, ep->ptd_offset, epq->skip_map, 1 << index);
668 get_ptd_queue(isp1362_hcd, ep->ptd_offset);
673 DBG(1, "%s: remove PTD[%d] $%04x\n", __func__, index, ep->ptd_offset);
743 ep->ptd_offset, ep, ep->num_req);
851 u16 ptd_offset = ep->ptd_offset;
854 DBG(2, "%s: PTD offset $%04x + %04x => %d * %04x -> $%04x\n", __func__, ptd_offset,
855 ep->length, num_ptds, epq->blk_size, ptd_offset + num_ptds * epq->blk_size);
857 ptd_offset += num_ptds * epq->blk_size;
858 if (ptd_offset < epq->buf_start + epq->buf_size)
859 return ptd_offset;
869 int ptd_offset;
884 ptd_offset = epq->buf_start;
904 if (ptd_offset + PTD_HEADER_SIZE + ep->length >
910 ep->ptd_offset = ptd_offset;
913 ptd_offset = next_ptd(epq, ep);
914 if (ptd_offset < 0) {
963 index, ep->ptd_offset);
1005 DBG(1, "%s: Checking PTD $%04x\n", __func__, ep->ptd_offset);
1290 ep->ptd_offset = -EINVAL;
1432 urb, ep, ep->num_req, ep->ptd_index, ep->ptd_offset);
1469 ep, ep->num_req, ep->ptd_index, ep->ptd_offset);
2145 isp1362_hcd->load[ep->branch], ep->ptd_index, ep->ptd_offset);