Lines Matching refs:led_dev
56 if (brightness != led->led_dev.brightness) { in rt2x00leds_led_quality()
57 led->led_dev.brightness_set(&led->led_dev, brightness); in rt2x00leds_led_quality()
58 led->led_dev.brightness = brightness; in rt2x00leds_led_quality()
69 led->led_dev.brightness_set(&led->led_dev, brightness); in rt2x00led_led_simple()
70 led->led_dev.brightness = brightness; in rt2x00led_led_simple()
98 led->led_dev.name = name; in rt2x00leds_register_led()
99 led->led_dev.brightness = LED_OFF; in rt2x00leds_register_led()
101 retval = led_classdev_register(device, &led->led_dev); in rt2x00leds_register_led()
158 if (rt2x00dev->led_radio.led_dev.blink_set) { in rt2x00leds_register()
161 rt2x00dev->led_radio.led_dev.blink_set( in rt2x00leds_register()
162 &rt2x00dev->led_radio.led_dev, &on_period, &off_period); in rt2x00leds_register()
173 led_classdev_unregister(&led->led_dev); in rt2x00leds_unregister_led()
181 if (!(led->led_dev.flags & LED_SUSPENDED)) in rt2x00leds_unregister_led()
182 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_unregister_led()
199 led_classdev_suspend(&led->led_dev); in rt2x00leds_suspend_led()
202 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_suspend_led()
203 led->led_dev.brightness = LED_OFF; in rt2x00leds_suspend_led()
218 led_classdev_resume(&led->led_dev); in rt2x00leds_resume_led()
221 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_resume_led()
222 led->led_dev.brightness = LED_OFF; in rt2x00leds_resume_led()