Lines Matching +full:generic +full:- +full:xhci
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
48 #include <dev/usb/controller/xhci.h>
59 #define XHCI_FDT_32BIT_DMA 0x02 /* Controller needs 32-bit DMA */
62 {"marvell,armada-380-xhci", XHCI_FDT_MATCH},
63 {"marvell,armada3700-xhci", XHCI_FDT_MATCH},
64 {"marvell,armada-8k-xhci", XHCI_FDT_MATCH},
65 {"generic-xhci", XHCI_FDT_MATCH},
76 if (!ofw_bus_search_compatible(dev, compat_data)->ocd_data) in generic_xhci_fdt_probe()
93 if (phy_get_by_ofw_property(dev, node, "usb-phy", &phy) == 0) in generic_xhci_fdt_attach()
97 flags = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in generic_xhci_fdt_attach()
99 sc->sc_quirks |= XHCI_QUIRK_DMA_32B; in generic_xhci_fdt_attach()
116 if (phy_get_by_ofw_property(dev, node, "usb-phy", &phy) == 0) in generic_xhci_fdt_detach()
131 DEFINE_CLASS_1(xhci, xhci_fdt_driver, xhci_fdt_methods,
134 DRIVER_MODULE(xhci, simplebus, xhci_fdt_driver, 0, 0);
135 MODULE_DEPEND(xhci, usb, 1, 1, 1);