Lines Matching refs:dev
41 #include <dev/uart/uart.h>
42 #include <dev/uart/uart_bus.h>
43 #include <dev/uart/uart_cpu.h>
50 static int usart_at91_probe(device_t dev);
69 usart_at91_probe(device_t dev)
73 sc = device_get_softc(dev);
74 switch (device_get_unit(dev))
77 device_set_desc(dev, "DBGU");
86 device_set_desc(dev, "USART0");
89 device_set_desc(dev, "USART1");
92 device_set_desc(dev, "USART2");
95 device_set_desc(dev, "USART3");
98 device_set_desc(dev, "USART4");
101 device_set_desc(dev, "USART5");
107 return (uart_bus_probe(dev, 0, 0, 0, device_get_unit(dev)));