Lines Matching refs:uhci_td
162 static struct uhci_td *uhci_alloc_td(struct uhci *uhci, struct usb_device *dev) in uhci_alloc_td()
165 struct uhci_td *td; in uhci_alloc_td()
187 static void inline uhci_fill_td(struct uhci_td *td, __u32 status, in uhci_fill_td()
195 static void uhci_insert_td(struct uhci *uhci, struct uhci_td *skeltd, struct uhci_td *td) in uhci_insert_td()
198 struct uhci_td *ltd; in uhci_insert_td()
202 ltd = list_entry(skeltd->fl_list.prev, struct uhci_td, fl_list); in uhci_insert_td()
220 static void uhci_insert_td_frame_list(struct uhci *uhci, struct uhci_td *td, unsigned framenum) in uhci_insert_td_frame_list()
232 struct uhci_td *ftd, *ltd; in uhci_insert_td_frame_list()
235 ltd = list_entry(ftd->fl_list.prev, struct uhci_td, fl_list); in uhci_insert_td_frame_list()
252 static void uhci_remove_td(struct uhci *uhci, struct uhci_td *td) in uhci_remove_td()
266 struct uhci_td *ntd; in uhci_remove_td()
268 ntd = list_entry(td->fl_list.next, struct uhci_td, fl_list); in uhci_remove_td()
273 struct uhci_td *ptd; in uhci_remove_td()
275 ptd = list_entry(td->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_td()
296 struct uhci_td *td, *ptd; in uhci_insert_tds_in_qh()
306 td = list_entry(tmp, struct uhci_td, list); in uhci_insert_tds_in_qh()
316 td = list_entry(tmp, struct uhci_td, list); in uhci_insert_tds_in_qh()
328 static void uhci_free_td(struct uhci *uhci, struct uhci_td *td) in uhci_free_td()
487 struct uhci_td *td = list_entry(tmp, struct uhci_td, list); in uhci_fixup_toggle()
509 struct uhci_td *lltd; in uhci_append_queued_urb()
537 lltd = list_entry(lurbp->td_list.prev, struct uhci_td, list); in uhci_append_queued_urb()
561 struct uhci_td *pltd; in uhci_delete_queued_urb()
584 pltd = list_entry(purbp->td_list.prev, struct uhci_td, list); in uhci_delete_queued_urb()
617 pltd = list_entry(purbp->td_list.prev, struct uhci_td, list); in uhci_delete_queued_urb()
680 static void uhci_add_td_to_urb(struct urb *urb, struct uhci_td *td) in uhci_add_td_to_urb()
692 static void uhci_remove_td_from_urb(struct uhci_td *td) in uhci_remove_td_from_urb()
731 struct uhci_td *td = list_entry(tmp, struct uhci_td, list); in uhci_destroy_urb_priv()
828 struct uhci_td *td; in uhci_submit_control()
936 struct uhci_td *td; in uhci_result_control()
951 td = list_entry(tmp, struct uhci_td, list); in uhci_result_control()
967 td = list_entry(tmp, struct uhci_td, list); in uhci_result_control()
995 td = list_entry(tmp, struct uhci_td, list); in uhci_result_control()
1056 struct uhci_td *td = list_entry(tmp, struct uhci_td, list); in usb_control_retrigger_status()
1090 struct uhci_td *td; in uhci_submit_interrupt()
1124 struct uhci_td *td; in uhci_result_interrupt()
1133 td = list_entry(tmp, struct uhci_td, list); in uhci_result_interrupt()
1188 struct uhci_td *td; in uhci_reset_interrupt()
1197 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_reset_interrupt()
1215 struct uhci_td *td; in uhci_submit_bulk()
1384 struct uhci_td *td; in uhci_submit_isochronous()
1432 struct uhci_td *td = list_entry(tmp, struct uhci_td, list); in uhci_result_isochronous()
1714 struct uhci_td *td = list_entry(tmp, struct uhci_td, list); in uhci_unlink_generic()
1847 struct uhci_td *td = list_entry(tmp, struct uhci_td, list); in uhci_fsbr_timeout()
2782 sizeof(struct uhci_td), 16, 0, GFP_DMA | GFP_ATOMIC); in alloc_uhci()
2849 struct uhci_td *td; in alloc_uhci()