Home
last modified time | relevance | path

Searched refs:EV_SND (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/drivers/input/misc/
Dpcspkr.c29 if (type != EV_SND) in pcspkr_event()
83 pcspkr_dev->evbit[0] = BIT_MASK(EV_SND); in pcspkr_probe()
104 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_remove()
111 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_suspend()
119 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_shutdown()
Dm68kspkr.c29 if (type != EV_SND) in m68kspkr_event()
63 input_dev->evbit[0] = BIT_MASK(EV_SND); in m68kspkr_probe()
84 m68kspkr_event(NULL, EV_SND, SND_BELL, 0); in m68kspkr_remove()
92 m68kspkr_event(NULL, EV_SND, SND_BELL, 0); in m68kspkr_shutdown()
Dsparcspkr.c74 if (type != EV_SND) in bbc_spkr_event()
112 if (type != EV_SND) in grover_spkr_event()
162 input_dev->evbit[0] = BIT_MASK(EV_SND); in sparcspkr_probe()
184 state->event(input_dev, EV_SND, SND_BELL, 0); in sparcspkr_shutdown()
241 state->event(input_dev, EV_SND, SND_BELL, 0); in bbc_remove()
320 state->event(input_dev, EV_SND, SND_BELL, 0); in grover_remove()
Dgpio-beeper.c40 if (type != EV_SND || code != SND_BELL) in gpio_beeper_event()
88 input_set_capability(input, EV_SND, SND_BELL); in gpio_beeper_probe()
Dpwm-beeper.c85 if (type != EV_SND || value < 0) in pwm_beeper_event()
178 input_set_capability(beeper->input, EV_SND, SND_TONE); in pwm_beeper_probe()
179 input_set_capability(beeper->input, EV_SND, SND_BELL); in pwm_beeper_probe()
Dcm109.c616 if (type != EV_SND) in cm109_input_ev()
795 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_SND); in cm109_usb_probe()
/linux-6.6.21/sound/drivers/pcsp/
Dpcsp_input.c52 case EV_SND: in pcspkr_input_event()
93 input_dev->evbit[0] = BIT(EV_SND); in pcspkr_input_init()
/linux-6.6.21/sound/ppc/
Dbeep.c98 if (type != EV_SND) in snd_pmac_beep_event()
233 input_dev->evbit[0] = BIT_MASK(EV_SND); in snd_pmac_attach_beep()
/linux-6.6.21/drivers/input/keyboard/
Dsunkbd.c152 case EV_SND: in sunkbd_event()
305 BIT_MASK(EV_SND) | BIT_MASK(EV_REP); in sunkbd_connect()
Dlkkbd.c536 case EV_SND: in lkkbd_event()
642 __set_bit(EV_SND, input_dev->evbit); in lkkbd_connect()
Dgoldfish_events.c156 events_import_bits(edev, input_dev->sndbit, EV_SND, SND_MAX); in events_probe()
/linux-6.6.21/drivers/leds/
Dleds-pca9532.c227 if (!(type == EV_SND && (code == SND_BELL || code == SND_TONE))) in pca9532_event()
410 data->idev->evbit[0] = BIT_MASK(EV_SND); in pca9532_configure()
/linux-6.6.21/drivers/tty/vt/
Dkeyboard.c254 if (test_bit(EV_SND, dev->evbit)) { in kd_sound_helper()
256 input_inject_event(handle, EV_SND, SND_TONE, *hz); in kd_sound_helper()
261 input_inject_event(handle, EV_SND, SND_BELL, *hz ? 1 : 0); in kd_sound_helper()
1554 if (test_bit(EV_SND, dev->evbit)) in kbd_match()
1635 .evbit = { BIT_MASK(EV_SND) },
/linux-6.6.21/sound/pci/hda/
Dhda_beep.c252 input_dev->evbit[0] = BIT_MASK(EV_SND); in snd_hda_attach_beep_device()
/linux-6.6.21/drivers/input/
Devdev.c67 [EV_SND] = SND_CNT, in evdev_get_mask_cnt()
793 case EV_SND: bits = dev->sndbit; len = SND_MAX; break; in handle_eviocgbit()
1163 return evdev_handle_get_val(client, dev, EV_SND, dev->snd, in evdev_do_ioctl()
Dinput.c60 [EV_SND] = SND_MAX,
321 case EV_SND: in input_get_disposition()
1228 if (test_bit(EV_SND, dev->evbit)) in input_devices_seq_show()
1710 if (test_bit(EV_SND, dev->evbit)) in input_dev_uevent()
2139 case EV_SND: in input_set_capability()
/linux-6.6.21/drivers/hid/
Dhid-debug.c754 [EV_SND] = "Sound", [EV_REP] = "Repeat",
1060 [EV_SND] = sounds, [EV_REP] = repeats,
/linux-6.6.21/sound/soc/codecs/
Dcs42l52.c973 input_event(cs42l52->beep, EV_SND, SND_TONE, time); in beep_store()
998 cs42l52->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l52_init_beep()
Dcs42l56.c1035 input_event(cs42l56->beep, EV_SND, SND_TONE, time); in beep_store()
1060 cs42l56->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l56_init_beep()
Dwm8962.c3297 input_event(wm8962->beep, EV_SND, SND_TONE, time); in beep_store()
3322 wm8962->beep->evbit[0] = BIT_MASK(EV_SND); in wm8962_init_beep()
/linux-6.6.21/Documentation/input/
Devent-codes.rst66 * EV_SND:
307 EV_SND section in Event codes
310 EV_SND events are used for sending sound commands to simple sound output
Dinput-programming.rst328 - EV_SND - used for keyboard beeps.
340 if (type == EV_SND && code == SND_BELL) {
/linux-6.6.21/include/uapi/linux/
Dinput-event-codes.h45 #define EV_SND 0x12 macro
/linux-6.6.21/drivers/virtio/
Dvirtio_input.c299 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_SND, in virtinput_probe()
/linux-6.6.21/include/dt-bindings/input/
Dlinux-event-codes.h45 #define EV_SND 0x12 macro