Lines Matching refs:ehci_std
866 _ehci_append_fs_td(ehci_sitd_t *ehci_std, ehci_sitd_t *last)
868 DPRINTFN(11, "%p to %p\n", ehci_std, last);
872 ehci_std->next = last->next;
873 ehci_std->sitd_next = last->sitd_next;
875 ehci_std->prev = last;
877 usb_pc_cpu_flush(ehci_std->page_cache);
882 last->next = ehci_std;
883 last->sitd_next = ehci_std->sitd_self;
887 return (ehci_std);
892 _ehci_append_hs_td(ehci_itd_t *ehci_std, ehci_itd_t *last)
894 DPRINTFN(11, "%p to %p\n", ehci_std, last);
898 ehci_std->next = last->next;
899 ehci_std->itd_next = last->itd_next;
901 ehci_std->prev = last;
903 usb_pc_cpu_flush(ehci_std->page_cache);
908 last->next = ehci_std;
909 last->itd_next = ehci_std->itd_self;
913 return (ehci_std);
950 _ehci_remove_fs_td(ehci_sitd_t *ehci_std, ehci_sitd_t *last)
952 DPRINTFN(11, "%p from %p\n", ehci_std, last);
956 ehci_std->prev->next = ehci_std->next;
957 ehci_std->prev->sitd_next = ehci_std->sitd_next;
959 usb_pc_cpu_flush(ehci_std->prev->page_cache);
961 if (ehci_std->next) {
962 ehci_std->next->prev = ehci_std->prev;
963 usb_pc_cpu_flush(ehci_std->next->page_cache);
965 return ((last == ehci_std) ? ehci_std->prev : last);
970 _ehci_remove_hs_td(ehci_itd_t *ehci_std, ehci_itd_t *last)
972 DPRINTFN(11, "%p from %p\n", ehci_std, last);
976 ehci_std->prev->next = ehci_std->next;
977 ehci_std->prev->itd_next = ehci_std->itd_next;
979 usb_pc_cpu_flush(ehci_std->prev->page_cache);
981 if (ehci_std->next) {
982 ehci_std->next->prev = ehci_std->prev;
983 usb_pc_cpu_flush(ehci_std->next->page_cache);
985 return ((last == ehci_std) ? ehci_std->prev : last);