Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pwm/
Dpwm-clps711x.c51 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()
Dsysfs.c49 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()
Dpwm-bcm-kona.c220 pwm_get_period(pwm)); in kona_pwmc_enable()
Dpwm-imx.c132 period_ms = DIV_ROUND_UP(pwm_get_period(pwm), in imx_pwm_config_v2()
Dpwm-sti.c129 period_same = (period_ns == pwm_get_period(cur)); in sti_pwm_config()
Dpwm-atmel.c117 if (pwm_is_enabled(pwm) && (period_ns != pwm_get_period(pwm))) { in atmel_pwm_config()
/linux-4.4.14/drivers/regulator/
Dpwm-regulator.c59 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()
/linux-4.4.14/drivers/leds/
Dleds-pwm.c128 led_data->period = pwm_get_period(led_data->pwm); in led_pwm_add()
/linux-4.4.14/include/linux/
Dpwm.h121 static inline unsigned int pwm_get_period(const struct pwm_device *pwm) in pwm_get_period() function
/linux-4.4.14/drivers/video/backlight/
Dpwm_bl.c296 pb->period = pwm_get_period(pb->pwm); in pwm_backlight_probe()
Dlm3630a_bl.c165 unsigned int period = pwm_get_period(pchip->pwmd); in lm3630a_pwm_ctrl()
/linux-4.4.14/drivers/video/fbdev/
Dssd1307fb.c297 par->pwm_period = pwm_get_period(par->pwm); in ssd1307fb_init()