Home
last modified time | relevance | path

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

123456

/drivers/leds/
Dleds-mlxcpld.c134 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 …]
Dleds-bcm6358.c85 if ((led->active_low && value == LED_OFF) || in bcm6358_led_set()
86 (!led->active_low && value != LED_OFF)) in bcm6358_led_set()
128 led->cdev.brightness = LED_OFF; in bcm6358_led()
130 led->cdev.brightness = LED_OFF; in bcm6358_led()
133 led->cdev.brightness = LED_OFF; in bcm6358_led()
Dleds-pm8058.c67 return LED_OFF; in pm8058_led_get()
81 val = LED_OFF; in pm8058_led_get()
136 led->cdev.brightness = LED_OFF; in pm8058_led_probe()
137 pm8058_led_set(&led->cdev, LED_OFF); in pm8058_led_probe()
Dleds-mlxreg.c121 return LED_OFF; in mlxreg_led_get_hw()
131 return LED_OFF; in mlxreg_led_get_hw()
222 brightness = LED_OFF; in mlxreg_led_config()
225 brightness = LED_OFF; in mlxreg_led_config()
228 brightness = LED_OFF; in mlxreg_led_config()
Dleds-cpcap.c111 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()
Dleds-powernv.c149 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()
Dled-core.c67 led_set_brightness_nosleep(led_cdev, LED_OFF); in led_timer_function()
92 brightness = LED_OFF; in led_timer_function()
124 led_cdev->delayed_set_value = LED_OFF; in set_brightness_delayed()
157 led_set_brightness_nosleep(led_cdev, LED_OFF); in led_set_software_blink()
254 if (brightness == LED_OFF) { in led_set_brightness()
Dleds-wm8350.c153 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()
Dleds-bcm6328.c131 if ((led->active_low && value == LED_OFF) || in bcm6328_led_set()
132 (!led->active_low && value != LED_OFF)) in bcm6328_led_set()
322 led->cdev.brightness = LED_OFF; in bcm6328_led()
324 led->cdev.brightness = LED_OFF; in bcm6328_led()
327 led->cdev.brightness = LED_OFF; in bcm6328_led()
Dleds-lm3601x.c188 if (brightness == LED_OFF) { in lm3601x_brightness_set()
190 led_mode_val, LED_OFF); in lm3601x_brightness_set()
235 LM3601X_MODE_STROBE, LED_OFF); in lm3601x_strobe_set()
255 if (brightness == LED_OFF) { in lm3601x_flash_brightness_set()
257 LM3601X_MODE_STROBE, LED_OFF); in lm3601x_flash_brightness_set()
Dleds-bd2802.c524 if (value == LED_OFF) { \
559 led->cdev_led1r.brightness = LED_OFF; in bd2802_register_led_classdev()
571 led->cdev_led1g.brightness = LED_OFF; in bd2802_register_led_classdev()
583 led->cdev_led1b.brightness = LED_OFF; in bd2802_register_led_classdev()
595 led->cdev_led2r.brightness = LED_OFF; in bd2802_register_led_classdev()
607 led->cdev_led2g.brightness = LED_OFF; in bd2802_register_led_classdev()
619 led->cdev_led2b.brightness = LED_OFF; in bd2802_register_led_classdev()
Dleds-wm831x-status.c55 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()
Dleds-clevo-mail.c100 if (value == LED_OFF) in clevo_mail_led_set()
213 clevo_mail_led_set(NULL, LED_OFF); in clevo_mail_led_exit()
/drivers/power/supply/
Dpower_supply_leds.c35 led_trigger_event(psy->charging_trig, LED_OFF); in power_supply_update_bat_leds()
43 led_trigger_event(psy->full_trig, LED_OFF); in power_supply_update_bat_leds()
48 led_trigger_event(psy->charging_full_trig, LED_OFF); in power_supply_update_bat_leds()
49 led_trigger_event(psy->charging_trig, LED_OFF); in power_supply_update_bat_leds()
50 led_trigger_event(psy->full_trig, LED_OFF); in power_supply_update_bat_leds()
52 LED_OFF); in power_supply_update_bat_leds()
125 led_trigger_event(psy->online_trig, LED_OFF); in power_supply_update_gen_leds()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00leds.c64 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()
/drivers/hid/
Dhid-steelseries.c149 if (value == LED_OFF) in steelseries_srws1_led_all_set_brightness()
167 return LED_OFF; in steelseries_srws1_led_all_get_brightness()
170 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness()
191 if (value == LED_OFF && state) { in steelseries_srws1_led_set_brightness()
194 } else if (value != LED_OFF && !state) { in steelseries_srws1_led_set_brightness()
213 return LED_OFF; in steelseries_srws1_led_get_brightness()
222 return value ? LED_FULL : LED_OFF; in steelseries_srws1_led_get_brightness()
Dhid-bigbenff.c260 if (value == LED_OFF) { in bigben_set_led()
286 return LED_OFF; in bigben_get_led()
291 return (bigben->led_state & BIT(n)) ? LED_ON : LED_OFF; in bigben_get_led()
294 return LED_OFF; in bigben_get_led()
365 led->brightness = (n == 0) ? LED_ON : LED_OFF; in bigben_probe()
Dhid-picolcd_leds.c67 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()
/drivers/net/can/
Dled.c33 led_trigger_event(priv->tx_led_trig, LED_OFF); in can_led_event()
34 led_trigger_event(priv->rx_led_trig, LED_OFF); in can_led_event()
35 led_trigger_event(priv->rxtx_led_trig, LED_OFF); in can_led_event()
/drivers/leds/trigger/
Dledtrig-camera.c22 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()
Dledtrig-backlight.c50 led_set_brightness_nosleep(led, LED_OFF); in fb_notifier_callback()
87 led_set_brightness_nosleep(led, LED_OFF); in bl_trig_invert_store()
/drivers/net/phy/
Dphy_led_triggers.c23 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()
/drivers/platform/x86/
Dlg-laptop.c525 r = lg_wmab(WM_TLED, WM_SET, brightness > LED_OFF); in tpad_led_set()
531 return ggov(GOV_TLED) > 0 ? LED_ON : LED_OFF; in tpad_led_get()
543 if (brightness <= LED_OFF) in kbd_backlight_set()
559 return LED_OFF; in kbd_backlight_get()
563 return LED_OFF; in kbd_backlight_get()
574 val = LED_OFF; in kbd_backlight_get()
Ddell-wmi-led.c125 if (value == LED_OFF) in dell_led_set()
157 .brightness = LED_OFF,
/drivers/iio/light/
Dcm3605.c258 led_trigger_event(cm3605->led, LED_OFF); in cm3605_probe()
272 led_trigger_event(cm3605->led, LED_OFF); in cm3605_remove()
286 led_trigger_event(cm3605->led, LED_OFF); in cm3605_pm_suspend()

123456