Lines Matching defs:dev
42 #include <dev/ofw/openfirm.h>
45 #include <dev/adb/adb.h>
55 static int abtn_probe(device_t dev);
56 static int abtn_attach(device_t dev);
57 static u_int abtn_receive_packet(device_t dev, u_char status,
85 abtn_probe(device_t dev)
89 type = adb_get_device_type(dev);
94 device_set_desc(dev, "ADB Brightness/Volume/Eject Buttons");
99 abtn_attach(device_t dev)
103 sc = device_get_softc(dev);
104 sc->sc_dev = dev;
106 sc->handler_id = adb_get_device_handler(dev);
112 abtn_receive_packet(device_t dev, u_char status,
154 device_printf(dev, "unknown ADB button 0x%x\n", cmd);