Lines Matching refs:last
60 * \param last the last element of the list
63 usb_ehci_sitd_t *last)
68 sitd->next = last->next;
69 sitd->prev = last;
70 last->next = sitd;
75 sitd->sitd_next = last->sitd_next;
76 last->sitd_next = sitd->sitd_self;
85 * \param last the last element of the list
88 usb_ehci_sitd_t *last)
104 return ((last == sitd) ? sitd->prev : last);
111 * \param last the last element of the list
113 usb_ehci_itd_t *usb_ehci_enq_hs_td(usb_ehci_itd_t *std, usb_ehci_itd_t *last)
118 std->next = last->next;
119 std->prev = last;
120 last->next = std;
125 std->itd_next = last->itd_next;
126 last->itd_next = std->itd_self;
136 * \param last the last element of the list
138 usb_ehci_itd_t *usb_ehci_deq_hs_td(usb_ehci_itd_t *std, usb_ehci_itd_t *last)
154 return ((last == std) ? std->prev : last);
161 * \param last the last element fo the list
163 usb_ehci_qh_t *usb_ehci_enq_qh(usb_ehci_qh_t *qh, usb_ehci_qh_t *last)
172 return (last);
175 qh->next = last->next;
176 qh->qh_link = last->qh_link;
178 qh->prev = last;
180 last->next = qh;
181 last->qh_link = qh->qh_self | USB_EHCI_LINKTYPE_QH;
190 * \param last the last element of the list
192 usb_ehci_qh_t *usb_ehci_deq_qh(usb_ehci_qh_t *qh, usb_ehci_qh_t *last)
198 return (last);
215 last = ((last == qh) ? qh->prev : last);
219 return (last);