Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/bridge/
H A Dti-sn65dsi86.c204 unsigned int pwm_refclk_freq; member
312 pdata->pwm_refclk_freq = ti_sn_bridge_refclk_lut[i]; in ti_sn_bridge_set_refclk_freq()
1477 if (state->period <= NSEC_PER_SEC / pdata->pwm_refclk_freq) { in ti_sn_pwm_apply()
1487 pdata->pwm_refclk_freq); in ti_sn_pwm_apply()
1490 pre_div = DIV64_U64_ROUND_UP(period * pdata->pwm_refclk_freq, in ti_sn_pwm_apply()
1492 scale = div64_u64(period * pdata->pwm_refclk_freq, (u64)NSEC_PER_SEC * pre_div) - 1; in ti_sn_pwm_apply()
1505 backlight = div64_u64(state->duty_cycle * pdata->pwm_refclk_freq, in ti_sn_pwm_apply()
1570 pdata->pwm_refclk_freq); in ti_sn_pwm_get_state()
1572 pdata->pwm_refclk_freq); in ti_sn_pwm_get_state()