/drivers/power/supply/ |
D | power_supply_leds.c | 35 led_trigger_event(psy->charging_full_trig, LED_FULL); in power_supply_update_bat_leds() 37 led_trigger_event(psy->full_trig, LED_FULL); in power_supply_update_bat_leds() 39 LED_FULL); in power_supply_update_bat_leds() 42 led_trigger_event(psy->charging_full_trig, LED_FULL); in power_supply_update_bat_leds() 43 led_trigger_event(psy->charging_trig, LED_FULL); in power_supply_update_bat_leds() 124 led_trigger_event(psy->online_trig, LED_FULL); in power_supply_update_gen_leds()
|
/drivers/pwm/ |
D | pwm-pca9685.c | 70 #define LED_FULL (1 << 4) macro 152 return value & LED_FULL; in pca9685_pwm_gpio_get() 160 unsigned int on = value ? LED_FULL : 0; in pca9685_pwm_gpio_set() 294 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_config() 321 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_config() 386 regmap_update_bits(pca->regmap, reg, LED_FULL, 0x0); in pca9685_pwm_enable() 401 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_disable()
|
/drivers/leds/trigger/ |
D | ledtrig-transient.c | 86 (transient_data->state == LED_FULL) ? LED_OFF : LED_FULL; in transient_activate_store() 131 state = (transient_data->state == LED_FULL) ? 1 : 0; in transient_state_show() 150 transient_data->state = (state == 1) ? LED_FULL : LED_OFF; in transient_state_store()
|
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-cpu.c | 87 is_active ? LED_FULL : LED_OFF); in ledtrig_cpu() 91 DIV_ROUND_UP(LED_FULL * active_cpus, total_cpus)); in ledtrig_cpu()
|
D | ledtrig-panic.c | 64 led_trigger_event(trigger, state ? LED_FULL : LED_OFF); in led_panic_blink()
|
/drivers/net/can/ |
D | led.c | 31 led_trigger_event(priv->tx_led_trig, LED_FULL); in can_led_event() 32 led_trigger_event(priv->rx_led_trig, LED_FULL); in can_led_event() 33 led_trigger_event(priv->rxtx_led_trig, LED_FULL); in can_led_event()
|
/drivers/platform/x86/ |
D | fujitsu-laptop.c | 591 if (brightness < LED_FULL) in logolamp_set() 608 return LED_FULL; in logolamp_get() 622 if (brightness >= LED_FULL) in kblamps_set() 637 brightness = LED_FULL; in kblamps_get() 647 if (brightness >= LED_FULL) in radio_led_set() 661 brightness = LED_FULL; in radio_led_get() 673 if (brightness >= LED_FULL) in eco_led_set() 687 brightness = LED_FULL; in eco_led_get()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_led.c | 48 return duty * LED_FULL / div; in nouveau_led_get_brightness() 65 duty = value * div / LED_FULL; in nouveau_led_set_brightness()
|
/drivers/leds/ |
D | leds-bcm6358.c | 123 led->cdev.brightness = LED_FULL; in bcm6358_led() 130 led->cdev.brightness = LED_FULL; in bcm6358_led()
|
D | leds-tlc591xx.c | 122 case LED_FULL: in tlc591xx_brightness_set() 163 led->ldev.max_brightness = LED_FULL; in tlc591xx_configure()
|
D | leds-rb532.c | 30 return (get_latch_u5() & LO_ULED) ? LED_FULL : LED_OFF; in rb532_led_get()
|
D | leds-powernv.c | 168 return LED_FULL; in powernv_led_get() 233 powernv_led->cdev.max_brightness = LED_FULL; in powernv_led_create()
|
D | leds-cobalt-qube.c | 31 .brightness = LED_FULL,
|
D | leds-ss4200.c | 453 nasgpio_led_set_brightness(&amber->led_cdev, LED_FULL); in set_power_light_amber_noblink() 500 led->brightness = LED_FULL; in register_nasgpio_led()
|
D | leds-bcm6328.c | 308 led->cdev.brightness = LED_FULL; in bcm6328_led() 324 led->cdev.brightness = LED_FULL; in bcm6328_led()
|
D | leds-da903x.c | 72 val = (value * 0x5f / LED_FULL) & 0x7f; in da903x_led_set()
|
D | leds-lt3593.c | 93 led_dat->cdev.brightness = state ? LED_FULL : LED_OFF; in create_lt3593_led()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00leds.c | 66 brightness = ((LED_FULL / 6) * rssi) + 1; in rt2x00leds_led_quality() 75 unsigned int brightness = enabled ? LED_FULL : LED_OFF; in rt2x00led_led_simple()
|
/drivers/iio/light/ |
D | cm3605.c | 240 led_trigger_event(cm3605->led, LED_FULL); in cm3605_probe() 301 led_trigger_event(cm3605->led, LED_FULL); in cm3605_pm_resume()
|
/drivers/hid/ |
D | hid-steelseries.c | 173 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness() 225 return value ? LED_FULL : LED_OFF; in steelseries_srws1_led_get_brightness()
|
D | hid-picolcd_leds.c | 103 return value ? LED_FULL : LED_OFF; in picolcd_led_get_brightness()
|
/drivers/macintosh/ |
D | via-pmu-led.c | 60 case LED_FULL: in pmu_led_set()
|
/drivers/usb/core/ |
D | ledtrig-usbport.c | 79 led_set_brightness(led_cdev, usbport_data->count ? LED_FULL : LED_OFF); in usbport_trig_update_count() 292 led_set_brightness(led_cdev, LED_FULL); in usbport_trig_notify()
|
/drivers/net/phy/ |
D | phy_led_triggers.c | 50 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed()
|