Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/
H A Dclassmate-laptop.c43 struct input_dev *inputdev; in cmpc_add_acpi_notify_device() local
46 inputdev = input_allocate_device(); in cmpc_add_acpi_notify_device()
47 if (!inputdev) in cmpc_add_acpi_notify_device()
49 inputdev->name = name; in cmpc_add_acpi_notify_device()
50 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
51 idev_init(inputdev); in cmpc_add_acpi_notify_device()
52 error = input_register_device(inputdev); in cmpc_add_acpi_notify_device()
54 input_free_device(inputdev); in cmpc_add_acpi_notify_device()
57 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
63 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device() local
[all …]
H A Dideapad-laptop.c161 struct input_dev *inputdev; member
1306 struct input_dev *inputdev; in ideapad_input_init() local
1309 inputdev = input_allocate_device(); in ideapad_input_init()
1310 if (!inputdev) in ideapad_input_init()
1313 inputdev->name = "Ideapad extra buttons"; in ideapad_input_init()
1314 inputdev->phys = "ideapad/input0"; in ideapad_input_init()
1315 inputdev->id.bustype = BUS_HOST; in ideapad_input_init()
1316 inputdev->dev.parent = &priv->platform_device->dev; in ideapad_input_init()
1318 err = sparse_keymap_setup(inputdev, ideapad_keymap, NULL); in ideapad_input_init()
1325 err = input_register_device(inputdev); in ideapad_input_init()
[all …]
H A Deeepc-laptop.c163 struct input_dev *inputdev; member
1180 eeepc->inputdev = input; in eeepc_input_init()
1190 if (eeepc->inputdev) in eeepc_input_exit()
1191 input_unregister_device(eeepc->inputdev); in eeepc_input_exit()
1192 eeepc->inputdev = NULL; in eeepc_input_exit()
1200 if (!eeepc->inputdev) in eeepc_input_notify()
1202 if (!sparse_keymap_report_event(eeepc->inputdev, event, 1, true)) in eeepc_input_notify()
H A Dasus-wmi.c246 struct input_dev *inputdev; member
599 input_report_switch(asus->inputdev, SW_TABLET_MODE, in asus_wmi_tablet_sw_report()
601 input_sync(asus->inputdev); in asus_wmi_tablet_sw_report()
611 input_set_capability(asus->inputdev, EV_SW, SW_TABLET_MODE); in asus_wmi_tablet_sw_init()
627 asus->inputdev = input_allocate_device(); in asus_wmi_input_init()
628 if (!asus->inputdev) in asus_wmi_input_init()
631 asus->inputdev->name = asus->driver->input_name; in asus_wmi_input_init()
632 asus->inputdev->phys = asus->driver->input_phys; in asus_wmi_input_init()
633 asus->inputdev->id.bustype = BUS_HOST; in asus_wmi_input_init()
634 asus->inputdev->dev.parent = dev; in asus_wmi_input_init()
[all …]
H A Dasus-laptop.c243 struct input_dev *inputdev; member
1468 if (!asus->inputdev) in asus_input_notify()
1470 if (!sparse_keymap_report_event(asus->inputdev, event, 1, true)) in asus_input_notify()
1499 asus->inputdev = input; in asus_input_init()
1509 if (asus->inputdev) in asus_input_exit()
1510 input_unregister_device(asus->inputdev); in asus_input_exit()
1511 asus->inputdev = NULL; in asus_input_exit()
/linux/drivers/input/tablet/
H A 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 …]
/linux/drivers/media/rc/
H A 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()