Home
last modified time | relevance | path

Searched refs:tpd_led (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/platform/x86/
Deeepc-laptop.c181 struct led_classdev tpd_led; member
506 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_set()
516 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_get()
533 eeepc->tpd_led.name = "eeepc::touchpad"; in eeepc_led_init()
534 eeepc->tpd_led.brightness_set = tpd_led_set; in eeepc_led_init()
536 eeepc->tpd_led.brightness_get = tpd_led_get; in eeepc_led_init()
537 eeepc->tpd_led.max_brightness = 1; in eeepc_led_init()
540 &eeepc->tpd_led); in eeepc_led_init()
551 if (!IS_ERR_OR_NULL(eeepc->tpd_led.dev)) in eeepc_led_exit()
552 led_classdev_unregister(&eeepc->tpd_led); in eeepc_led_exit()
Dasus-wmi.c218 struct led_classdev tpd_led; member
424 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_set()
439 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_get()
575 if (!IS_ERR_OR_NULL(asus->tpd_led.dev)) in asus_wmi_led_exit()
576 led_classdev_unregister(&asus->tpd_led); in asus_wmi_led_exit()
594 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init()
595 asus->tpd_led.brightness_set = tpd_led_set; in asus_wmi_led_init()
596 asus->tpd_led.brightness_get = tpd_led_get; in asus_wmi_led_init()
597 asus->tpd_led.max_brightness = 1; in asus_wmi_led_init()
600 &asus->tpd_led); in asus_wmi_led_init()