Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/adc/
Dstm32-dfsdm-core.c86 struct stm32_dfsdm dfsdm; /* common data exported for all instances */ member
95 static inline struct dfsdm_priv *to_stm32_dfsdm_priv(struct stm32_dfsdm *dfsdm) in to_stm32_dfsdm_priv() argument
97 return container_of(dfsdm, struct dfsdm_priv, dfsdm); in to_stm32_dfsdm_priv()
100 static int stm32_dfsdm_clk_prepare_enable(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_prepare_enable() argument
102 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_prepare_enable()
116 static void stm32_dfsdm_clk_disable_unprepare(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_disable_unprepare() argument
118 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_disable_unprepare()
130 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_start_dfsdm() argument
132 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_start_dfsdm()
144 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CHCFGR1(0), in stm32_dfsdm_start_dfsdm()
[all …]
Dstm32-dfsdm-adc.c71 struct stm32_dfsdm *dfsdm; member
316 struct stm32_dfsdm_filter *fl = &adc->dfsdm->fl_list[adc->fl_id]; in stm32_dfsdm_compute_all_osrs()
337 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_start_channel()
357 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_stop_channel()
369 static int stm32_dfsdm_chan_configure(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_chan_configure() argument
373 struct regmap *regmap = dfsdm->regmap; in stm32_dfsdm_chan_configure()
395 struct stm32_dfsdm *dfsdm = adc->dfsdm; in stm32_dfsdm_start_filter() local
399 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), in stm32_dfsdm_start_filter()
409 return regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), in stm32_dfsdm_start_filter()
414 static void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_stop_filter() argument
[all …]
DMakefile96 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
97 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
Dstm32-dfsdm.h323 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm);
324 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
DKconfig1032 will be called stm32-dfsdm-core.
1035 tristate "STMicroelectronics STM32 dfsdm adc"
1047 will be called stm32-dfsdm-adc.
/Linux-v6.1/arch/arm/boot/dts/
Dstm32mp151.dtsi962 dfsdm: dfsdm@4400d000 { label
963 compatible = "st,stm32mp1-dfsdm";
966 clock-names = "dfsdm";
972 compatible = "st,stm32-dfsdm-adc";
982 compatible = "st,stm32-dfsdm-adc";
992 compatible = "st,stm32-dfsdm-adc";
1002 compatible = "st,stm32-dfsdm-adc";
1012 compatible = "st,stm32-dfsdm-adc";
1022 compatible = "st,stm32-dfsdm-adc";
/Linux-v6.1/
DMAINTAINERS19698 F: Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml