/sound/drivers/pcsp/ |
D | pcsp_input.c | 47 static int pcspkr_input_event(struct input_dev *dev, unsigned int type, in pcspkr_input_event() 80 int pcspkr_input_init(struct input_dev **rdev, struct device *dev) in pcspkr_input_init() 84 struct input_dev *input_dev = input_allocate_device(); in pcspkr_input_init() local 85 if (!input_dev) in pcspkr_input_init() 88 input_dev->name = "PC Speaker"; in pcspkr_input_init() 89 input_dev->phys = "isa0061/input0"; in pcspkr_input_init() 90 input_dev->id.bustype = BUS_ISA; in pcspkr_input_init() 91 input_dev->id.vendor = 0x001f; in pcspkr_input_init() 92 input_dev->id.product = 0x0001; in pcspkr_input_init() 93 input_dev->id.version = 0x0100; in pcspkr_input_init() [all …]
|
D | pcsp_input.h | 10 int pcspkr_input_init(struct input_dev **rdev, struct device *dev); 11 int pcspkr_input_remove(struct input_dev *dev);
|
D | pcsp.h | 55 struct input_dev *input_dev; member
|
D | pcsp.c | 173 err = pcspkr_input_init(&pcsp_chip.input_dev, &dev->dev); in pcsp_probe() 179 pcspkr_input_remove(pcsp_chip.input_dev); in pcsp_probe() 191 pcspkr_input_remove(chip->input_dev); in pcsp_remove()
|
/sound/usb/caiaq/ |
D | input.c | 207 input_report_abs(cdev->input_dev, axis, in snd_caiaq_input_report_abs() 215 struct input_dev *input_dev = cdev->input_dev; in snd_caiaq_input_read_analog() local 242 input_sync(input_dev); in snd_caiaq_input_read_analog() 248 struct input_dev *input_dev = cdev->input_dev; in snd_caiaq_input_read_erp() local 254 input_report_abs(input_dev, ABS_X, i); in snd_caiaq_input_read_erp() 255 input_sync(input_dev); in snd_caiaq_input_read_erp() 260 input_report_abs(input_dev, ABS_HAT0X, i); in snd_caiaq_input_read_erp() 262 input_report_abs(input_dev, ABS_HAT0Y, i); in snd_caiaq_input_read_erp() 264 input_report_abs(input_dev, ABS_HAT1X, i); in snd_caiaq_input_read_erp() 266 input_report_abs(input_dev, ABS_HAT1Y, i); in snd_caiaq_input_read_erp() [all …]
|
D | device.h | 102 struct input_dev *input_dev; member
|
/sound/core/ |
D | jack.c | 47 input_unregister_device(jack->input_dev); in snd_jack_dev_free() 49 input_free_device(jack->input_dev); in snd_jack_dev_free() 65 jack->input_dev->name = jack->name; in snd_jack_dev_register() 68 if (!jack->input_dev->dev.parent) in snd_jack_dev_register() 69 jack->input_dev->dev.parent = snd_card_get_device_link(card); in snd_jack_dev_register() 81 input_set_capability(jack->input_dev, EV_KEY, jack->key[i]); in snd_jack_dev_register() 84 err = input_register_device(jack->input_dev); in snd_jack_dev_register() 121 jack->input_dev = input_allocate_device(); in snd_jack_new() 122 if (jack->input_dev == NULL) { in snd_jack_new() 127 jack->input_dev->phys = "ALSA"; in snd_jack_new() [all …]
|
/sound/pci/hda/ |
D | hda_beep.c | 104 static int snd_hda_beep_event(struct input_dev *dev, unsigned int type, in snd_hda_beep_event() 149 struct input_dev *input_dev; in snd_hda_do_attach() local 153 input_dev = input_allocate_device(); in snd_hda_do_attach() 154 if (!input_dev) { in snd_hda_do_attach() 160 input_dev->name = "HDA Digital PCBeep"; in snd_hda_do_attach() 161 input_dev->phys = beep->phys; in snd_hda_do_attach() 162 input_dev->id.bustype = BUS_PCI; in snd_hda_do_attach() 164 input_dev->id.vendor = codec->vendor_id >> 16; in snd_hda_do_attach() 165 input_dev->id.product = codec->vendor_id & 0xffff; in snd_hda_do_attach() 166 input_dev->id.version = 0x01; in snd_hda_do_attach() [all …]
|
D | hda_beep.h | 32 struct input_dev *dev;
|
/sound/ppc/ |
D | beep.c | 40 struct input_dev *dev; 99 static int snd_pmac_beep_event(struct input_dev *dev, unsigned int type, in snd_pmac_beep_event() 221 struct input_dev *input_dev; in snd_pmac_attach_beep() local 231 input_dev = input_allocate_device(); in snd_pmac_attach_beep() 232 if (! dmabuf || ! input_dev) in snd_pmac_attach_beep() 236 input_dev->name = "PowerMac Beep"; in snd_pmac_attach_beep() 237 input_dev->phys = "powermac/beep"; in snd_pmac_attach_beep() 238 input_dev->id.bustype = BUS_ADB; in snd_pmac_attach_beep() 239 input_dev->id.vendor = 0x001f; in snd_pmac_attach_beep() 240 input_dev->id.product = 0x0001; in snd_pmac_attach_beep() [all …]
|
/sound/pci/ |
D | maestro3.c | 782 struct input_dev *input_dev; member 1603 if (!chip->input_dev) in snd_m3_update_hw_volume() 1625 input_report_key(chip->input_dev, val, 1); in snd_m3_update_hw_volume() 1626 input_sync(chip->input_dev); in snd_m3_update_hw_volume() 1627 input_report_key(chip->input_dev, val, 0); in snd_m3_update_hw_volume() 1628 input_sync(chip->input_dev); in snd_m3_update_hw_volume() 2352 if (chip->input_dev) in snd_m3_free() 2353 input_unregister_device(chip->input_dev); in snd_m3_free() 2493 struct input_dev *input_dev; in snd_m3_input_register() local 2496 input_dev = input_allocate_device(); in snd_m3_input_register() [all …]
|
D | es1968.c | 556 struct input_dev *input_dev; member 1940 if (!chip->input_dev) in es1968_update_hw_volume() 1962 input_report_key(chip->input_dev, val, 1); in es1968_update_hw_volume() 1963 input_sync(chip->input_dev); in es1968_update_hw_volume() 1964 input_report_key(chip->input_dev, val, 0); in es1968_update_hw_volume() 1965 input_sync(chip->input_dev); in es1968_update_hw_volume() 2521 struct input_dev *input_dev; in snd_es1968_input_register() local 2524 input_dev = input_allocate_device(); in snd_es1968_input_register() 2525 if (!input_dev) in snd_es1968_input_register() 2531 input_dev->name = chip->card->driver; in snd_es1968_input_register() [all …]
|
/sound/soc/codecs/ |
D | cs42l52.c | 53 struct input_dev *beep; 995 static int cs42l52_beep_event(struct input_dev *dev, unsigned int type, in cs42l52_beep_event()
|
D | wm8962.c | 77 struct input_dev *beep; 3142 static int wm8962_beep_event(struct input_dev *dev, unsigned int type, in wm8962_beep_event()
|