/linux/drivers/power/supply/ |
H A D | power_supply_leds.c | 106 led_trigger_event(psy->charging_trig, LED_OFF); in power_supply_update_bat_leds() 109 led_trigger_event(psy->charging_blink_full_solid_trig, LED_OFF); in power_supply_update_bat_leds() 119 led_trigger_event(psy->full_trig, LED_OFF); in power_supply_update_bat_leds() 127 led_trigger_event(psy->trig, LED_OFF); in power_supply_update_bat_leds() 128 led_trigger_event(psy->charging_trig, LED_OFF); in power_supply_update_bat_leds() 129 led_trigger_event(psy->full_trig, LED_OFF); in power_supply_update_bat_leds() 131 LED_OFF); in power_supply_update_bat_leds() 133 LED_OFF); in power_supply_update_bat_leds() 181 led_trigger_event(psy->trig, LED_OFF); in power_supply_update_gen_leds()
|
/linux/drivers/leds/ |
H A D | leds-mlxcpld.c | 134 0x21, 0xf0, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 142 0x21, 0x0f, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 150 0x22, 0xf0, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 158 0x22, 0x0f, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 166 0x20, 0x0f, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 174 0x20, 0xf0, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 186 0x21, 0xf0, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 194 0x23, 0xf0, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 202 0x23, 0x0f, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, 210 0x20, 0xf0, MLXCPLD_LED_RED_STATIC_ON, LED_OFF, [all …]
|
H A D | leds-pm8058.c | 66 return LED_OFF; in pm8058_led_get() 80 val = LED_OFF; in pm8058_led_get() 139 led->cdev.brightness = LED_OFF; in pm8058_led_probe() 140 pm8058_led_set(&led->cdev, LED_OFF); in pm8058_led_probe()
|
H A D | leds-cpcap.c | 111 if (value > LED_OFF) { in cpcap_led_set() 117 if (value == LED_OFF) { in cpcap_led_set() 126 brightness = cpcap_led_val(value, LED_OFF); in cpcap_led_set() 138 if (value == LED_OFF) { in cpcap_led_set()
|
H A D | leds-bcm6358.c | 85 if ((led->active_low && value == LED_OFF) || in bcm6358_led_set() 86 (!led->active_low && value != LED_OFF)) in bcm6358_led_set() 127 led->cdev.brightness = LED_OFF; in bcm6358_led() 130 led->cdev.brightness = LED_OFF; in bcm6358_led()
|
H A D | leds-ariel.c | 40 return LED_OFF; in ariel_led_get() 45 return LED_OFF; in ariel_led_get() 53 if (brightness == LED_OFF) in ariel_led_set()
|
H A D | leds-powernv.c | 149 return LED_OFF; in powernv_led_get() 159 return LED_OFF; in powernv_led_get() 166 return LED_OFF; in powernv_led_get() 228 powernv_led->cdev.brightness = LED_OFF; in powernv_led_create()
|
H A D | leds-wm8350.c | 153 if (led->value == LED_OFF) { in wm8350_led_set() 182 led->value = LED_OFF; in wm8350_led_shutdown() 239 led->value = LED_OFF; in wm8350_led_probe()
|
H A D | leds-pca955x.c | 61 #define PCA955X_GPIO_INPUT LED_OFF 62 #define PCA955X_GPIO_HIGH LED_OFF 257 ret = LED_OFF; in pca955x_led_get() 299 case LED_OFF: in pca955x_led_set() 532 err = pca955x_led_set(led, LED_OFF); in pca955x_probe() 576 led->brightness != LED_OFF && in pca955x_probe()
|
H A D | leds-wm831x-status.c | 55 if (led->brightness != LED_OFF) in wm831x_status_set() 74 if (value == LED_OFF) in wm831x_status_brightness_set() 253 drvdata->brightness = LED_OFF; in wm831x_status_probe()
|
H A D | leds-bd2802.c | 525 if (value == LED_OFF) { \ 560 led->cdev_led1r.brightness = LED_OFF; in bd2802_register_led_classdev() 572 led->cdev_led1g.brightness = LED_OFF; in bd2802_register_led_classdev() 584 led->cdev_led1b.brightness = LED_OFF; in bd2802_register_led_classdev() 596 led->cdev_led2r.brightness = LED_OFF; in bd2802_register_led_classdev() 608 led->cdev_led2g.brightness = LED_OFF; in bd2802_register_led_classdev() 620 led->cdev_led2b.brightness = LED_OFF; in bd2802_register_led_classdev()
|
H A D | leds-clevo-mail.c | 100 if (value == LED_OFF) in clevo_mail_led_set() 212 clevo_mail_led_set(NULL, LED_OFF); in clevo_mail_led_exit()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00leds.c | 64 unsigned int brightness = enabled ? LED_FULL : LED_OFF; in rt2x00led_led_simple() 99 led->led_dev.brightness = LED_OFF; in rt2x00leds_register_led() 182 led->led_dev.brightness_set(&led->led_dev, LED_OFF); in rt2x00leds_unregister_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() 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()
|
/linux/net/bluetooth/ |
H A D | leds.c | 25 enabled ? LED_FULL : LED_OFF); in hci_leds_update_powered() 40 led_trigger_event(bt_power_led_trigger, enabled ? LED_FULL : LED_OFF); in hci_leds_update_powered() 51 led_set_brightness(led_cdev, powered ? LED_FULL : LED_OFF); in power_activate()
|
/linux/Documentation/leds/ |
H A D | ledtrig-transient.rst | 30 trigger will be called, and LED state is changed to LED_OFF. 32 Driver suspend changes the LED state to LED_OFF and resume doesn't change 48 active, in which case LED state changes to LED_OFF. 50 During trigger unregistration, LED state gets changed to LED_OFF. 57 state, the LED state changes to LED_OFF. 97 to LED_OFF and 1 maps to LED_FULL. The specified state is 102 go back to LED_OFF. 103 If state = LED_OFF, when the timer runs out the state will 129 echo 0 > state stores desired transient state LED_OFF to be
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-camera.c | 22 enum led_brightness brt = on ? LED_FULL : LED_OFF; in ledtrig_flash_ctrl() 30 enum led_brightness brt = on ? LED_FULL : LED_OFF; in ledtrig_torch_ctrl()
|
H A D | ledtrig-backlight.c | 50 led_set_brightness_nosleep(led, LED_OFF); in fb_notifier_callback() 87 led_set_brightness_nosleep(led, LED_OFF); in bl_trig_invert_store()
|
/linux/drivers/hid/ |
H A D | hid-bigbenff.c | 318 if (value == LED_OFF) { in bigben_set_led() 345 return LED_OFF; in bigben_get_led() 350 return (bigben->led_state & BIT(n)) ? LED_ON : LED_OFF; in bigben_get_led() 353 return LED_OFF; in bigben_get_led() 440 led->brightness = (n == 0) ? LED_ON : LED_OFF; in bigben_probe()
|
H A D | hid-steelseries.c | 169 if (value == LED_OFF) in steelseries_srws1_led_all_set_brightness() 187 return LED_OFF; in steelseries_srws1_led_all_get_brightness() 190 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness() 211 if (value == LED_OFF && state) { in steelseries_srws1_led_set_brightness() 214 } else if (value != LED_OFF && !state) { in steelseries_srws1_led_set_brightness() 233 return LED_OFF; in steelseries_srws1_led_get_brightness() 242 return value ? LED_FULL : LED_OFF; in steelseries_srws1_led_get_brightness()
|
H A D | hid-picolcd_leds.c | 67 if (value == LED_OFF && state) { in picolcd_led_set_brightness() 70 } else if (value != LED_OFF && !state) { in picolcd_led_set_brightness() 93 return value ? LED_FULL : LED_OFF; in picolcd_led_get_brightness()
|
/linux/drivers/net/phy/ |
H A D | phy_led_triggers.c | 23 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_no_link() 24 led_trigger_event(&phy->led_link_trigger->trigger, LED_OFF); in phy_led_trigger_no_link() 52 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_change_speed()
|
/linux/drivers/leds/flash/ |
H A D | leds-lm3601x.c | 187 if (brightness == LED_OFF) { in lm3601x_brightness_set() 189 led_mode_val, LED_OFF); in lm3601x_brightness_set() 234 LM3601X_MODE_STROBE, LED_OFF); in lm3601x_strobe_set() 254 if (brightness == LED_OFF) { in lm3601x_flash_brightness_set() 256 LM3601X_MODE_STROBE, LED_OFF); in lm3601x_flash_brightness_set()
|
/linux/arch/arm/mach-footbridge/ |
H A D | ebsa285.c | 54 if (b == LED_OFF) in ebsa285_led_set() 66 return hw_led_state & led->mask ? LED_OFF : LED_FULL; in ebsa285_led_get()
|
/linux/drivers/leds/simple/ |
H A D | simatic-ipc-leds.c | 61 if (brightness == LED_OFF) in simatic_ipc_led_set_io() 73 return inw(SIMATIC_IPC_LED_PORT_BASE) & led->value ? LED_OFF : led_cd->max_brightness; in simatic_ipc_led_get_io()
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-led.c | 125 if (value == LED_OFF) in dell_led_set() 157 .brightness = LED_OFF,
|