Lines Matching refs:dev
28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/extres/clk/clk_bus.c 297213 2016-03-23 19:21:21Z jmcneill $");
36 #include <dev/fdt/simplebus.h>
38 #include <dev/ofw/openfirm.h>
39 #include <dev/ofw/ofw_bus_subr.h>
46 ofw_clkbus_probe(device_t dev)
50 name = ofw_bus_get_name(dev);
55 device_set_desc(dev, "OFW clocks bus");
61 ofw_clkbus_attach(device_t dev)
67 sc = device_get_softc(dev);
68 node = ofw_bus_get_node(dev);
69 simplebus_init(dev, node);
72 cdev = simplebus_add_device(dev, child, 0, NULL, -1, NULL);
77 return (bus_generic_attach(dev));