Home
last modified time | relevance | path

Searched refs:duty_val (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/pwm/
Dpwm-iqs620a.c41 u8 duty_val; member
85 u8 duty_val = min_t(u64, duty_scale - 1, 0xff); in iqs620_pwm_apply() local
88 duty_val); in iqs620_pwm_apply()
92 iqs620_pwm->duty_val = duty_val; in iqs620_pwm_apply()
127 state->duty_cycle = DIV_ROUND_UP((iqs620_pwm->duty_val + 1) * in iqs620_pwm_get_state()
157 iqs620_pwm->duty_val); in iqs620_pwm_notifier()
217 iqs620_pwm->duty_val = val; in iqs620_pwm_probe()
/Linux-v5.10/drivers/gpu/drm/gma500/
Dtc35876x-dsi-lvds.c484 u8 duty_val; in tc35876x_brightness_control() local
490 duty_val = level * 0x63 / MDFLD_DSI_BRIGHTNESS_MAX_LEVEL; in tc35876x_brightness_control()
498 ret = intel_scu_ipc_iowrite8(PWM0DUTYCYCLE, duty_val); in tc35876x_brightness_control()