Lines Matching refs:itd
430 ehci_itd_t *itd; in ehci_init() local
458 itd = buf_res.buffer; in ehci_init()
462 itd->page_cache = sc->sc_hw.isoc_hs_start_pc + i; in ehci_init()
466 sc->sc_isoc_hs_p_last[i] = itd; in ehci_init()
470 itd->itd_self = in ehci_init()
474 itd->itd_next = in ehci_init()
826 ehci_dump_itd(ehci_softc_t *sc, ehci_itd_t *itd) in ehci_dump_itd() argument
828 usb_pc_cpu_invalidate(itd->page_cache); in ehci_dump_itd()
829 printf("ITD(%p) at 0x%08x\n", itd, hc32toh(sc, itd->itd_self) & ~0x1F); in ehci_dump_itd()
830 printf(" next=0x%08x\n", hc32toh(sc, itd->itd_next)); in ehci_dump_itd()
831 printf(" status[0]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[0]), in ehci_dump_itd()
832 (itd->itd_status[0] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
833 printf(" status[1]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[1]), in ehci_dump_itd()
834 (itd->itd_status[1] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
835 printf(" status[2]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[2]), in ehci_dump_itd()
836 (itd->itd_status[2] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
837 printf(" status[3]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[3]), in ehci_dump_itd()
838 (itd->itd_status[3] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
839 printf(" status[4]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[4]), in ehci_dump_itd()
840 (itd->itd_status[4] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
841 printf(" status[5]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[5]), in ehci_dump_itd()
842 (itd->itd_status[5] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
843 printf(" status[6]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[6]), in ehci_dump_itd()
844 (itd->itd_status[6] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
845 printf(" status[7]=0x%08x; <%s>\n", hc32toh(sc, itd->itd_status[7]), in ehci_dump_itd()
846 (itd->itd_status[7] & htohc32(sc, EHCI_ITD_ACTIVE)) ? "ACTIVE" : ""); in ehci_dump_itd()
847 printf(" bp[0]=0x%08x\n", hc32toh(sc, itd->itd_bp[0])); in ehci_dump_itd()
849 EHCI_ITD_GET_ADDR(hc32toh(sc, itd->itd_bp[0])), in ehci_dump_itd()
850 EHCI_ITD_GET_ENDPT(hc32toh(sc, itd->itd_bp[0]))); in ehci_dump_itd()
851 printf(" bp[1]=0x%08x\n", hc32toh(sc, itd->itd_bp[1])); in ehci_dump_itd()
853 (hc32toh(sc, itd->itd_bp[1]) & EHCI_ITD_SET_DIR_IN) ? "in" : "out", in ehci_dump_itd()
854 EHCI_ITD_GET_MPL(hc32toh(sc, itd->itd_bp[1]))); in ehci_dump_itd()
856 hc32toh(sc, itd->itd_bp[2]), in ehci_dump_itd()
857 hc32toh(sc, itd->itd_bp[3]), in ehci_dump_itd()
858 hc32toh(sc, itd->itd_bp[4]), in ehci_dump_itd()
859 hc32toh(sc, itd->itd_bp[5]), in ehci_dump_itd()
860 hc32toh(sc, itd->itd_bp[6])); in ehci_dump_itd()
863 hc32toh(sc, itd->itd_bp_hi[0]), in ehci_dump_itd()
864 hc32toh(sc, itd->itd_bp_hi[1]), in ehci_dump_itd()
865 hc32toh(sc, itd->itd_bp_hi[2]), in ehci_dump_itd()
866 hc32toh(sc, itd->itd_bp_hi[3]), in ehci_dump_itd()
867 hc32toh(sc, itd->itd_bp_hi[4]), in ehci_dump_itd()
868 hc32toh(sc, itd->itd_bp_hi[5]), in ehci_dump_itd()
869 hc32toh(sc, itd->itd_bp_hi[6])); in ehci_dump_itd()
875 ehci_itd_t *itd; in ehci_dump_isoc() local
886 itd = sc->sc_isoc_hs_p_last[pos]; in ehci_dump_isoc()
889 while (itd && max && max--) { in ehci_dump_isoc()
890 ehci_dump_itd(sc, itd); in ehci_dump_isoc()
891 itd = itd->prev; in ehci_dump_isoc()