Searched refs:pwm_value (Results 1 – 6 of 6) sorted by relevance
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/ |
H A D | yosemite4-early-sys-init | 20 pwm_value=204 28 if [[ "$curr_pwm" -ge "$pwm_value" ]]; then 29 echo $pwm_value > "$pwm_node"
|
/openbmc/linux/drivers/leds/ |
H A D | leds-is31fl319x.c | 213 unsigned int pwm_value; in is31fl3190_brightness_set() local 221 ret = regmap_read(is31->regmap, IS31FL3190_PWM(i), &pwm_value); in is31fl3190_brightness_set() 222 on = ret >= 0 && pwm_value > LED_OFF; in is31fl3190_brightness_set() 267 unsigned int pwm_value; in is31fl3196_brightness_set() local 275 ret = regmap_read(is31->regmap, IS31FL3196_PWM(i), &pwm_value); in is31fl3196_brightness_set() 276 on = ret >= 0 && pwm_value > LED_OFF; in is31fl3196_brightness_set()
|
H A D | leds-lp3944.c | 136 u8 pwm_value; in lp3944_dim_set_dutycycle() local 150 pwm_value = (duty_cycle * 255) / LP3944_DUTY_CYCLE_MAX; in lp3944_dim_set_dutycycle() 152 err = lp3944_reg_write(client, pwm_reg, pwm_value); in lp3944_dim_set_dutycycle()
|
/openbmc/linux/drivers/hwmon/ |
H A D | pwm-fan.c | 54 unsigned int pwm_value; member 218 ctx->pwm_value = pwm; in __set_pwm() 330 *val = ctx->pwm_value; in pwm_fan_read() 664 return set_pwm(ctx, ctx->pwm_value); in pwm_fan_resume()
|
H A D | aquacomputer_d5next.c | 1120 int ret, pwm_value; in aqc_write() local 1159 pwm_value = aqc_pwm_to_percent(val); in aqc_write() 1160 if (pwm_value < 0) in aqc_write() 1161 return pwm_value; in aqc_write() 1168 ctrl_values[0] = pwm_value; in aqc_write() 1196 pwm_value, AQC_BE16); in aqc_write()
|
/openbmc/linux/drivers/leds/rgb/ |
H A D | leds-qcom-lpg.c | 140 u16 pwm_value; member 392 chan->pwm_value = min(val, max); in lpg_calc_duty() 451 u16 val = chan->pwm_value; in lpg_apply_pwm_value() 724 duty = div_u64(chan->pwm_value * chan->period, LPG_RESOLUTION_9BIT); in lpg_blink_set() 1036 u16 pwm_value; in lpg_pwm_get_state() local 1059 ret = regmap_bulk_read(lpg->map, chan->base + PWM_VALUE_REG, &pwm_value, sizeof(pwm_value)); in lpg_pwm_get_state() 1065 state->duty_cycle = DIV_ROUND_UP_ULL((u64)NSEC_PER_SEC * pwm_value * pre_div * (1 << m), refclk); in lpg_pwm_get_state()
|