Home
last modified time | relevance | path

Searched refs:input_dev (Results 1 – 16 of 16) sorted by relevance

/sound/drivers/pcsp/
Dpcsp_input.c43 static int pcspkr_input_event(struct input_dev *dev, unsigned int type, in pcspkr_input_event()
76 int pcspkr_input_init(struct input_dev **rdev, struct device *dev) in pcspkr_input_init()
80 struct input_dev *input_dev = input_allocate_device(); in pcspkr_input_init() local
81 if (!input_dev) in pcspkr_input_init()
84 input_dev->name = "PC Speaker"; in pcspkr_input_init()
85 input_dev->phys = "isa0061/input0"; in pcspkr_input_init()
86 input_dev->id.bustype = BUS_ISA; in pcspkr_input_init()
87 input_dev->id.vendor = 0x001f; in pcspkr_input_init()
88 input_dev->id.product = 0x0001; in pcspkr_input_init()
89 input_dev->id.version = 0x0100; in pcspkr_input_init()
[all …]
Dpcsp_input.h11 int pcspkr_input_init(struct input_dev **rdev, struct device *dev);
12 int pcspkr_input_remove(struct input_dev *dev);
Dpcsp.c168 err = pcspkr_input_init(&pcsp_chip.input_dev, &dev->dev); in pcsp_probe()
174 pcspkr_input_remove(pcsp_chip.input_dev); in pcsp_probe()
185 pcspkr_input_remove(chip->input_dev); in pcsp_remove()
Dpcsp.h56 struct input_dev *input_dev; member
/sound/usb/caiaq/
Dinput.c194 input_report_abs(cdev->input_dev, axis, in snd_caiaq_input_report_abs()
202 struct input_dev *input_dev = cdev->input_dev; in snd_caiaq_input_read_analog() local
229 input_sync(input_dev); in snd_caiaq_input_read_analog()
235 struct input_dev *input_dev = cdev->input_dev; in snd_caiaq_input_read_erp() local
241 input_report_abs(input_dev, ABS_X, i); in snd_caiaq_input_read_erp()
242 input_sync(input_dev); in snd_caiaq_input_read_erp()
247 input_report_abs(input_dev, ABS_HAT0X, i); in snd_caiaq_input_read_erp()
249 input_report_abs(input_dev, ABS_HAT0Y, i); in snd_caiaq_input_read_erp()
251 input_report_abs(input_dev, ABS_HAT1X, i); in snd_caiaq_input_read_erp()
253 input_report_abs(input_dev, ABS_HAT1Y, i); in snd_caiaq_input_read_erp()
[all …]
Ddevice.h103 struct input_dev *input_dev; member
/sound/ppc/
Dbeep.c27 struct input_dev *dev;
86 static int snd_pmac_beep_event(struct input_dev *dev, unsigned int type, in snd_pmac_beep_event()
208 struct input_dev *input_dev; in snd_pmac_attach_beep() local
218 input_dev = input_allocate_device(); in snd_pmac_attach_beep()
219 if (! dmabuf || ! input_dev) in snd_pmac_attach_beep()
223 input_dev->name = "PowerMac Beep"; in snd_pmac_attach_beep()
224 input_dev->phys = "powermac/beep"; in snd_pmac_attach_beep()
225 input_dev->id.bustype = BUS_ADB; in snd_pmac_attach_beep()
226 input_dev->id.vendor = 0x001f; in snd_pmac_attach_beep()
227 input_dev->id.product = 0x0001; in snd_pmac_attach_beep()
[all …]
/sound/core/
Djack.c37 if (!jack->input_dev) in snd_jack_dev_disconnect()
43 input_unregister_device(jack->input_dev); in snd_jack_dev_disconnect()
45 input_free_device(jack->input_dev); in snd_jack_dev_disconnect()
46 jack->input_dev = NULL; in snd_jack_dev_disconnect()
85 if (!jack->input_dev) in snd_jack_dev_register()
88 jack->input_dev->name = jack->name; in snd_jack_dev_register()
91 if (!jack->input_dev->dev.parent) in snd_jack_dev_register()
92 jack->input_dev->dev.parent = snd_card_get_device_link(card); in snd_jack_dev_register()
104 input_set_capability(jack->input_dev, EV_KEY, jack->key[i]); in snd_jack_dev_register()
107 err = input_register_device(jack->input_dev); in snd_jack_dev_register()
[all …]
/sound/pci/hda/
Dhda_beep.c96 static int snd_hda_beep_event(struct input_dev *dev, unsigned int type, in snd_hda_beep_event()
211 struct input_dev *input_dev; in snd_hda_attach_beep_device() local
236 input_dev = input_allocate_device(); in snd_hda_attach_beep_device()
237 if (!input_dev) { in snd_hda_attach_beep_device()
243 input_dev->name = "HDA Digital PCBeep"; in snd_hda_attach_beep_device()
244 input_dev->phys = beep->phys; in snd_hda_attach_beep_device()
245 input_dev->id.bustype = BUS_PCI; in snd_hda_attach_beep_device()
246 input_dev->dev.parent = &codec->card->card_dev; in snd_hda_attach_beep_device()
248 input_dev->id.vendor = codec->core.vendor_id >> 16; in snd_hda_attach_beep_device()
249 input_dev->id.product = codec->core.vendor_id & 0xffff; in snd_hda_attach_beep_device()
[all …]
Dhda_beep.h19 struct input_dev *dev;
Dpatch_realtek.c125 struct input_dev *kb_dev;
/sound/pci/
Dmaestro3.c767 struct input_dev *input_dev; member
1588 if (!chip->input_dev) in snd_m3_update_hw_volume()
1610 input_report_key(chip->input_dev, val, 1); in snd_m3_update_hw_volume()
1611 input_sync(chip->input_dev); in snd_m3_update_hw_volume()
1612 input_report_key(chip->input_dev, val, 0); in snd_m3_update_hw_volume()
1613 input_sync(chip->input_dev); in snd_m3_update_hw_volume()
2356 if (chip->input_dev) in snd_m3_free()
2357 input_unregister_device(chip->input_dev); in snd_m3_free()
2480 struct input_dev *input_dev; in snd_m3_input_register() local
2483 input_dev = input_allocate_device(); in snd_m3_input_register()
[all …]
Des1968.c542 struct input_dev *input_dev; member
1926 if (!chip->input_dev) in es1968_update_hw_volume()
1948 input_report_key(chip->input_dev, val, 1); in es1968_update_hw_volume()
1949 input_sync(chip->input_dev); in es1968_update_hw_volume()
1950 input_report_key(chip->input_dev, val, 0); in es1968_update_hw_volume()
1951 input_sync(chip->input_dev); in es1968_update_hw_volume()
2490 struct input_dev *input_dev; in snd_es1968_input_register() local
2493 input_dev = input_allocate_device(); in snd_es1968_input_register()
2494 if (!input_dev) in snd_es1968_input_register()
2500 input_dev->name = chip->card->driver; in snd_es1968_input_register()
[all …]
/sound/soc/codecs/
Dcs42l56.c56 struct input_dev *beep;
998 static int cs42l56_beep_event(struct input_dev *dev, unsigned int type, in cs42l56_beep_event()
Dcs42l52.c49 struct input_dev *beep;
936 static int cs42l52_beep_event(struct input_dev *dev, unsigned int type, in cs42l52_beep_event()
Dwm8962.c76 struct input_dev *beep;
3244 static int wm8962_beep_event(struct input_dev *dev, unsigned int type, in wm8962_beep_event()