Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/power/regulator/
H A Dstm32-vrefbuf.c21 #define STM32_VRS GENMASK(6, 4) macro
82 STM32_VRS, i << STM32_VRS_SHIFT); in stm32_vrefbuf_set_value()
95 val = readl(priv->base + STM32_VREFBUF_CSR) & STM32_VRS; in stm32_vrefbuf_get_value()
/openbmc/linux/drivers/regulator/
H A Dstm32-vrefbuf.c23 #define STM32_VRS GENMASK(6, 4) macro
125 val = (val & ~STM32_VRS) | FIELD_PREP(STM32_VRS, sel); in stm32_vrefbuf_set_voltage_sel()
145 ret = FIELD_GET(STM32_VRS, val); in stm32_vrefbuf_get_voltage_sel()