Lines Matching defs:dev
46 #include <dev/fdt/fdt_common.h>
47 #include <dev/ofw/openfirm.h>
48 #include <dev/ofw/ofw_bus.h>
49 #include <dev/ofw/ofw_bus_subr.h>
90 tcon_probe(device_t dev)
93 if (!ofw_bus_status_okay(dev))
96 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-tcon"))
99 device_set_desc(dev, "Vybrid Family Timing Controller (TCON)");
104 tcon_attach(device_t dev)
108 sc = device_get_softc(dev);
110 if (bus_alloc_resources(dev, tcon_spec, sc->res)) {
111 device_printf(dev, "could not allocate resources\n");