/drivers/staging/rtl8712/ |
D | rtl8712_led.c | 55 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/ |
D | power_supply_leds.c | 36 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/ |
D | rt2x00leds.c | 75 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/ |
D | hid-steelseries.c | 152 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()
|
D | hid-picolcd_leds.c | 77 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/ |
D | leds-bcm6358.c | 78 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()
|
D | led-core.c | 35 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()
|
D | leds-bcm6328.c | 127 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()
|
D | leds-powernv.c | 152 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()
|
D | leds-wm8350.c | 152 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()
|
D | leds-versatile.c | 47 if (b != LED_OFF) in versatile_led_set() 60 return (reg & led->mask) ? LED_FULL : LED_OFF; in versatile_led_get()
|
D | leds-bd2802.c | 539 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()
|
D | leds-wm831x-status.c | 62 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()
|
D | leds-clevo-mail.c | 99 if (value == LED_OFF) in clevo_mail_led_set() 212 clevo_mail_led_set(NULL, LED_OFF); in clevo_mail_led_exit()
|
D | leds-dac124s085.c | 81 led->brightness = LED_OFF; in dac124s085_probe() 88 led->ldev.brightness = LED_OFF; in dac124s085_probe()
|
D | leds-gpio.c | 56 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()
|
D | leds-da903x.c | 117 led->cdev.brightness = LED_OFF; in da903x_led_probe() 122 led->new_brightness = LED_OFF; in da903x_led_probe()
|
D | leds-adp5520.c | 139 led_dat->cdev.brightness = LED_OFF; in adp5520_led_probe() 149 led_dat->new_brightness = LED_OFF; in adp5520_led_probe()
|
D | leds-da9052.c | 137 led[i].cdev.brightness = LED_OFF; in da9052_led_probe() 139 led[i].brightness = LED_OFF; in da9052_led_probe()
|
/drivers/net/can/ |
D | led.c | 36 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/ |
D | ledtrig-camera.c | 26 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()
|
D | ledtrig-backlight.c | 54 led_set_brightness_async(led, LED_OFF); in fb_notifier_callback() 92 led_set_brightness_async(led, LED_OFF); in bl_trig_invert_store()
|
D | ledtrig-heartbeat.c | 37 unsigned long brightness = LED_OFF; in led_heartbeat_function() 41 led_set_brightness(led_cdev, LED_OFF); in led_heartbeat_function()
|
D | ledtrig-oneshot.c | 68 led_set_brightness_async(led_cdev, LED_OFF); in led_invert_store() 180 led_set_brightness(led_cdev, LED_OFF); in oneshot_trig_deactivate()
|
D | ledtrig-transient.c | 86 (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()
|