Home
last modified time | relevance | path

Searched refs:XHCI_DEVINST_PTR (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/bhyve/
H A Dpci_xhci.c294 #define XHCI_DEVINST_PTR(x,n) ((x)->devices[(n) - 1]) macro
398 if ((dev = XHCI_DEVINST_PTR(sc, i)) == NULL) in pci_xhci_usbcmd_write()
473 if (XHCI_DEVINST_PTR(sc, port) == NULL) { in pci_xhci_portregs_write()
500 if (XHCI_DEVINST_PTR(sc, port)) in pci_xhci_portregs_write()
2587 dev = XHCI_DEVINST_PTR(sc, portn); in pci_xhci_reset_port()
2618 dev = XHCI_DEVINST_PTR(sc, portn); in pci_xhci_init_port()
2856 XHCI_DEVINST_PTR(sc, dev->hci.hci_port) = dev; in pci_xhci_parse_devices()
2885 free(XHCI_DEVINST_PTR(sc, i)); in pci_xhci_parse_devices()
3000 dev = XHCI_DEVINST_PTR(sc, j); in pci_xhci_map_devs_slots()
3137 dev = XHCI_DEVINST_PTR(sc, i); in pci_xhci_snapshot()
[all …]