Lines Matching defs:key_dev
791 struct input_dev *key_dev = sonypi_device.input_key_dev;
820 kp.dev = key_dev;
1170 struct input_dev *key_dev;
1187 sonypi_device.input_key_dev = key_dev = input_allocate_device();
1188 if (!key_dev) {
1193 key_dev->name = "Sony Vaio Keys";
1194 key_dev->id.bustype = BUS_ISA;
1195 key_dev->id.vendor = PCI_VENDOR_ID_SONY;
1196 key_dev->dev.parent = &pdev->dev;
1199 key_dev->evbit[0] = BIT_MASK(EV_KEY);
1202 set_bit(sonypi_inputkeys[i].inputev, key_dev->keybit);
1208 error = input_register_device(key_dev);
1219 input_free_device(key_dev);