Home
last modified time | relevance | path

Searched refs:STM32_LPTIM_CR (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-stm32-lp.c50 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_pwm_lp_apply()
102 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_pwm_lp_apply()
114 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, in stm32_pwm_lp_apply()
143 ret = regmap_set_bits(priv->regmap, STM32_LPTIM_CR, in stm32_pwm_lp_apply()
146 regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_pwm_lp_apply()
168 regmap_read(priv->regmap, STM32_LPTIM_CR, &val); in stm32_pwm_lp_get_state()
/openbmc/linux/drivers/clocksource/
H A Dtimer-stm32-lp.c40 regmap_write(priv->reg, STM32_LPTIM_CR, 0); in stm32_clkevent_lp_shutdown()
55 regmap_write(priv->reg, STM32_LPTIM_CR, 0); in stm32_clkevent_lp_set_timer()
59 regmap_write(priv->reg, STM32_LPTIM_CR, STM32_LPTIM_ENABLE); in stm32_clkevent_lp_set_timer()
65 regmap_write(priv->reg, STM32_LPTIM_CR, in stm32_clkevent_lp_set_timer()
68 regmap_write(priv->reg, STM32_LPTIM_CR, in stm32_clkevent_lp_set_timer()
/openbmc/linux/drivers/counter/
H A Dstm32-lptimer-cnt.c37 ret = regmap_read(priv->regmap, STM32_LPTIM_CR, &val); in stm32_lptim_is_enabled()
51 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, val); in stm32_lptim_set_enable_state()
84 regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_lptim_set_enable_state()
90 return regmap_update_bits(priv->regmap, STM32_LPTIM_CR, in stm32_lptim_set_enable_state()
/openbmc/linux/include/linux/mfd/
H A Dstm32-lptimer.h19 #define STM32_LPTIM_CR 0x10 /* Control Reg */ macro