Lines Matching refs:ehci_std
867 _ehci_append_fs_td(ehci_sitd_t *ehci_std, ehci_sitd_t *last) in _ehci_append_fs_td() argument
869 DPRINTFN(11, "%p to %p\n", ehci_std, last); in _ehci_append_fs_td()
873 ehci_std->next = last->next; in _ehci_append_fs_td()
874 ehci_std->sitd_next = last->sitd_next; in _ehci_append_fs_td()
876 ehci_std->prev = last; in _ehci_append_fs_td()
878 usb_pc_cpu_flush(ehci_std->page_cache); in _ehci_append_fs_td()
883 last->next = ehci_std; in _ehci_append_fs_td()
884 last->sitd_next = ehci_std->sitd_self; in _ehci_append_fs_td()
888 return (ehci_std); in _ehci_append_fs_td()
893 _ehci_append_hs_td(ehci_itd_t *ehci_std, ehci_itd_t *last) in _ehci_append_hs_td() argument
895 DPRINTFN(11, "%p to %p\n", ehci_std, last); in _ehci_append_hs_td()
899 ehci_std->next = last->next; in _ehci_append_hs_td()
900 ehci_std->itd_next = last->itd_next; in _ehci_append_hs_td()
902 ehci_std->prev = last; in _ehci_append_hs_td()
904 usb_pc_cpu_flush(ehci_std->page_cache); in _ehci_append_hs_td()
909 last->next = ehci_std; in _ehci_append_hs_td()
910 last->itd_next = ehci_std->itd_self; in _ehci_append_hs_td()
914 return (ehci_std); in _ehci_append_hs_td()
951 _ehci_remove_fs_td(ehci_sitd_t *ehci_std, ehci_sitd_t *last) in _ehci_remove_fs_td() argument
953 DPRINTFN(11, "%p from %p\n", ehci_std, last); in _ehci_remove_fs_td()
957 ehci_std->prev->next = ehci_std->next; in _ehci_remove_fs_td()
958 ehci_std->prev->sitd_next = ehci_std->sitd_next; in _ehci_remove_fs_td()
960 usb_pc_cpu_flush(ehci_std->prev->page_cache); in _ehci_remove_fs_td()
962 if (ehci_std->next) { in _ehci_remove_fs_td()
963 ehci_std->next->prev = ehci_std->prev; in _ehci_remove_fs_td()
964 usb_pc_cpu_flush(ehci_std->next->page_cache); in _ehci_remove_fs_td()
966 return ((last == ehci_std) ? ehci_std->prev : last); in _ehci_remove_fs_td()
971 _ehci_remove_hs_td(ehci_itd_t *ehci_std, ehci_itd_t *last) in _ehci_remove_hs_td() argument
973 DPRINTFN(11, "%p from %p\n", ehci_std, last); in _ehci_remove_hs_td()
977 ehci_std->prev->next = ehci_std->next; in _ehci_remove_hs_td()
978 ehci_std->prev->itd_next = ehci_std->itd_next; in _ehci_remove_hs_td()
980 usb_pc_cpu_flush(ehci_std->prev->page_cache); in _ehci_remove_hs_td()
982 if (ehci_std->next) { in _ehci_remove_hs_td()
983 ehci_std->next->prev = ehci_std->prev; in _ehci_remove_hs_td()
984 usb_pc_cpu_flush(ehci_std->next->page_cache); in _ehci_remove_hs_td()
986 return ((last == ehci_std) ? ehci_std->prev : last); in _ehci_remove_hs_td()