Home
last modified time | relevance | path

Searched refs:key_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/input/keyboard/
Ddavinci_keyscan.c155 struct input_dev *key_dev; in davinci_ks_probe() local
184 key_dev = input_allocate_device(); in davinci_ks_probe()
185 if (!key_dev) { in davinci_ks_probe()
191 davinci_ks->input = key_dev; in davinci_ks_probe()
227 __set_bit(EV_REP, key_dev->evbit); in davinci_ks_probe()
230 __set_bit(EV_KEY, key_dev->evbit); in davinci_ks_probe()
236 __set_bit(davinci_ks->pdata->keymap[i], key_dev->keybit); in davinci_ks_probe()
238 key_dev->name = "davinci_keyscan"; in davinci_ks_probe()
239 key_dev->phys = "davinci_keyscan/input0"; in davinci_ks_probe()
240 key_dev->dev.parent = dev; in davinci_ks_probe()
[all …]
/Linux-v5.4/drivers/char/
Dsonypi.c777 struct input_dev *key_dev = sonypi_device.input_key_dev; in sonypi_report_input_event() local
806 kp.dev = key_dev; in sonypi_report_input_event()
1151 struct input_dev *key_dev; in sonypi_create_input_devices() local
1168 sonypi_device.input_key_dev = key_dev = input_allocate_device(); in sonypi_create_input_devices()
1169 if (!key_dev) { in sonypi_create_input_devices()
1174 key_dev->name = "Sony Vaio Keys"; in sonypi_create_input_devices()
1175 key_dev->id.bustype = BUS_ISA; in sonypi_create_input_devices()
1176 key_dev->id.vendor = PCI_VENDOR_ID_SONY; in sonypi_create_input_devices()
1177 key_dev->dev.parent = &pdev->dev; in sonypi_create_input_devices()
1180 key_dev->evbit[0] = BIT_MASK(EV_KEY); in sonypi_create_input_devices()
[all …]
/Linux-v5.4/drivers/platform/x86/
Dsony-laptop.c193 struct input_dev *key_dev; member
377 struct input_dev *key_dev = sony_laptop_input.key_dev; in sony_laptop_report_input_event() local
416 kp.dev = key_dev; in sony_laptop_report_input_event()
442 struct input_dev *key_dev; in sony_laptop_setup_input() local
463 key_dev = input_allocate_device(); in sony_laptop_setup_input()
464 if (!key_dev) { in sony_laptop_setup_input()
469 key_dev->name = "Sony Vaio Keys"; in sony_laptop_setup_input()
470 key_dev->id.bustype = BUS_ISA; in sony_laptop_setup_input()
471 key_dev->id.vendor = PCI_VENDOR_ID_SONY; in sony_laptop_setup_input()
472 key_dev->dev.parent = &acpi_device->dev; in sony_laptop_setup_input()
[all …]