Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/platform/x86/
Deeepc-laptop.c180 struct led_classdev tpd_led; member
505 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_set()
515 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_get()
532 eeepc->tpd_led.name = "eeepc::touchpad"; in eeepc_led_init()
533 eeepc->tpd_led.brightness_set = tpd_led_set; in eeepc_led_init()
535 eeepc->tpd_led.brightness_get = tpd_led_get; in eeepc_led_init()
536 eeepc->tpd_led.max_brightness = 1; in eeepc_led_init()
539 &eeepc->tpd_led); in eeepc_led_init()
550 if (!IS_ERR_OR_NULL(eeepc->tpd_led.dev)) in eeepc_led_exit()
551 led_classdev_unregister(&eeepc->tpd_led); in eeepc_led_exit()
Dasus-wmi.c191 struct led_classdev tpd_led; member
363 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_set()
378 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_get()
514 if (!IS_ERR_OR_NULL(asus->tpd_led.dev)) in asus_wmi_led_exit()
515 led_classdev_unregister(&asus->tpd_led); in asus_wmi_led_exit()
533 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init()
534 asus->tpd_led.brightness_set = tpd_led_set; in asus_wmi_led_init()
535 asus->tpd_led.brightness_get = tpd_led_get; in asus_wmi_led_init()
536 asus->tpd_led.max_brightness = 1; in asus_wmi_led_init()
539 &asus->tpd_led); in asus_wmi_led_init()