Home
last modified time | relevance | path

Searched refs:dfsdm (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dstm32-dfsdm-core.c20 #include "stm32-dfsdm.h"
86 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()
126 * stm32_dfsdm_start_dfsdm - start global dfsdm interfac
131 stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm) stm32_dfsdm_start_dfsdm() argument
188 stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm) stm32_dfsdm_stop_dfsdm() argument
305 struct stm32_dfsdm *dfsdm; stm32_dfsdm_probe() local
375 struct stm32_dfsdm *dfsdm = platform_get_drvdata(pdev); stm32_dfsdm_core_remove() local
389 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_suspend() local
405 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_resume() local
422 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_runtime_suspend() local
431 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_runtime_resume() local
[all...]
H A Dstm32-dfsdm-adc.c11 #include <linux/iio/adc/stm32-dfsdm-adc.h>
27 #include "stm32-dfsdm.h"
71 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
414 stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, unsigned int fl_id) stm32_dfsdm_stop_filter() argument
598 stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm, struct iio_dev *indio_dev, struct iio_chan_spec *ch) stm32_dfsdm_channel_parse_of() argument
[all...]
H A Dstm32-dfsdm.h323 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm);
324 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
H A DMakefile90 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
91 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dstm32-dfsdm-core.c23 #include "stm32-dfsdm.h"
94 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()
133 * stm32_dfsdm_start_dfsdm - start global dfsdm interfac
138 stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm) stm32_dfsdm_start_dfsdm() argument
193 stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm) stm32_dfsdm_stop_dfsdm() argument
312 struct stm32_dfsdm *dfsdm = &priv->dfsdm; stm32_dfsdm_probe_identification() local
369 struct stm32_dfsdm *dfsdm; stm32_dfsdm_probe() local
441 struct stm32_dfsdm *dfsdm = platform_get_drvdata(pdev); stm32_dfsdm_core_remove() local
455 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_suspend() local
471 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_resume() local
488 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_runtime_suspend() local
497 struct stm32_dfsdm *dfsdm = dev_get_drvdata(dev); stm32_dfsdm_core_runtime_resume() local
[all...]
H A Dstm32-dfsdm-adc.c11 #include <linux/iio/adc/stm32-dfsdm-adc.h>
28 #include "stm32-dfsdm.h"
72 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
415 stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, unsigned int fl_id) stm32_dfsdm_stop_filter() argument
598 stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm, struct iio_dev *indio_dev, struct iio_chan_spec *ch) stm32_dfsdm_channel_parse_of() argument
[all...]
H A DMakefile102 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
103 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
H A Dstm32-dfsdm.h345 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm);
346 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
/kernel/linux/linux-5.10/sound/soc/stm/
H A Dstm32_adfsdm.c18 #include <linux/iio/adc/stm32-dfsdm-adc.h>
306 {.compatible = "st,stm32h7-dfsdm-dai"},
/kernel/linux/linux-6.6/sound/soc/stm/
H A Dstm32_adfsdm.c18 #include <linux/iio/adc/stm32-dfsdm-adc.h>
322 {.compatible = "st,stm32h7-dfsdm-dai"},

Completed in 8 milliseconds