Lines Matching defs:std
893 #define UHCI_APPEND_TD(std,last) (last) = _uhci_append_td(std,last)
895 _uhci_append_td(uhci_td_t *std, uhci_td_t *last)
897 DPRINTFN(11, "%p to %p\n", std, last);
901 std->next = last->next;
902 std->td_next = last->td_next;
904 std->prev = last;
906 usb_pc_cpu_flush(std->page_cache);
909 * the last->next->prev is never followed: std->next->prev = std;
911 last->next = std;
912 last->td_next = std->td_self;
916 return (std);
955 #define UHCI_REMOVE_TD(std,last) (last) = _uhci_remove_td(std,last)
957 _uhci_remove_td(uhci_td_t *std, uhci_td_t *last)
959 DPRINTFN(11, "%p from %p\n", std, last);
963 std->prev->next = std->next;
964 std->prev->td_next = std->td_next;
966 usb_pc_cpu_flush(std->prev->page_cache);
968 if (std->next) {
969 std->next->prev = std->prev;
970 usb_pc_cpu_flush(std->next->page_cache);
972 return ((last == std) ? std->prev : last);