Lines Matching refs:hdev
1431 struct xhci_hw_dev *hdev; in xhci_set_address() local
1445 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
1452 switch (hdev->state) { in xhci_set_address()
1456 hdev->state = XHCI_ST_ENABLED; in xhci_set_address()
1502 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address()
1524 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address()
1527 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address()
1535 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address()
1537 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address()
3827 struct xhci_hw_dev *hdev; in xhci_get_endpoint_state() local
3833 hdev = &sc->sc_hw.devs[udev->controller_slot_id]; in xhci_get_endpoint_state()
3835 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_get_endpoint_state()
3838 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_get_endpoint_state()