Searched refs:pwm_id (Results 1 – 9 of 9) sorted by relevance
| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/s5p-common/ |
| H A D | pwm.c | 16 int pwm_enable(int pwm_id) in pwm_enable() argument 23 tcon |= TCON_START(pwm_id); in pwm_enable() 30 void pwm_disable(int pwm_id) in pwm_disable() argument 37 tcon &= ~TCON_START(pwm_id); in pwm_disable() 42 static unsigned long pwm_calc_tin(int pwm_id, unsigned long freq) in pwm_calc_tin() argument 59 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() argument 85 tin_rate = pwm_calc_tin(pwm_id, frequency); in pwm_config() 95 offset = pwm_id * 3; in pwm_config() 96 if (pwm_id < 4) { in pwm_config() 102 tcon |= TCON_UPDATE(pwm_id); in pwm_config() [all …]
|
| /rk3399_rockchip-uboot/drivers/pwm/ |
| H A D | pwm-imx.c | 17 int pwm_init(int pwm_id, int div, int invert) in pwm_init() argument 19 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_init() 28 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() argument 30 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_config() 52 int pwm_enable(int pwm_id) in pwm_enable() argument 54 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_enable() 63 void pwm_disable(int pwm_id) in pwm_disable() argument 65 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_disable()
|
| H A D | pwm-imx-util.c | 19 struct pwm_regs *pwm_id_to_reg(int pwm_id) in pwm_id_to_reg() argument 21 switch (pwm_id) { in pwm_id_to_reg() 41 printf("unknown pwm_id: %d\n", pwm_id); in pwm_id_to_reg()
|
| H A D | pwm-imx-util.h | 13 struct pwm_regs *pwm_id_to_reg(int pwm_id);
|
| /rk3399_rockchip-uboot/drivers/video/exynos/ |
| H A D | exynos_pwm_bl.c | 28 pwm_config(pwm->pwm_id, 0, pwm->period); in exynos_pwm_backlight_update_status() 29 pwm_disable(pwm->pwm_id); in exynos_pwm_backlight_update_status() 31 pwm_config(pwm->pwm_id, in exynos_pwm_backlight_update_status() 33 pwm_enable(pwm->pwm_id); in exynos_pwm_backlight_update_status()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | pwm.h | 84 int pwm_init (int pwm_id, int div, int invert); 85 int pwm_config (int pwm_id, int duty_ns, int period_ns); 86 int pwm_enable (int pwm_id); 87 void pwm_disable (int pwm_id);
|
| /rk3399_rockchip-uboot/drivers/power/regulator/ |
| H A D | pwm_regulator.c | 24 int pwm_id; member 48 return pwm_set_enable(priv->pwm, priv->pwm_id, enable); in pwm_regulator_enable() 76 ret = pwm_set_invert(priv->pwm, priv->pwm_id, priv->polarity); in pwm_regulator_set_voltage() 82 ret = pwm_set_config(priv->pwm, priv->pwm_id, in pwm_regulator_set_voltage()
|
| /rk3399_rockchip-uboot/arch/arm/mach-exynos/include/mach/ |
| H A D | pwm_backlight.h | 13 int pwm_id; member
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | rk3399-puma.dtsi | 186 rockchip,pwm_id= <2>;
|