Lines Matching defs:last

376 	/* the last (1ms) QH terminates */
864 #define EHCI_APPEND_FS_TD(std, last) (last) = _ehci_append_fs_td(std, last)
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;
880 * the last->next->prev is never followed: std->next->prev = std;
882 last->next = ehci_std;
883 last->sitd_next = ehci_std->sitd_self;
885 usb_pc_cpu_flush(last->page_cache);
890 #define EHCI_APPEND_HS_TD(std, last) (last) = _ehci_append_hs_td(std, last)
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;
906 * the last->next->prev is never followed: std->next->prev = std;
908 last->next = ehci_std;
909 last->itd_next = ehci_std->itd_self;
911 usb_pc_cpu_flush(last->page_cache);
916 #define EHCI_APPEND_QH(sqh, last) (last) = _ehci_append_qh(sqh, last)
918 _ehci_append_qh(ehci_qh_t *sqh, ehci_qh_t *last)
920 DPRINTFN(11, "%p to %p\n", sqh, last);
925 return (last);
929 sqh->next = last->next;
930 sqh->qh_link = last->qh_link;
932 sqh->prev = last;
937 * the last->next->prev is never followed: sqh->next->prev = sqh;
940 last->next = sqh;
941 last->qh_link = sqh->qh_self;
943 usb_pc_cpu_flush(last->page_cache);
948 #define EHCI_REMOVE_FS_TD(std, last) (last) = _ehci_remove_fs_td(std, last)
950 _ehci_remove_fs_td(ehci_sitd_t *ehci_std, ehci_sitd_t *last)
952 DPRINTFN(11, "%p from %p\n", ehci_std, last);
965 return ((last == ehci_std) ? ehci_std->prev : last);
968 #define EHCI_REMOVE_HS_TD(std, last) (last) = _ehci_remove_hs_td(std, 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);
985 return ((last == ehci_std) ? ehci_std->prev : last);
988 #define EHCI_REMOVE_QH(sqh, last) (last) = _ehci_remove_qh(sqh, last)
990 _ehci_remove_qh(ehci_qh_t *sqh, ehci_qh_t *last)
992 DPRINTFN(11, "%p from %p\n", sqh, last);
1007 last = ((last == sqh) ? sqh->prev : last);
1013 return (last);
1074 /* Check for last transfer */
1225 /* check last transfer */
1290 * last transfer descriptor makes the transfer done
1515 /* send a Zero Length Packet, ZLP, last */
1753 /* check for last frame */
1755 /* no STATUS stage yet, SETUP is last */
1778 /* no STATUS stage yet, DATA is last */
1849 /* the last TD terminates the transfer: */
2484 /* reuse sitd_portaddr and sitd_back from last transfer */
2860 * we don't go off the last