Lines Matching refs:idev
23 struct input_dev *idev = acpi_driver_data(adev); in acer_wireless_notify() local
30 input_report_key(idev, KEY_RFKILL, 1); in acer_wireless_notify()
31 input_sync(idev); in acer_wireless_notify()
32 input_report_key(idev, KEY_RFKILL, 0); in acer_wireless_notify()
33 input_sync(idev); in acer_wireless_notify()
38 struct input_dev *idev; in acer_wireless_add() local
40 idev = devm_input_allocate_device(&adev->dev); in acer_wireless_add()
41 if (!idev) in acer_wireless_add()
44 adev->driver_data = idev; in acer_wireless_add()
45 idev->name = "Acer Wireless Radio Control"; in acer_wireless_add()
46 idev->phys = "acer-wireless/input0"; in acer_wireless_add()
47 idev->id.bustype = BUS_HOST; in acer_wireless_add()
48 idev->id.vendor = PCI_VENDOR_ID_AI; in acer_wireless_add()
49 idev->id.product = 0x1229; in acer_wireless_add()
50 set_bit(EV_KEY, idev->evbit); in acer_wireless_add()
51 set_bit(KEY_RFKILL, idev->keybit); in acer_wireless_add()
53 return input_register_device(idev); in acer_wireless_add()