Lines Matching defs:std
895 #define UHCI_APPEND_TD(std,last) (last) = _uhci_append_td(std,last)
897 _uhci_append_td(uhci_td_t *std, uhci_td_t *last)
899 DPRINTFN(11, "%p to %p\n", std, last);
903 std->next = last->next;
904 std->td_next = last->td_next;
906 std->prev = last;
908 usb_pc_cpu_flush(std->page_cache);
911 * the last->next->prev is never followed: std->next->prev = std;
913 last->next = std;
914 last->td_next = std->td_self;
918 return (std);
957 #define UHCI_REMOVE_TD(std,last) (last) = _uhci_remove_td(std,last)
959 _uhci_remove_td(uhci_td_t *std, uhci_td_t *last)
961 DPRINTFN(11, "%p from %p\n", std, last);
965 std->prev->next = std->next;
966 std->prev->td_next = std->td_next;
968 usb_pc_cpu_flush(std->prev->page_cache);
970 if (std->next) {
971 std->next->prev = std->prev;
972 usb_pc_cpu_flush(std->next->page_cache);
974 return ((last == std) ? std->prev : last);