Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Deeepc-laptop.c174 struct led_classdev tpd_led; member
499 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_set()
509 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_get()
526 eeepc->tpd_led.name = "eeepc::touchpad"; in eeepc_led_init()
527 eeepc->tpd_led.brightness_set = tpd_led_set; in eeepc_led_init()
529 eeepc->tpd_led.brightness_get = tpd_led_get; in eeepc_led_init()
530 eeepc->tpd_led.max_brightness = 1; in eeepc_led_init()
533 &eeepc->tpd_led); in eeepc_led_init()
544 if (!IS_ERR_OR_NULL(eeepc->tpd_led.dev)) in eeepc_led_exit()
545 led_classdev_unregister(&eeepc->tpd_led); in eeepc_led_exit()
Dasus-wmi.c175 struct led_classdev tpd_led; member
491 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_set()
506 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_get()
675 if (!IS_ERR_OR_NULL(asus->tpd_led.dev)) in asus_wmi_led_exit()
676 led_classdev_unregister(&asus->tpd_led); in asus_wmi_led_exit()
696 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init()
697 asus->tpd_led.brightness_set = tpd_led_set; in asus_wmi_led_init()
698 asus->tpd_led.brightness_get = tpd_led_get; in asus_wmi_led_init()
699 asus->tpd_led.max_brightness = 1; in asus_wmi_led_init()
702 &asus->tpd_led); in asus_wmi_led_init()