Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/input/misc/
H A 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()
109 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_suspend()
117 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_shutdown()
H A 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()
90 m68kspkr_event(NULL, EV_SND, SND_BELL, 0); in m68kspkr_shutdown()
H A Dsparcspkr.c73 if (type != EV_SND) in bbc_spkr_event()
113 if (type != EV_SND) in grover_spkr_event()
166 input_dev->evbit[0] = BIT_MASK(EV_SND); in sparcspkr_probe()
188 state->event(input_dev, EV_SND, SND_BELL, 0); in sparcspkr_shutdown()
236 state->event(input_dev, EV_SND, SND_BELL, 0); in bbc_remove()
309 state->event(input_dev, EV_SND, SND_BELL, 0); in grover_remove()
H A Dqnap-mcu-input.c68 if (type != EV_SND || (code != SND_BELL && code != SND_TONE)) in qnap_mcu_input_event()
124 input_set_capability(input, EV_SND, SND_BELL); in qnap_mcu_input_probe()
125 input_set_capability(input, EV_SND, SND_TONE); in qnap_mcu_input_probe()
H A 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()
H A 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()
H A Dcm109.c607 if (type != EV_SND) in cm109_input_ev()
786 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_SND); in cm109_usb_probe()
/linux-6.15/sound/drivers/pcsp/
H A Dpcsp_input.c52 case EV_SND: in pcspkr_input_event()
93 input_dev->evbit[0] = BIT(EV_SND); in pcspkr_input_init()
/linux-6.15/sound/ppc/
H A 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.15/drivers/input/keyboard/
H A Dsunkbd.c152 case EV_SND: in sunkbd_event()
304 BIT_MASK(EV_SND) | BIT_MASK(EV_REP); in sunkbd_connect()
H A Dlkkbd.c536 case EV_SND: in lkkbd_event()
642 __set_bit(EV_SND, input_dev->evbit); in lkkbd_connect()
H A Dgoldfish_events.c156 events_import_bits(edev, input_dev->sndbit, EV_SND, SND_MAX); in events_probe()
/linux-6.15/drivers/tty/vt/
H A 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()
1552 if (test_bit(EV_SND, dev->evbit)) in kbd_match()
1633 .evbit = { BIT_MASK(EV_SND) },
/linux-6.15/drivers/leds/
H A Dleds-pca9532.c268 if (!(type == EV_SND && (code == SND_BELL || code == SND_TONE))) in pca9532_event()
454 data->idev->evbit[0] = BIT_MASK(EV_SND); in pca9532_configure()
/linux-6.15/sound/pci/hda/
H A Dhda_beep.c254 input_dev->evbit[0] = BIT_MASK(EV_SND); in snd_hda_attach_beep_device()
/linux-6.15/drivers/input/
H A Devdev.c67 [EV_SND] = SND_CNT, in evdev_get_mask_cnt()
791 case EV_SND: bits = dev->sndbit; len = SND_MAX; break; in handle_eviocgbit()
1161 return evdev_handle_get_val(client, dev, EV_SND, dev->snd, in evdev_do_ioctl()
H A Dinput.c60 [EV_SND] = SND_MAX,
287 case EV_SND: in input_get_disposition()
1155 if (test_bit(EV_SND, dev->evbit)) in input_devices_seq_show()
1710 if (test_bit(EV_SND, dev->evbit)) in input_dev_uevent()
2141 case EV_SND: in input_set_capability()
/linux-6.15/sound/soc/codecs/
H A 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()
H A 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()
/linux-6.15/Documentation/input/
H A 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
H A Dinput-programming.rst328 - EV_SND - used for keyboard beeps.
340 if (type == EV_SND && code == SND_BELL) {
/linux-6.15/drivers/hid/
H A Dhid-debug.c3146 [EV_SND] = "Sound", [EV_REP] = "Repeat",
3605 [EV_SND] = sounds, [EV_REP] = repeats,
/linux-6.15/drivers/virtio/
H A Dvirtio_input.c300 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_SND, in virtinput_probe()
/linux-6.15/include/uapi/linux/
H A Dinput-event-codes.h45 #define EV_SND 0x12 macro
/linux-6.15/include/dt-bindings/input/
H A Dlinux-event-codes.h45 #define EV_SND 0x12 macro

12