Home
last modified time | relevance | path

Searched refs:inputdev (Results 1 – 7 of 7) sorted by relevance

/drivers/platform/x86/
Dclassmate-laptop.c45 struct input_dev *inputdev; in cmpc_add_acpi_notify_device() local
48 inputdev = input_allocate_device(); in cmpc_add_acpi_notify_device()
49 if (!inputdev) in cmpc_add_acpi_notify_device()
51 inputdev->name = name; in cmpc_add_acpi_notify_device()
52 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
53 idev_init(inputdev); in cmpc_add_acpi_notify_device()
54 error = input_register_device(inputdev); in cmpc_add_acpi_notify_device()
56 input_free_device(inputdev); in cmpc_add_acpi_notify_device()
59 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
65 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device() local
[all …]
Dideapad-laptop.c131 struct input_dev *inputdev; member
1110 struct input_dev *inputdev; in ideapad_input_init() local
1113 inputdev = input_allocate_device(); in ideapad_input_init()
1114 if (!inputdev) in ideapad_input_init()
1117 inputdev->name = "Ideapad extra buttons"; in ideapad_input_init()
1118 inputdev->phys = "ideapad/input0"; in ideapad_input_init()
1119 inputdev->id.bustype = BUS_HOST; in ideapad_input_init()
1120 inputdev->dev.parent = &priv->platform_device->dev; in ideapad_input_init()
1122 err = sparse_keymap_setup(inputdev, ideapad_keymap, NULL); in ideapad_input_init()
1129 err = input_register_device(inputdev); in ideapad_input_init()
[all …]
Deeepc-laptop.c164 struct input_dev *inputdev; member
1181 eeepc->inputdev = input; in eeepc_input_init()
1191 if (eeepc->inputdev) in eeepc_input_exit()
1192 input_unregister_device(eeepc->inputdev); in eeepc_input_exit()
1193 eeepc->inputdev = NULL; in eeepc_input_exit()
1201 if (!eeepc->inputdev) in eeepc_input_notify()
1203 if (!sparse_keymap_report_event(eeepc->inputdev, event, 1, true)) in eeepc_input_notify()
Dasus-wmi.c213 struct input_dev *inputdev; member
526 input_report_switch(asus->inputdev, SW_TABLET_MODE, in asus_wmi_tablet_sw_report()
528 input_sync(asus->inputdev); in asus_wmi_tablet_sw_report()
538 input_set_capability(asus->inputdev, EV_SW, SW_TABLET_MODE); in asus_wmi_tablet_sw_init()
554 asus->inputdev = input_allocate_device(); in asus_wmi_input_init()
555 if (!asus->inputdev) in asus_wmi_input_init()
558 asus->inputdev->name = asus->driver->input_name; in asus_wmi_input_init()
559 asus->inputdev->phys = asus->driver->input_phys; in asus_wmi_input_init()
560 asus->inputdev->id.bustype = BUS_HOST; in asus_wmi_input_init()
561 asus->inputdev->dev.parent = dev; in asus_wmi_input_init()
[all …]
Dasus-laptop.c244 struct input_dev *inputdev; member
1469 if (!asus->inputdev) in asus_input_notify()
1471 if (!sparse_keymap_report_event(asus->inputdev, event, 1, true)) in asus_input_notify()
1500 asus->inputdev = input; in asus_input_init()
1510 if (asus->inputdev) in asus_input_exit()
1511 input_unregister_device(asus->inputdev); in asus_input_exit()
1512 asus->inputdev = NULL; in asus_input_exit()
/drivers/input/tablet/
Daiptek.c289 struct input_dev *inputdev; /* input device struct */ member
416 struct input_dev *inputdev = aiptek->inputdev; in aiptek_irq() local
475 input_report_key(inputdev, BTN_LEFT, left); in aiptek_irq()
476 input_report_key(inputdev, BTN_MIDDLE, middle); in aiptek_irq()
477 input_report_key(inputdev, BTN_RIGHT, right); in aiptek_irq()
479 input_report_abs(inputdev, ABS_MISC, in aiptek_irq()
481 input_report_rel(inputdev, REL_X, x); in aiptek_irq()
482 input_report_rel(inputdev, REL_Y, y); in aiptek_irq()
488 input_report_rel(inputdev, REL_WHEEL, in aiptek_irq()
493 input_report_key(inputdev, in aiptek_irq()
[all …]
/drivers/media/rc/
Dati_remote.c354 static int ati_remote_input_open(struct input_dev *inputdev) in ati_remote_input_open() argument
356 struct ati_remote *ati_remote = input_get_drvdata(inputdev); in ati_remote_input_open()
360 static void ati_remote_input_close(struct input_dev *inputdev) in ati_remote_input_close() argument
362 struct ati_remote *ati_remote = input_get_drvdata(inputdev); in ati_remote_input_close()