Searched refs:pwm_get_period (Results 1 – 12 of 12) sorted by relevance
51 return DIV_ROUND_CLOSEST(v * 0xf, pwm_get_period(pwm)); in clps711x_get_duty()74 if (period_ns != pwm_get_period(pwm)) in clps711x_pwm_config()
49 return sprintf(buf, "%u\n", pwm_get_period(pwm)); in period_show()90 ret = pwm_config(pwm, val, pwm_get_period(pwm)); in duty_cycle_store()
220 pwm_get_period(pwm)); in kona_pwmc_enable()
132 period_ms = DIV_ROUND_UP(pwm_get_period(pwm), in imx_pwm_config_v2()
129 period_same = (period_ns == pwm_get_period(cur)); in sti_pwm_config()
117 if (pwm_is_enabled(pwm) && (period_ns != pwm_get_period(pwm))) { in atmel_pwm_config()
59 pwm_reg_period = pwm_get_period(drvdata->pwm); in pwm_regulator_set_voltage_sel()134 unsigned int period = pwm_get_period(drvdata->pwm); in pwm_regulator_set_voltage()
128 led_data->period = pwm_get_period(led_data->pwm); in led_pwm_add()
121 static inline unsigned int pwm_get_period(const struct pwm_device *pwm) in pwm_get_period() function
296 pb->period = pwm_get_period(pb->pwm); in pwm_backlight_probe()
165 unsigned int period = pwm_get_period(pchip->pwmd); in lm3630a_pwm_ctrl()
297 par->pwm_period = pwm_get_period(par->pwm); in ssd1307fb_init()