Home
last modified time | relevance | path

Searched refs:LED_OFF (Results 1 – 25 of 106) sorted by relevance

12345

/drivers/staging/rtl8712/
Drtl8712_led.c55 LED_OFF = 2, enumerator
95 pLed->CurrLedState = LED_OFF; in InitLed871x()
252 pLed->BlinkingLedState = LED_OFF; in SwLedBlink()
315 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
323 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
338 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
347 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
356 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
372 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
381 pLed->BlinkingLedState = LED_OFF; in SwLedBlink1()
[all …]
/drivers/power/
Dpower_supply_leds.c36 led_trigger_event(psy->charging_trig, LED_OFF); in power_supply_update_bat_leds()
44 led_trigger_event(psy->full_trig, LED_OFF); in power_supply_update_bat_leds()
49 led_trigger_event(psy->charging_full_trig, LED_OFF); in power_supply_update_bat_leds()
50 led_trigger_event(psy->charging_trig, LED_OFF); in power_supply_update_bat_leds()
51 led_trigger_event(psy->full_trig, LED_OFF); in power_supply_update_bat_leds()
53 LED_OFF); in power_supply_update_bat_leds()
126 led_trigger_event(psy->online_trig, LED_OFF); in power_supply_update_gen_leds()
/drivers/net/wireless/rt2x00/
Drt2x00leds.c75 unsigned int brightness = enabled ? LED_FULL : LED_OFF; in rt2x00led_led_simple()
110 led->led_dev.brightness = LED_OFF; in rt2x00leds_register_led()
193 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_unregister_led()
213 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_suspend_led()
214 led->led_dev.brightness = LED_OFF; in rt2x00leds_suspend_led()
232 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_resume_led()
233 led->led_dev.brightness = LED_OFF; in rt2x00leds_resume_led()
/drivers/hid/
Dhid-steelseries.c152 if (value == LED_OFF) in steelseries_srws1_led_all_set_brightness()
170 return LED_OFF; in steelseries_srws1_led_all_get_brightness()
173 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness()
194 if (value == LED_OFF && state) { in steelseries_srws1_led_set_brightness()
197 } else if (value != LED_OFF && !state) { in steelseries_srws1_led_set_brightness()
216 return LED_OFF; in steelseries_srws1_led_get_brightness()
225 return value ? LED_FULL : LED_OFF; in steelseries_srws1_led_get_brightness()
Dhid-picolcd_leds.c77 if (value == LED_OFF && state) { in picolcd_led_set_brightness()
80 } else if (value != LED_OFF && !state) { in picolcd_led_set_brightness()
103 return value ? LED_FULL : LED_OFF; in picolcd_led_get_brightness()
/drivers/leds/
Dleds-bcm6358.c78 if ((led->active_low && value == LED_OFF) || in bcm6358_led_mode()
79 (!led->active_low && value != LED_OFF)) in bcm6358_led_mode()
137 led->cdev.brightness = LED_OFF; in bcm6358_led()
139 led->cdev.brightness = LED_OFF; in bcm6358_led()
142 led->cdev.brightness = LED_OFF; in bcm6358_led()
Dled-core.c35 led_set_brightness_async(led_cdev, LED_OFF); in led_timer_function()
59 brightness = LED_OFF; in led_timer_function()
109 led_set_brightness_async(led_cdev, LED_OFF); in led_set_software_blink()
198 if (brightness == LED_OFF) in led_set_brightness()
Dleds-bcm6328.c127 if ((led->active_low && value == LED_OFF) || in bcm6328_led_set()
128 (!led->active_low && value != LED_OFF)) in bcm6328_led_set()
310 led->cdev.brightness = LED_OFF; in bcm6328_led()
312 led->cdev.brightness = LED_OFF; in bcm6328_led()
315 led->cdev.brightness = LED_OFF; in bcm6328_led()
319 (!led->active_low && led->cdev.brightness == LED_OFF)) in bcm6328_led()
Dleds-powernv.c152 return LED_OFF; in powernv_led_get()
162 return LED_OFF; in powernv_led_get()
169 return LED_OFF; in powernv_led_get()
232 powernv_led->cdev.brightness = LED_OFF; in powernv_led_create()
Dleds-wm8350.c152 if (led->value == LED_OFF) { in led_work()
196 led->value = LED_OFF; in wm8350_led_shutdown()
256 led->value = LED_OFF; in wm8350_led_probe()
Dleds-versatile.c47 if (b != LED_OFF) in versatile_led_set()
60 return (reg & led->mask) ? LED_FULL : LED_OFF; in versatile_led_get()
Dleds-bd2802.c539 if (value == LED_OFF) \
573 led->cdev_led1r.brightness = LED_OFF; in bd2802_register_led_classdev()
585 led->cdev_led1g.brightness = LED_OFF; in bd2802_register_led_classdev()
597 led->cdev_led1b.brightness = LED_OFF; in bd2802_register_led_classdev()
609 led->cdev_led2r.brightness = LED_OFF; in bd2802_register_led_classdev()
621 led->cdev_led2g.brightness = LED_OFF; in bd2802_register_led_classdev()
633 led->cdev_led2b.brightness = LED_OFF; in bd2802_register_led_classdev()
Dleds-wm831x-status.c62 if (led->brightness != LED_OFF) in wm831x_status_work()
81 if (value == LED_OFF) in wm831x_status_set()
275 drvdata->brightness = LED_OFF; in wm831x_status_probe()
Dleds-clevo-mail.c99 if (value == LED_OFF) in clevo_mail_led_set()
212 clevo_mail_led_set(NULL, LED_OFF); in clevo_mail_led_exit()
Dleds-dac124s085.c81 led->brightness = LED_OFF; in dac124s085_probe()
88 led->ldev.brightness = LED_OFF; in dac124s085_probe()
Dleds-gpio.c56 if (value == LED_OFF) in gpio_led_set()
138 led_dat->cdev.brightness = state ? LED_FULL : LED_OFF; in create_gpio_led()
302 gpio_led_set(&led->cdev, LED_OFF); in gpio_led_shutdown()
Dleds-da903x.c117 led->cdev.brightness = LED_OFF; in da903x_led_probe()
122 led->new_brightness = LED_OFF; in da903x_led_probe()
Dleds-adp5520.c139 led_dat->cdev.brightness = LED_OFF; in adp5520_led_probe()
149 led_dat->new_brightness = LED_OFF; in adp5520_led_probe()
Dleds-da9052.c137 led[i].cdev.brightness = LED_OFF; in da9052_led_probe()
139 led[i].brightness = LED_OFF; in da9052_led_probe()
/drivers/net/can/
Dled.c36 led_trigger_event(priv->tx_led_trig, LED_OFF); in can_led_event()
37 led_trigger_event(priv->rx_led_trig, LED_OFF); in can_led_event()
38 led_trigger_event(priv->rxtx_led_trig, LED_OFF); in can_led_event()
/drivers/leds/trigger/
Dledtrig-camera.c26 enum led_brightness brt = on ? LED_FULL : LED_OFF; in ledtrig_flash_ctrl()
34 enum led_brightness brt = on ? LED_FULL : LED_OFF; in ledtrig_torch_ctrl()
Dledtrig-backlight.c54 led_set_brightness_async(led, LED_OFF); in fb_notifier_callback()
92 led_set_brightness_async(led, LED_OFF); in bl_trig_invert_store()
Dledtrig-heartbeat.c37 unsigned long brightness = LED_OFF; in led_heartbeat_function()
41 led_set_brightness(led_cdev, LED_OFF); in led_heartbeat_function()
Dledtrig-oneshot.c68 led_set_brightness_async(led_cdev, LED_OFF); in led_invert_store()
180 led_set_brightness(led_cdev, LED_OFF); in oneshot_trig_deactivate()
Dledtrig-transient.c86 (transient_data->state == LED_FULL) ? LED_OFF : LED_FULL; in transient_activate_store()
150 transient_data->state = (state == 1) ? LED_FULL : LED_OFF; in transient_state_store()

12345