Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/adc/
Dstm32-dfsdm-core.c94 struct stm32_dfsdm dfsdm; /* common data exported for all instances */ member
103 static inline struct dfsdm_priv *to_stm32_dfsdm_priv(struct stm32_dfsdm *dfsdm) in to_stm32_dfsdm_priv() argument
105 return container_of(dfsdm, struct dfsdm_priv, dfsdm); in to_stm32_dfsdm_priv()
108 static int stm32_dfsdm_clk_prepare_enable(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_prepare_enable() argument
110 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_prepare_enable()
124 static void stm32_dfsdm_clk_disable_unprepare(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_disable_unprepare() argument
126 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_disable_unprepare()
138 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_start_dfsdm() argument
140 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_start_dfsdm()
152 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CHCFGR1(0), in stm32_dfsdm_start_dfsdm()
[all …]
Dstm32-dfsdm-adc.c72 struct stm32_dfsdm *dfsdm; member
317 struct stm32_dfsdm_filter *fl = &adc->dfsdm->fl_list[adc->fl_id]; in stm32_dfsdm_compute_all_osrs()
338 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_start_channel()
358 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_stop_channel()
370 static int stm32_dfsdm_chan_configure(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_chan_configure() argument
374 struct regmap *regmap = dfsdm->regmap; in stm32_dfsdm_chan_configure()
396 struct stm32_dfsdm *dfsdm = adc->dfsdm; in stm32_dfsdm_start_filter() local
400 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), in stm32_dfsdm_start_filter()
410 return regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), in stm32_dfsdm_start_filter()
415 static void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_stop_filter() argument
[all …]
DMakefile102 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
103 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
Dstm32-dfsdm.h345 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm);
346 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
DKconfig1094 will be called stm32-dfsdm-core.
1097 tristate "STMicroelectronics STM32 dfsdm adc"
1109 will be called stm32-dfsdm-adc.
/Linux-v6.6/arch/arm/boot/dts/st/
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";
Dstm32mp131.dtsi671 dfsdm: dfsdm@4400d000 { label
672 compatible = "st,stm32mp1-dfsdm";
675 clock-names = "dfsdm";
681 compatible = "st,stm32-dfsdm-adc";
691 compatible = "st,stm32-dfsdm-adc";
/Linux-v6.6/
DMAINTAINERS20587 F: Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml