Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/dac/
H A Dstm32-dac.c25 #define STM32_DAC_IS_CHAN_1(ch) ((ch) & STM32_DAC_CHANNEL_1) macro
49 if (STM32_DAC_IS_CHAN_1(channel)) in stm32_dac_is_enabled()
62 u32 msk = STM32_DAC_IS_CHAN_1(ch) ? STM32_DAC_CR_EN1 : STM32_DAC_CR_EN2; in stm32_dac_set_enable_state()
117 if (STM32_DAC_IS_CHAN_1(channel)) in stm32_dac_get_value()
129 if (STM32_DAC_IS_CHAN_1(channel)) in stm32_dac_set_value()