Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/adc/
H A Dmeson-saradc.c20 #define MESON_SAR_ADC_REG0 0x00 macro
185 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_saradc_get_fifo_count()
255 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_saradc_wait_busy_clear()
297 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine()
301 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine()
305 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine()
312 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_stop_sample_engine()
315 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_stop_sample_engine()
322 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_stop_sample_engine()
519 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_init()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dmeson_saradc.c25 #define MESON_SAR_ADC_REG0 0x00 macro
391 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_sar_adc_get_fifo_count()
418 return regmap_read_poll_timeout_atomic(priv->regmap, MESON_SAR_ADC_REG0, val, in meson_sar_adc_wait_busy_clear()
549 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_start_sample_engine()
553 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_start_sample_engine()
557 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_start_sample_engine()
566 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
569 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
576 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
872 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_init()
[all …]