Lines Matching refs:devs

951 	pepext = &sc->sc_hw.devs[index].endp[epno];  in xhci_check_transfer()
1417 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
2315 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp); in xhci_configure_mask()
2344 if (x > sc->sc_hw.devs[index].context_num) in xhci_configure_mask()
2345 sc->sc_hw.devs[index].context_num = x; in xhci_configure_mask()
2347 x = sc->sc_hw.devs[index].context_num; in xhci_configure_mask()
2355 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc); in xhci_configure_mask()
2377 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp); in xhci_configure_endpoint()
2513 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc); in xhci_configure_endpoint()
2580 pcinp = &sc->sc_hw.devs[index].input_pc; in xhci_configure_device()
2618 sc->sc_hw.devs[index].context_num + 1); in xhci_configure_device()
2632 if (sc->sc_hw.devs[index].nports != 0 && in xhci_configure_device()
2652 is_hub = sc->sc_hw.devs[index].nports != 0 && in xhci_configure_device()
2665 sc->sc_hw.devs[index].nports); in xhci_configure_device()
2674 sc->sc_hw.devs[index].tt); in xhci_configure_device()
2728 pc = &sc->sc_hw.devs[index].device_pc; in xhci_alloc_device_ext()
2729 pg = &sc->sc_hw.devs[index].device_pg; in xhci_alloc_device_ext()
2741 pc = &sc->sc_hw.devs[index].input_pc; in xhci_alloc_device_ext()
2742 pg = &sc->sc_hw.devs[index].input_pg; in xhci_alloc_device_ext()
2756 pc = &sc->sc_hw.devs[index].endpoint_pc[i]; in xhci_alloc_device_ext()
2757 pg = &sc->sc_hw.devs[index].endpoint_pg[i]; in xhci_alloc_device_ext()
2806 usb_pc_free_mem(&sc->sc_hw.devs[index].device_pc); in xhci_free_device_ext()
2807 usb_pc_free_mem(&sc->sc_hw.devs[index].input_pc); in xhci_free_device_ext()
2809 usb_pc_free_mem(&sc->sc_hw.devs[index].endpoint_pc[i]); in xhci_free_device_ext()
2830 pc = &sc->sc_hw.devs[index].endpoint_pc[epno]; in xhci_get_endpoint_ext()
2834 pepext = &sc->sc_hw.devs[index].endp[epno]; in xhci_get_endpoint_ext()
3800 hdev = &sc->sc_hw.devs[udev->controller_slot_id]; in xhci_get_endpoint_state()
3833 pcinp = &sc->sc_hw.devs[index].input_pc; in xhci_configure_reset_endpoint()
3916 sc->sc_hw.devs[index].ep_configured &= ~mask; in xhci_configure_reset_endpoint()
3926 if (!(sc->sc_hw.devs[index].ep_configured & mask)) { in xhci_configure_reset_endpoint()
3929 sc->sc_hw.devs[index].ep_configured |= mask; in xhci_configure_reset_endpoint()
4075 sc->sc_hw.devs[index].ep_configured &= ~(1U << epno); in xhci_ep_init()
4141 if (sc->sc_hw.devs[temp].state != XHCI_ST_DISABLED) { in xhci_device_init()
4153 memset(&sc->sc_hw.devs[temp], 0, sizeof(sc->sc_hw.devs[0])); in xhci_device_init()
4157 sc->sc_hw.devs[temp].state = XHCI_ST_ENABLED; in xhci_device_init()
4187 sc->sc_hw.devs[index].state = XHCI_ST_DISABLED; in xhci_device_uninit()
4294 err = uhub_query_info(udev, &sc->sc_hw.devs[index].nports, in xhci_device_state_change()
4295 &sc->sc_hw.devs[index].tt); in xhci_device_state_change()
4297 sc->sc_hw.devs[index].nports = 0; in xhci_device_state_change()
4304 if (sc->sc_hw.devs[index].state == XHCI_ST_DEFAULT) in xhci_device_state_change()
4308 sc->sc_hw.devs[index].state = XHCI_ST_DEFAULT; in xhci_device_state_change()
4309 sc->sc_hw.devs[index].ep_configured = 3U; in xhci_device_state_change()
4312 sc->sc_hw.devs[index].context_num = 0; in xhci_device_state_change()
4323 if (sc->sc_hw.devs[index].state == XHCI_ST_ADDRESSED) in xhci_device_state_change()
4326 sc->sc_hw.devs[index].state = XHCI_ST_ADDRESSED; in xhci_device_state_change()
4327 sc->sc_hw.devs[index].ep_configured = 3U; in xhci_device_state_change()
4342 if (sc->sc_hw.devs[index].state == XHCI_ST_CONFIGURED) { in xhci_device_state_change()
4353 sc->sc_hw.devs[index].state = XHCI_ST_CONFIGURED; in xhci_device_state_change()
4354 sc->sc_hw.devs[index].ep_configured = 3U; in xhci_device_state_change()
4357 sc->sc_hw.devs[index].context_num = 0; in xhci_device_state_change()
4359 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp); in xhci_device_state_change()