Home
last modified time | relevance | path

Searched refs:STM32_ENVR (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/power/regulator/
H A Dstm32-vrefbuf.c25 #define STM32_ENVR BIT(0) macro
44 clrsetbits_le32(priv->base + STM32_VREFBUF_CSR, STM32_HIZ | STM32_ENVR, in stm32_vrefbuf_set_enable()
45 enable ? STM32_ENVR : STM32_HIZ); in stm32_vrefbuf_set_enable()
59 clrsetbits_le32(priv->base + STM32_VREFBUF_CSR, STM32_ENVR, in stm32_vrefbuf_set_enable()
71 return readl(priv->base + STM32_VREFBUF_CSR) & STM32_ENVR; in stm32_vrefbuf_get_enable()
/openbmc/linux/drivers/regulator/
H A Dstm32-vrefbuf.c26 #define STM32_ENVR BIT(0) macro
52 val = (val & ~STM32_HIZ) | STM32_ENVR; in stm32_vrefbuf_enable()
66 val = (val & ~STM32_ENVR) | STM32_HIZ; in stm32_vrefbuf_enable()
87 val &= ~STM32_ENVR; in stm32_vrefbuf_disable()
105 ret = readl_relaxed(priv->base + STM32_VREFBUF_CSR) & STM32_ENVR; in stm32_vrefbuf_is_enabled()