Searched refs:tpd_led (Results 1 – 2 of 2) sorted by relevance
182 struct led_classdev tpd_led; member526 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_set()536 eeepc = container_of(led_cdev, struct eeepc_laptop, tpd_led); in tpd_led_get()553 eeepc->tpd_led.name = "eeepc::touchpad"; in eeepc_led_init()554 eeepc->tpd_led.brightness_set = tpd_led_set; in eeepc_led_init()556 eeepc->tpd_led.brightness_get = tpd_led_get; in eeepc_led_init()557 eeepc->tpd_led.max_brightness = 1; in eeepc_led_init()560 &eeepc->tpd_led); in eeepc_led_init()571 if (!IS_ERR_OR_NULL(eeepc->tpd_led.dev)) in eeepc_led_exit()572 led_classdev_unregister(&eeepc->tpd_led); in eeepc_led_exit()
185 struct led_classdev tpd_led; member358 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_set()373 asus = container_of(led_cdev, struct asus_wmi, tpd_led); in tpd_led_get()458 if (!IS_ERR_OR_NULL(asus->tpd_led.dev)) in asus_wmi_led_exit()459 led_classdev_unregister(&asus->tpd_led); in asus_wmi_led_exit()475 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init()476 asus->tpd_led.brightness_set = tpd_led_set; in asus_wmi_led_init()477 asus->tpd_led.brightness_get = tpd_led_get; in asus_wmi_led_init()478 asus->tpd_led.max_brightness = 1; in asus_wmi_led_init()481 &asus->tpd_led); in asus_wmi_led_init()