Home
last modified time | relevance | path

Searched refs:LED_FULL (Results 1 – 25 of 61) sorted by relevance

123

/drivers/power/supply/
Dpower_supply_leds.c34 led_trigger_event(psy->charging_full_trig, LED_FULL); in power_supply_update_bat_leds()
36 led_trigger_event(psy->full_trig, LED_FULL); in power_supply_update_bat_leds()
38 LED_FULL); in power_supply_update_bat_leds()
41 led_trigger_event(psy->charging_full_trig, LED_FULL); in power_supply_update_bat_leds()
42 led_trigger_event(psy->charging_trig, LED_FULL); in power_supply_update_bat_leds()
123 led_trigger_event(psy->online_trig, LED_FULL); in power_supply_update_gen_leds()
/drivers/leds/trigger/
Dledtrig-transient.c82 (transient_data->state == LED_FULL) ? LED_OFF : LED_FULL; in transient_activate_store()
126 state = (transient_data->state == LED_FULL) ? 1 : 0; in transient_state_show()
145 transient_data->state = (state == 1) ? LED_FULL : LED_OFF; in transient_state_store()
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-cpu.c83 is_active ? LED_FULL : LED_OFF); in ledtrig_cpu()
87 DIV_ROUND_UP(LED_FULL * active_cpus, total_cpus)); in ledtrig_cpu()
Dledtrig-panic.c60 led_trigger_event(trigger, state ? LED_FULL : LED_OFF); in led_panic_blink()
/drivers/pwm/
Dpwm-pca9685.c59 #define LED_FULL (1 << 4) macro
141 return value & LED_FULL; in pca9685_pwm_gpio_get()
149 unsigned int on = value ? LED_FULL : 0; in pca9685_pwm_gpio_set()
287 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_config()
314 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_config()
379 regmap_update_bits(pca->regmap, reg, LED_FULL, 0x0); in pca9685_pwm_enable()
394 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_disable()
/drivers/net/can/
Dled.c28 led_trigger_event(priv->tx_led_trig, LED_FULL); in can_led_event()
29 led_trigger_event(priv->rx_led_trig, LED_FULL); in can_led_event()
30 led_trigger_event(priv->rxtx_led_trig, LED_FULL); in can_led_event()
/drivers/platform/x86/
Dfujitsu-laptop.c590 if (brightness < LED_FULL) in logolamp_set()
607 return LED_FULL; in logolamp_get()
621 if (brightness >= LED_FULL) in kblamps_set()
636 brightness = LED_FULL; in kblamps_get()
646 if (brightness >= LED_FULL) in radio_led_set()
660 brightness = LED_FULL; in radio_led_get()
672 if (brightness >= LED_FULL) in eco_led_set()
686 brightness = LED_FULL; in eco_led_get()
/drivers/gpu/drm/nouveau/
Dnouveau_led.c48 return duty * LED_FULL / div; in nouveau_led_get_brightness()
65 duty = value * div / LED_FULL; in nouveau_led_set_brightness()
/drivers/net/phy/
Dphy_led_triggers.c50 LED_FULL); in phy_led_trigger_change_speed()
54 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed()
/drivers/leds/
Dleds-bcm6358.c119 led->cdev.brightness = LED_FULL; in bcm6358_led()
126 led->cdev.brightness = LED_FULL; in bcm6358_led()
Dleds-rb532.c31 return (get_latch_u5() & LO_ULED) ? LED_FULL : LED_OFF; in rb532_led_get()
Dleds-powernv.c164 return LED_FULL; in powernv_led_get()
229 powernv_led->cdev.max_brightness = LED_FULL; in powernv_led_create()
Dleds-cobalt-qube.c32 .brightness = LED_FULL,
Dleds-lt3593.c99 led_data->cdev.brightness = state ? LED_FULL : LED_OFF; in lt3593_led_probe()
Dleds-ss4200.c441 nasgpio_led_set_brightness(&amber->led_cdev, LED_FULL); in set_power_light_amber_noblink()
488 led->brightness = LED_FULL; in register_nasgpio_led()
Dleds-bcm6328.c304 led->cdev.brightness = LED_FULL; in bcm6328_led()
320 led->cdev.brightness = LED_FULL; in bcm6328_led()
Dleds-da903x.c69 val = (value * 0x5f / LED_FULL) & 0x7f; in da903x_led_set()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00leds.c55 brightness = ((LED_FULL / 6) * rssi) + 1; in rt2x00leds_led_quality()
64 unsigned int brightness = enabled ? LED_FULL : LED_OFF; in rt2x00led_led_simple()
/drivers/hwmon/pmbus/
Dibm-cffps.c309 brightness = LED_FULL; in ibm_cffps_led_brightness_set()
350 led_cdev->brightness = LED_FULL; in ibm_cffps_led_blink_set()
366 psu->led.max_brightness = LED_FULL; in ibm_cffps_create_led_class()
/drivers/iio/light/
Dcm3605.c240 led_trigger_event(cm3605->led, LED_FULL); in cm3605_probe()
301 led_trigger_event(cm3605->led, LED_FULL); in cm3605_pm_resume()
/drivers/hid/
Dhid-steelseries.c170 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness()
222 return value ? LED_FULL : LED_OFF; in steelseries_srws1_led_get_brightness()
Dhid-picolcd_leds.c93 return value ? LED_FULL : LED_OFF; in picolcd_led_get_brightness()
/drivers/macintosh/
Dvia-pmu-led.c60 case LED_FULL: in pmu_led_set()
/drivers/usb/core/
Dledtrig-usbport.c76 led_set_brightness(led_cdev, usbport_data->count ? LED_FULL : LED_OFF); in usbport_trig_update_count()
290 led_set_brightness(led_cdev, LED_FULL); in usbport_trig_notify()

123