Lines Matching +full:volume +full:- +full:keys
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
91 device_set_desc(dev, "ADB Brightness/Volume/Eject Buttons"); in abtn_probe()
101 sc->sc_dev = dev; in abtn_attach()
103 sc->handler_id = adb_get_device_handler(dev); in abtn_attach()
118 devctl_notify("PMU", "keys", "brightness", in abtn_receive_packet()
123 devctl_notify("PMU", "keys", "brightness", "notify=up"); in abtn_receive_packet()
128 devctl_notify("PMU", "keys", "mute", NULL); in abtn_receive_packet()
130 case 0x07: /* decrease volume */ in abtn_receive_packet()
131 case 0x02: /* decrease volume, AV hardware */ in abtn_receive_packet()
132 devctl_notify("PMU", "keys", "volume", "notify=down"); in abtn_receive_packet()
134 case 0x06: /* increase volume */ in abtn_receive_packet()
135 case 0x03: /* increase volume, AV hardware */ in abtn_receive_packet()
136 devctl_notify("PMU", "keys", "volume", "notify=up"); in abtn_receive_packet()
142 devctl_notify("PMU", "keys", "eject", NULL); in abtn_receive_packet()