Lines Matching refs:devs

947 	pepext = &sc->sc_hw.devs[index].endp[epno];
1416 hdev = &sc->sc_hw.devs[index];
2324 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
2353 if (x > sc->sc_hw.devs[index].context_num)
2354 sc->sc_hw.devs[index].context_num = x;
2356 x = sc->sc_hw.devs[index].context_num;
2364 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc);
2386 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
2522 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc);
2589 pcinp = &sc->sc_hw.devs[index].input_pc;
2628 sc->sc_hw.devs[index].context_num + 1);
2642 if (sc->sc_hw.devs[index].nports != 0 &&
2662 is_hub = sc->sc_hw.devs[index].nports != 0 &&
2675 sc->sc_hw.devs[index].nports);
2684 sc->sc_hw.devs[index].tt);
2738 pc = &sc->sc_hw.devs[index].device_pc;
2739 pg = &sc->sc_hw.devs[index].device_pg;
2751 pc = &sc->sc_hw.devs[index].input_pc;
2752 pg = &sc->sc_hw.devs[index].input_pg;
2767 pc = &sc->sc_hw.devs[index].endpoint_pc[i];
2768 pg = &sc->sc_hw.devs[index].endpoint_pg[i];
2817 usb_pc_free_mem(&sc->sc_hw.devs[index].device_pc);
2818 usb_pc_free_mem(&sc->sc_hw.devs[index].input_pc);
2820 usb_pc_free_mem(&sc->sc_hw.devs[index].endpoint_pc[i]);
2841 pc = &sc->sc_hw.devs[index].endpoint_pc[epno];
2845 pepext = &sc->sc_hw.devs[index].endp[epno];
3834 hdev = &sc->sc_hw.devs[udev->controller_slot_id];
3866 pcinp = &sc->sc_hw.devs[index].input_pc;
3929 if (!(sc->sc_hw.devs[index].ep_configured & mask)) {
3930 sc->sc_hw.devs[index].ep_configured |= mask;
4081 sc->sc_hw.devs[index].ep_configured &= ~(1U << epno);
4147 if (sc->sc_hw.devs[temp].state != XHCI_ST_DISABLED) {
4159 memset(&sc->sc_hw.devs[temp], 0, sizeof(sc->sc_hw.devs[0]));
4163 sc->sc_hw.devs[temp].state = XHCI_ST_ENABLED;
4193 sc->sc_hw.devs[index].state = XHCI_ST_DISABLED;
4300 err = uhub_query_info(udev, &sc->sc_hw.devs[index].nports,
4301 &sc->sc_hw.devs[index].tt);
4303 sc->sc_hw.devs[index].nports = 0;
4310 if (sc->sc_hw.devs[index].state == XHCI_ST_DEFAULT)
4314 sc->sc_hw.devs[index].state = XHCI_ST_DEFAULT;
4315 sc->sc_hw.devs[index].ep_configured = 3U;
4318 sc->sc_hw.devs[index].context_num = 0;
4329 if (sc->sc_hw.devs[index].state == XHCI_ST_ADDRESSED)
4332 sc->sc_hw.devs[index].state = XHCI_ST_ADDRESSED;
4333 sc->sc_hw.devs[index].ep_configured = 3U;
4348 if (sc->sc_hw.devs[index].state == XHCI_ST_CONFIGURED) {
4359 sc->sc_hw.devs[index].state = XHCI_ST_CONFIGURED;
4360 sc->sc_hw.devs[index].ep_configured = 3U;
4363 sc->sc_hw.devs[index].context_num = 0;
4365 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);