/sound/drivers/pcsp/ |
D | pcsp_input.c | 43 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 …]
|
D | pcsp_input.h | 11 int pcspkr_input_init(struct input_dev **rdev, struct device *dev); 12 int pcspkr_input_remove(struct input_dev *dev);
|
D | pcsp.c | 168 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()
|
D | pcsp.h | 56 struct input_dev *input_dev; member
|
/sound/usb/caiaq/ |
D | input.c | 194 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 …]
|
D | device.h | 103 struct input_dev *input_dev; member
|
/sound/ppc/ |
D | beep.c | 27 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/ |
D | jack.c | 37 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/ |
D | hda_beep.c | 96 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 …]
|
D | hda_beep.h | 19 struct input_dev *dev;
|
D | patch_realtek.c | 125 struct input_dev *kb_dev;
|
/sound/pci/ |
D | maestro3.c | 767 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 …]
|
D | es1968.c | 542 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/ |
D | cs42l56.c | 56 struct input_dev *beep; 998 static int cs42l56_beep_event(struct input_dev *dev, unsigned int type, in cs42l56_beep_event()
|
D | cs42l52.c | 49 struct input_dev *beep; 936 static int cs42l52_beep_event(struct input_dev *dev, unsigned int type, in cs42l52_beep_event()
|
D | wm8962.c | 76 struct input_dev *beep; 3244 static int wm8962_beep_event(struct input_dev *dev, unsigned int type, in wm8962_beep_event()
|