Home
last modified time | relevance | path

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

/Linux-v5.15/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 …]
DMakefile92 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
93 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);
DKconfig970 will be called stm32-dfsdm-core.
973 tristate "STMicroelectronics STM32 dfsdm adc"
985 will be called stm32-dfsdm-adc.
/Linux-v5.15/arch/arm/boot/dts/
Dstm32mp151.dtsi907 dfsdm: dfsdm@4400d000 { label
908 compatible = "st,stm32mp1-dfsdm";
911 clock-names = "dfsdm";
917 compatible = "st,stm32-dfsdm-adc";
927 compatible = "st,stm32-dfsdm-adc";
937 compatible = "st,stm32-dfsdm-adc";
947 compatible = "st,stm32-dfsdm-adc";
957 compatible = "st,stm32-dfsdm-adc";
967 compatible = "st,stm32-dfsdm-adc";
/Linux-v5.15/
DMAINTAINERS17903 F: Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml