Lines Matching refs:devs

898 	pepext = &sc->sc_hw.devs[index].endp[epno];
1352 hdev = &sc->sc_hw.devs[index];
2248 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
2277 if (x > sc->sc_hw.devs[index].context_num)
2278 sc->sc_hw.devs[index].context_num = x;
2280 x = sc->sc_hw.devs[index].context_num;
2288 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc);
2310 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
2446 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc);
2513 pcinp = &sc->sc_hw.devs[index].input_pc;
2551 sc->sc_hw.devs[index].context_num + 1);
2565 if ((sc->sc_hw.devs[index].nports != 0) &&
2585 is_hub = sc->sc_hw.devs[index].nports != 0 &&
2598 sc->sc_hw.devs[index].nports);
2603 switch (sc->sc_hw.devs[index].state) {
2624 sc->sc_hw.devs[index].tt);
2678 pc = &sc->sc_hw.devs[index].device_pc;
2679 pg = &sc->sc_hw.devs[index].device_pg;
2691 pc = &sc->sc_hw.devs[index].input_pc;
2692 pg = &sc->sc_hw.devs[index].input_pg;
2706 pc = &sc->sc_hw.devs[index].endpoint_pc[i];
2707 pg = &sc->sc_hw.devs[index].endpoint_pg[i];
2756 usb_pc_free_mem(&sc->sc_hw.devs[index].device_pc);
2757 usb_pc_free_mem(&sc->sc_hw.devs[index].input_pc);
2759 usb_pc_free_mem(&sc->sc_hw.devs[index].endpoint_pc[i]);
2780 pc = &sc->sc_hw.devs[index].endpoint_pc[epno];
2784 pepext = &sc->sc_hw.devs[index].endp[epno];
3777 pcinp = &sc->sc_hw.devs[index].input_pc;
4031 if (sc->sc_hw.devs[temp].state != XHCI_ST_DISABLED) {
4043 (void)memset_s(&sc->sc_hw.devs[temp], sizeof(sc->sc_hw.devs[0]), 0, sizeof(sc->sc_hw.devs[0]));
4047 sc->sc_hw.devs[temp].state = XHCI_ST_ENABLED;
4077 sc->sc_hw.devs[index].state = XHCI_ST_DISABLED;
4184 err = uhub_query_info(udev, &sc->sc_hw.devs[index].nports,
4185 &sc->sc_hw.devs[index].tt);
4187 sc->sc_hw.devs[index].nports = 0;
4194 if (sc->sc_hw.devs[index].state == XHCI_ST_DEFAULT)
4198 sc->sc_hw.devs[index].state = XHCI_ST_DEFAULT;
4201 sc->sc_hw.devs[index].context_num = 0;
4212 if (sc->sc_hw.devs[index].state == XHCI_ST_ADDRESSED)
4215 sc->sc_hw.devs[index].state = XHCI_ST_ADDRESSED;
4229 if (sc->sc_hw.devs[index].state == XHCI_ST_CONFIGURED)
4233 sc->sc_hw.devs[index].state = XHCI_ST_CONFIGURED;
4236 sc->sc_hw.devs[index].context_num = 0;
4238 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);