Searched refs:pwm_id (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/ |
H A D | pwm.c | 15 int pwm_enable(int pwm_id) in pwm_enable() argument 22 tcon |= TCON_START(pwm_id); in pwm_enable() 29 void pwm_disable(int pwm_id) in pwm_disable() argument 36 tcon &= ~TCON_START(pwm_id); in pwm_disable() 94 offset = pwm_id * 3; in pwm_config() 95 if (pwm_id < 4) { in pwm_config() 102 if (pwm_id < 4) in pwm_config() 128 if (pwm_id < 2) { in pwm_init() 143 if (pwm_id == 4) { in pwm_init() 158 offset = pwm_id * 3; in pwm_init() [all …]
|
/openbmc/u-boot/drivers/pwm/ |
H A D | pwm-imx.c | 16 int pwm_init(int pwm_id, int div, int invert) in pwm_init() argument 18 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_init() 27 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() argument 29 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_config() 51 int pwm_enable(int pwm_id) in pwm_enable() argument 53 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_enable() 62 void pwm_disable(int pwm_id) in pwm_disable() argument 64 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_disable()
|
H 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()
|
H A D | pwm-imx-util.h | 12 struct pwm_regs *pwm_id_to_reg(int pwm_id);
|
/openbmc/u-boot/drivers/video/exynos/ |
H 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()
|
/openbmc/u-boot/include/ |
H A D | pwm.h | 83 int pwm_init (int pwm_id, int div, int invert); 84 int pwm_config (int pwm_id, int duty_ns, int period_ns); 85 int pwm_enable (int pwm_id); 86 void pwm_disable (int pwm_id);
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | pwm_regulator.c | 20 int pwm_id; member 44 return pwm_set_enable(priv->pwm, priv->pwm_id, enable); in pwm_regulator_enable() 72 ret = pwm_set_invert(priv->pwm, priv->pwm_id, priv->polarity); in pwm_regulator_set_voltage() 78 ret = pwm_set_config(priv->pwm, priv->pwm_id, in pwm_regulator_set_voltage()
|
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/ |
H A D | pwm_backlight.h | 12 int pwm_id; member
|