Lines Matching refs:input_dev
96 static int snd_hda_beep_event(struct input_dev *dev, unsigned int type,
211 struct input_dev *input_dev;
235 input_dev = input_allocate_device();
236 if (!input_dev) {
242 input_dev->name = "HDA Digital PCBeep";
243 input_dev->phys = beep->phys;
244 input_dev->id.bustype = BUS_PCI;
245 input_dev->dev.parent = &codec->card->card_dev;
247 input_dev->id.vendor = codec->core.vendor_id >> 16;
248 input_dev->id.product = codec->core.vendor_id & 0xffff;
249 input_dev->id.version = 0x01;
251 input_dev->evbit[0] = BIT_MASK(EV_SND);
252 input_dev->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE);
253 input_dev->event = snd_hda_beep_event;
254 input_set_drvdata(input_dev, beep);
256 beep->dev = input_dev;