Lines Matching refs:dev
38 #include <dev/ofw/ofw_bus_subr.h>
40 #include <dev/usb/usb.h>
41 #include <dev/usb/usbdi.h>
43 #include <dev/usb/usb_busdma.h>
44 #include <dev/usb/usb_process.h>
46 #include <dev/usb/usb_controller.h>
47 #include <dev/usb/usb_bus.h>
49 #include <dev/usb/controller/dwc_otg.h>
50 #include <dev/usb/controller/dwc_otg_fdt.h>
58 bcm283x_dwc_otg_probe(device_t dev)
61 if (!ofw_bus_status_okay(dev))
64 if (!ofw_bus_is_compatible(dev, "broadcom,bcm2835-usb"))
67 device_set_desc(dev, "DWC OTG 2.0 integrated USB controller (bcm283x)");
73 bcm283x_dwc_otg_attach(device_t dev)
79 device_printf(dev, "failed to set power state, err=%d\n", err);
81 return (dwc_otg_attach(dev));