Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/adc/
Dstm32-dfsdm-core.c89 atomic_t n_active_ch; /* number of current active channels */ member
137 if (atomic_inc_return(&priv->n_active_ch) == 1) { in stm32_dfsdm_start_dfsdm()
166 atomic_read(&priv->n_active_ch)); in stm32_dfsdm_start_dfsdm()
173 atomic_dec(&priv->n_active_ch); in stm32_dfsdm_start_dfsdm()
190 if (atomic_dec_and_test(&priv->n_active_ch)) { in stm32_dfsdm_stop_dfsdm()
208 atomic_read(&priv->n_active_ch)); in stm32_dfsdm_stop_dfsdm()