Searched refs:pwm_id (Results 1 – 9 of 9) sorted by relevance
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/s5p-common/ |
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() 41 static unsigned long pwm_calc_tin(int pwm_id, unsigned long freq) in pwm_calc_tin() argument 58 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() argument 84 tin_rate = pwm_calc_tin(pwm_id, frequency); in pwm_config() 94 offset = pwm_id * 3; in pwm_config() 95 if (pwm_id < 4) { in pwm_config() 101 tcon |= TCON_UPDATE(pwm_id); in pwm_config() [all …]
|
/third_party/uboot/u-boot-2020.01/drivers/pwm/ |
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() 46 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() argument 48 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_config() 60 int pwm_enable(int pwm_id) in pwm_enable() argument 62 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_enable() 71 void pwm_disable(int pwm_id) in pwm_disable() argument 73 struct pwm_regs *pwm = (struct pwm_regs *)pwm_id_to_reg(pwm_id); in pwm_disable()
|
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()
|
D | pwm-imx-util.h | 12 struct pwm_regs *pwm_id_to_reg(int pwm_id);
|
/third_party/uboot/u-boot-2020.01/drivers/video/exynos/ |
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()
|
/third_party/uboot/u-boot-2020.01/include/ |
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);
|
/third_party/uboot/u-boot-2020.01/drivers/power/regulator/ |
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()
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3518ev300/ |
D | lowlevel_init_v300.c | 239 static void set_hpm_core_volt(unsigned int hpm_core_value, unsigned int pwm_id) in set_hpm_core_volt() argument 256 writel(duty, PWM0_REG + pwm_id * PWM_REG_OFFSET + PWM_CFG1); in set_hpm_core_volt() 257 writel(0x5, PWM0_REG + pwm_id * PWM_REG_OFFSET + PWM_CTRL); in set_hpm_core_volt() 263 unsigned int pwm_id; in start_svb() local 275 pwm_id = readl(SVB_PWM_SEL) & 0xf; in start_svb() 276 set_hpm_core_volt(hpm_core, pwm_id); in start_svb()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-exynos/include/mach/ |
D | pwm_backlight.h | 12 int pwm_id; member
|