Lines Matching refs:hdev
1403 struct xhci_hw_dev *hdev; in xhci_set_address() local
1417 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
1424 switch (hdev->state) { in xhci_set_address()
1428 hdev->state = XHCI_ST_ENABLED; in xhci_set_address()
1474 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address()
1496 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address()
1498 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address()
1506 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address()
1508 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address()
3794 struct xhci_hw_dev *hdev; in xhci_get_endpoint_state() local
3800 hdev = &sc->sc_hw.devs[udev->controller_slot_id]; in xhci_get_endpoint_state()
3802 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_get_endpoint_state()
3804 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_get_endpoint_state()