Searched refs:pwm_id (Results 1 – 8 of 8) sorted by relevance
/u-boot/arch/arm/cpu/armv7/s5p-common/ |
A D | pwm.c | 15 int pwm_enable(int pwm_id) in pwm_enable() argument 26 tcon |= TCON_START(pwm_id); in pwm_enable() 33 void pwm_disable(int pwm_id) in pwm_disable() argument 70 if (pwm_id < 2) in pwm_calc_tin() 140 offset = pwm_id * 3; in pwm_config() 141 if (pwm_id < 4) { in pwm_config() 148 if (pwm_id < 4) in pwm_config() 178 if (pwm_id < 2) { in pwm_init() 193 if (pwm_id == 4) { in pwm_init() 213 offset = pwm_id * 3; in pwm_init() [all …]
|
/u-boot/drivers/video/exynos/ |
A D | exynos_pwm_bl.c | 27 pwm_config(pwm->pwm_id, 0, pwm->period); in exynos_pwm_backlight_update_status() 28 pwm_disable(pwm->pwm_id); in exynos_pwm_backlight_update_status() 30 pwm_config(pwm->pwm_id, in exynos_pwm_backlight_update_status() 32 pwm_enable(pwm->pwm_id); in exynos_pwm_backlight_update_status()
|
/u-boot/drivers/pwm/ |
A D | pwm-imx.c | 18 int pwm_init(int pwm_id, int div, int invert) in pwm_init() argument 20 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_init() 47 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() argument 49 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_config() 61 int pwm_enable(int pwm_id) in pwm_enable() argument 63 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_enable() 72 void pwm_disable(int pwm_id) in pwm_disable() argument 74 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_disable()
|
A D | pwm-imx-util.c | 18 struct pwm_regs *pwm_id_to_reg(int pwm_id) in pwm_id_to_reg() argument 20 switch (pwm_id) { in pwm_id_to_reg() 42 printf("unknown pwm_id: %d\n", pwm_id); in pwm_id_to_reg()
|
A D | pwm-imx-util.h | 12 struct pwm_regs *pwm_id_to_reg(int pwm_id);
|
/u-boot/include/ |
A D | pwm.h | 85 int pwm_init (int pwm_id, int div, int invert); 86 int pwm_config (int pwm_id, int duty_ns, int period_ns); 87 int pwm_enable (int pwm_id); 88 void pwm_disable (int pwm_id);
|
/u-boot/drivers/power/regulator/ |
A D | pwm_regulator.c | 23 int pwm_id; member 47 return pwm_set_enable(priv->pwm, priv->pwm_id, enable); in pwm_regulator_enable() 75 ret = pwm_set_invert(priv->pwm, priv->pwm_id, priv->polarity); in pwm_regulator_set_voltage() 81 ret = pwm_set_config(priv->pwm, priv->pwm_id, in pwm_regulator_set_voltage()
|
/u-boot/arch/arm/mach-exynos/include/mach/ |
A D | pwm_backlight.h | 12 int pwm_id; member
|
Completed in 9 milliseconds