Lines Matching refs:tpacpi_leds
5664 static struct tpacpi_led_classdev *tpacpi_leds; variable
5827 led_classdev_unregister(&tpacpi_leds[i].led_classdev); in led_exit()
5829 kfree(tpacpi_leds); in led_exit()
5838 tpacpi_leds[led].led_classdev.brightness_set_blocking = &led_sysfs_set; in tpacpi_init_led()
5839 tpacpi_leds[led].led_classdev.blink_set = &led_sysfs_blink_set; in tpacpi_init_led()
5841 tpacpi_leds[led].led_classdev.brightness_get = &led_sysfs_get; in tpacpi_init_led()
5843 tpacpi_leds[led].led_classdev.name = tpacpi_led_names[led]; in tpacpi_init_led()
5844 tpacpi_leds[led].led_classdev.flags = LED_RETAIN_AT_SHUTDOWN; in tpacpi_init_led()
5845 tpacpi_leds[led].led = led; in tpacpi_init_led()
5847 return led_classdev_register(&tpacpi_pdev->dev, &tpacpi_leds[led].led_classdev); in tpacpi_init_led()
5947 tpacpi_leds = kcalloc(TPACPI_LED_NUMLEDS, sizeof(*tpacpi_leds), in led_init()
5949 if (!tpacpi_leds) { in led_init()
5955 tpacpi_leds[i].led = -1; in led_init()
6014 if (tpacpi_leds[led].led < 0) in led_write()