Lines Matching refs:ptd_offset
493 static void isp1760_ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, in isp1760_ptd_read() argument
496 u16 src_offset = ptd_offset + slot * sizeof(*ptd); in isp1760_ptd_read()
506 static void isp1763_ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, in isp1763_ptd_read() argument
509 u16 src_offset = ptd_offset + slot * sizeof(*ptd); in isp1763_ptd_read()
524 static void ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, in ptd_read() argument
530 return isp1760_ptd_read(hcd, ptd_offset, slot, ptd); in ptd_read()
532 isp1763_ptd_read(hcd, ptd_offset, slot, ptd); in ptd_read()
535 static void isp1763_ptd_write(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, in isp1763_ptd_write() argument
538 u16 dst_offset = ptd_offset + slot * sizeof(*cpu_ptd); in isp1763_ptd_write()
554 static void isp1760_ptd_write(void __iomem *base, u32 ptd_offset, u32 slot, in isp1760_ptd_write() argument
557 u32 dst_offset = ptd_offset + slot * sizeof(*ptd); in isp1760_ptd_write()
570 static void ptd_write(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, in ptd_write() argument
576 return isp1760_ptd_write(priv->base, ptd_offset, slot, ptd); in ptd_write()
578 isp1763_ptd_write(hcd, ptd_offset, slot, ptd); in ptd_write()
1000 static void start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, in start_bus_transfer() argument
1019 if (ptd_offset == ATL_PTD_OFFSET) { in start_bus_transfer()
1039 ptd_write(hcd, ptd_offset, slot, ptd); in start_bus_transfer()
1041 if (ptd_offset == ATL_PTD_OFFSET) in start_bus_transfer()
1121 int ptd_offset; in enqueue_qtds() local
1139 ptd_offset = INT_PTD_OFFSET; in enqueue_qtds()
1142 ptd_offset = ATL_PTD_OFFSET; in enqueue_qtds()
1184 start_bus_transfer(hcd, ptd_offset, free_slot, in enqueue_qtds()
1360 u32 ptd_offset; in handle_done_ptds() local
1384 ptd_offset = INT_PTD_OFFSET; in handle_done_ptds()
1399 ptd_offset = ATL_PTD_OFFSET; in handle_done_ptds()
1481 start_bus_transfer(hcd, ptd_offset, slot, slots, qtd, in handle_done_ptds()