Lines Matching refs:dev
31 __FBSDID("$FreeBSD: releng/11.0/sys/dev/uart/uart_bus_fdt.c 298955 2016-05-03 03:41:25Z pfg $");
43 #include <dev/fdt/fdt_common.h>
44 #include <dev/ofw/ofw_bus.h>
45 #include <dev/ofw/ofw_bus_subr.h>
46 #include <dev/uart/uart.h>
47 #include <dev/uart/uart_bus.h>
48 #include <dev/uart/uart_cpu.h>
49 #include <dev/uart/uart_cpu_fdt.h>
94 uart_fdt_find_device(device_t dev)
100 ocd = ofw_bus_search_compatible(dev, *cd);
108 uart_fdt_probe(device_t dev)
115 sc = device_get_softc(dev);
117 if (!ofw_bus_status_okay(dev))
120 sc->sc_class = (struct uart_class *)uart_fdt_find_device(dev);
124 node = ofw_bus_get_node(dev);
131 return (uart_bus_probe(dev, (int)shift, (int)clock, 0, 0));