Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dstm32-dfsdm-core.c95 struct stm32_dfsdm dfsdm; /* common data exported for all instances */ member
104 static inline struct dfsdm_priv *to_stm32_dfsdm_priv(struct stm32_dfsdm *dfsdm) in to_stm32_dfsdm_priv() argument
106 return container_of(dfsdm, struct dfsdm_priv, dfsdm); in to_stm32_dfsdm_priv()
109 static int stm32_dfsdm_clk_prepare_enable(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_prepare_enable() argument
111 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_prepare_enable()
125 static void stm32_dfsdm_clk_disable_unprepare(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_disable_unprepare() argument
127 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_disable_unprepare()
139 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_start_dfsdm() argument
141 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_start_dfsdm()
153 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CHCFGR1(0), in stm32_dfsdm_start_dfsdm()
[all …]
H A Dstm32-dfsdm-adc.c74 struct stm32_dfsdm *dfsdm; member
320 struct stm32_dfsdm_filter *fl = &adc->dfsdm->fl_list[adc->fl_id]; in stm32_dfsdm_compute_all_osrs()
341 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_start_channel()
361 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_stop_channel()
373 static int stm32_dfsdm_chan_configure(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_chan_configure() argument
377 struct regmap *regmap = dfsdm->regmap; in stm32_dfsdm_chan_configure()
399 struct stm32_dfsdm *dfsdm = adc->dfsdm; in stm32_dfsdm_start_filter() local
403 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), in stm32_dfsdm_start_filter()
413 return regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), in stm32_dfsdm_start_filter()
418 static void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_stop_filter() argument
[all …]
H A Dstm32-dfsdm.h345 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm);
346 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
H A DMakefile135 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
136 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
H A DKconfig1517 will be called stm32-dfsdm-core.
1520 tristate "STMicroelectronics STM32 dfsdm adc"
1533 will be called stm32-dfsdm-adc.
/linux/arch/arm/boot/dts/st/
H A Dstm32mp131.dtsi712 dfsdm: dfsdm@4400d000 { label
713 compatible = "st,stm32mp1-dfsdm";
716 clock-names = "dfsdm";
722 compatible = "st,stm32-dfsdm-adc";
732 compatible = "st,stm32-dfsdm-adc";
/linux/
H A DMAINTAINERS25065 F: Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml