Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/input/misc/
Dpcspkr.c29 if (type != EV_SND) in pcspkr_event()
82 pcspkr_dev->evbit[0] = BIT_MASK(EV_SND); in pcspkr_probe()
103 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_remove()
110 pcspkr_event(NULL, EV_SND, SND_BELL, 0); in pcspkr_suspend()
118 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.c73 if (type != EV_SND) in bbc_spkr_event()
111 if (type != EV_SND) in grover_spkr_event()
161 input_dev->evbit[0] = BIT_MASK(EV_SND); in sparcspkr_probe()
183 state->event(input_dev, EV_SND, SND_BELL, 0); in sparcspkr_shutdown()
239 state->event(input_dev, EV_SND, SND_BELL, 0); in bbc_remove()
318 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()
187 input_set_capability(beeper->input, EV_SND, SND_TONE); in pwm_beeper_probe()
188 input_set_capability(beeper->input, EV_SND, SND_BELL); in pwm_beeper_probe()
Dixp4xx-beeper.c54 if (type != EV_SND) in ixp4xx_spkr_event()
108 input_dev->evbit[0] = BIT_MASK(EV_SND); in ixp4xx_spkr_probe()
Dcm109.c613 if (type != EV_SND) in cm109_input_ev()
796 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_SND); in cm109_usb_probe()
/Linux-v5.4/sound/drivers/pcsp/
Dpcsp_input.c52 case EV_SND: in pcspkr_input_event()
92 input_dev->evbit[0] = BIT(EV_SND); in pcspkr_input_init()
/Linux-v5.4/sound/ppc/
Dbeep.c98 if (type != EV_SND) in snd_pmac_beep_event()
230 input_dev->evbit[0] = BIT_MASK(EV_SND); in snd_pmac_attach_beep()
/Linux-v5.4/drivers/input/keyboard/
Dsunkbd.c154 case EV_SND: in sunkbd_event()
283 BIT_MASK(EV_SND) | BIT_MASK(EV_REP); in sunkbd_connect()
Dlkkbd.c539 case EV_SND: in lkkbd_event()
645 __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-v5.4/drivers/leds/
Dleds-pca9532.c227 if (!(type == EV_SND && (code == SND_BELL || code == SND_TONE))) in pca9532_event()
415 data->idev->evbit[0] = BIT_MASK(EV_SND); in pca9532_configure()
/Linux-v5.4/drivers/tty/vt/
Dkeyboard.c235 if (test_bit(EV_SND, dev->evbit)) { in kd_sound_helper()
237 input_inject_event(handle, EV_SND, SND_TONE, *hz); in kd_sound_helper()
242 input_inject_event(handle, EV_SND, SND_BELL, *hz ? 1 : 0); in kd_sound_helper()
1508 if (test_bit(EV_SND, dev->evbit)) in kbd_match()
1589 .evbit = { BIT_MASK(EV_SND) },
/Linux-v5.4/sound/pci/hda/
Dhda_beep.c241 input_dev->evbit[0] = BIT_MASK(EV_SND); in snd_hda_attach_beep_device()
/Linux-v5.4/drivers/hid/
Dhid-debug.c717 [EV_SND] = "Sound", [EV_REP] = "Repeat",
1002 [EV_SND] = sounds, [EV_REP] = repeats,
/Linux-v5.4/Documentation/input/
Dinput-programming.rst282 - EV_SND - used for keyboard beeps.
294 if (type == EV_SND && code == SND_BELL) {
Devent-codes.rst66 * EV_SND:
282 EV_SND section in Event codes
285 EV_SND events are used for sending sound commands to simple sound output
/Linux-v5.4/drivers/input/
Devdev.c67 [EV_SND] = SND_CNT, in evdev_get_mask_cnt()
805 case EV_SND: bits = dev->sndbit; len = SND_MAX; break; in handle_eviocgbit()
1175 return evdev_handle_get_val(client, dev, EV_SND, dev->snd, in evdev_do_ioctl()
Dinput.c336 case EV_SND: in input_get_disposition()
1188 if (test_bit(EV_SND, dev->evbit)) in input_devices_seq_show()
1635 if (test_bit(EV_SND, dev->evbit)) in input_dev_uevent()
2003 case EV_SND: in input_set_capability()
/Linux-v5.4/sound/soc/codecs/
Dcs42l52.c970 input_event(cs42l52->beep, EV_SND, SND_TONE, time); in cs42l52_beep_set()
995 cs42l52->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l52_init_beep()
Dcs42l56.c1034 input_event(cs42l56->beep, EV_SND, SND_TONE, time); in cs42l56_beep_set()
1059 cs42l56->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l56_init_beep()
/Linux-v5.4/include/uapi/linux/
Dinput-event-codes.h45 #define EV_SND 0x12 macro
/Linux-v5.4/include/dt-bindings/input/
Dlinux-event-codes.h45 #define EV_SND 0x12 macro
/Linux-v5.4/drivers/virtio/
Dvirtio_input.c282 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_SND, in virtinput_probe()

12