Lines Matching refs:hdev
1346 struct xhci_hw_dev *hdev; in xhci_set_address() local
1360 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
1367 switch (hdev->state) { in xhci_set_address()
1371 hdev->state = XHCI_ST_ENABLED; in xhci_set_address()
1417 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address()
1439 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address()
1442 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address()
1450 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address()
1452 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address()
3742 struct xhci_hw_dev *hdev; in xhci_get_endpoint_state() local
3748 hdev = &sc->sc_hw.devs[udev->controller_slot_id]; in xhci_get_endpoint_state()
3750 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_get_endpoint_state()
3753 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_get_endpoint_state()