Lines Matching defs:std
940 #define EHCI_APPEND_FS_TD(std,last) (last) = _ehci_append_fs_td(std,last)
942 _ehci_append_fs_td(ehci_sitd_t *std, ehci_sitd_t *last)
944 DPRINTFN(11, "%p to %p\n", std, last);
948 std->next = last->next;
949 std->sitd_next = last->sitd_next;
951 std->prev = last;
953 usb_pc_cpu_flush(std->page_cache);
956 * the last->next->prev is never followed: std->next->prev = std;
958 last->next = std;
959 last->sitd_next = std->sitd_self;
963 return (std);
966 #define EHCI_APPEND_HS_TD(std,last) (last) = _ehci_append_hs_td(std,last)
968 _ehci_append_hs_td(ehci_itd_t *std, ehci_itd_t *last)
970 DPRINTFN(11, "%p to %p\n", std, last);
974 std->next = last->next;
975 std->itd_next = last->itd_next;
977 std->prev = last;
979 usb_pc_cpu_flush(std->page_cache);
982 * the last->next->prev is never followed: std->next->prev = std;
984 last->next = std;
985 last->itd_next = std->itd_self;
989 return (std);
1024 #define EHCI_REMOVE_FS_TD(std,last) (last) = _ehci_remove_fs_td(std,last)
1026 _ehci_remove_fs_td(ehci_sitd_t *std, ehci_sitd_t *last)
1028 DPRINTFN(11, "%p from %p\n", std, last);
1032 std->prev->next = std->next;
1033 std->prev->sitd_next = std->sitd_next;
1035 usb_pc_cpu_flush(std->prev->page_cache);
1037 if (std->next) {
1038 std->next->prev = std->prev;
1039 usb_pc_cpu_flush(std->next->page_cache);
1041 return ((last == std) ? std->prev : last);
1044 #define EHCI_REMOVE_HS_TD(std,last) (last) = _ehci_remove_hs_td(std,last)
1046 _ehci_remove_hs_td(ehci_itd_t *std, ehci_itd_t *last)
1048 DPRINTFN(11, "%p from %p\n", std, last);
1052 std->prev->next = std->next;
1053 std->prev->itd_next = std->itd_next;
1055 usb_pc_cpu_flush(std->prev->page_cache);
1057 if (std->next) {
1058 std->next->prev = std->prev;
1059 usb_pc_cpu_flush(std->next->page_cache);
1061 return ((last == std) ? std->prev : last);