Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Deeepc-laptop.c183 struct led_classdev tpd_led; member
508 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_set()
518 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_get()
535 eeepc->tpd_led.name = "eeepc::touchpad"; in eeepc_led_init()
536 eeepc->tpd_led.brightness_set = tpd_led_set; in eeepc_led_init()
538 eeepc->tpd_led.brightness_get = tpd_led_get; in eeepc_led_init()
539 eeepc->tpd_led.max_brightness = 1; in eeepc_led_init()
542 &eeepc->tpd_led); in eeepc_led_init()
553 if (!IS_ERR_OR_NULL(eeepc->tpd_led.dev)) in eeepc_led_exit()
554 led_classdev_unregister(&eeepc->tpd_led); in eeepc_led_exit()
Dasus-wmi.c234 struct led_classdev tpd_led; member
439 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_set()
454 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_get()
640 if (!IS_ERR_OR_NULL(asus->tpd_led.dev)) in asus_wmi_led_exit()
641 led_classdev_unregister(&asus->tpd_led); in asus_wmi_led_exit()
661 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init()
662 asus->tpd_led.brightness_set = tpd_led_set; in asus_wmi_led_init()
663 asus->tpd_led.brightness_get = tpd_led_get; in asus_wmi_led_init()
664 asus->tpd_led.max_brightness = 1; in asus_wmi_led_init()
667 &asus->tpd_led); in asus_wmi_led_init()