Home
last modified time | relevance | path

Searched full:dmic (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/sound/soc/ti/
Domap-dmic.c3 * omap-dmic.c -- OMAP ASoC DMIC DAI driver
30 #include "omap-dmic.h"
51 static inline void omap_dmic_write(struct omap_dmic *dmic, u16 reg, u32 val) in omap_dmic_write() argument
53 writel_relaxed(val, dmic->io_base + reg); in omap_dmic_write()
56 static inline int omap_dmic_read(struct omap_dmic *dmic, u16 reg) in omap_dmic_read() argument
58 return readl_relaxed(dmic->io_base + reg); in omap_dmic_read()
61 static inline void omap_dmic_start(struct omap_dmic *dmic) in omap_dmic_start() argument
63 u32 ctrl = omap_dmic_read(dmic, OMAP_DMIC_CTRL_REG); in omap_dmic_start()
66 omap_dmic_write(dmic, OMAP_DMIC_DMAENABLE_SET_REG, in omap_dmic_start()
69 omap_dmic_write(dmic, OMAP_DMIC_CTRL_REG, ctrl | dmic->ch_enabled); in omap_dmic_start()
[all …]
/kernel/linux/linux-6.6/sound/soc/ti/
Domap-dmic.c3 * omap-dmic.c -- OMAP ASoC DMIC DAI driver
30 #include "omap-dmic.h"
51 static inline void omap_dmic_write(struct omap_dmic *dmic, u16 reg, u32 val) in omap_dmic_write() argument
53 writel_relaxed(val, dmic->io_base + reg); in omap_dmic_write()
56 static inline int omap_dmic_read(struct omap_dmic *dmic, u16 reg) in omap_dmic_read() argument
58 return readl_relaxed(dmic->io_base + reg); in omap_dmic_read()
61 static inline void omap_dmic_start(struct omap_dmic *dmic) in omap_dmic_start() argument
63 u32 ctrl = omap_dmic_read(dmic, OMAP_DMIC_CTRL_REG); in omap_dmic_start()
66 omap_dmic_write(dmic, OMAP_DMIC_DMAENABLE_SET_REG, in omap_dmic_start()
69 omap_dmic_write(dmic, OMAP_DMIC_CTRL_REG, ctrl | dmic->ch_enabled); in omap_dmic_start()
[all …]
/kernel/linux/linux-6.6/sound/soc/tegra/
Dtegra210_dmic.c3 // tegra210_dmic.c - Tegra210 DMIC driver
45 struct tegra210_dmic *dmic = dev_get_drvdata(dev); in tegra210_dmic_runtime_suspend() local
47 regcache_cache_only(dmic->regmap, true); in tegra210_dmic_runtime_suspend()
48 regcache_mark_dirty(dmic->regmap); in tegra210_dmic_runtime_suspend()
50 clk_disable_unprepare(dmic->clk_dmic); in tegra210_dmic_runtime_suspend()
57 struct tegra210_dmic *dmic = dev_get_drvdata(dev); in tegra210_dmic_runtime_resume() local
60 err = clk_prepare_enable(dmic->clk_dmic); in tegra210_dmic_runtime_resume()
62 dev_err(dev, "failed to enable DMIC clock, err: %d\n", err); in tegra210_dmic_runtime_resume()
66 regcache_cache_only(dmic->regmap, false); in tegra210_dmic_runtime_resume()
67 regcache_sync(dmic->regmap); in tegra210_dmic_runtime_resume()
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra210_dmic.c3 // tegra210_dmic.c - Tegra210 DMIC driver
45 struct tegra210_dmic *dmic = dev_get_drvdata(dev); in tegra210_dmic_runtime_suspend() local
47 regcache_cache_only(dmic->regmap, true); in tegra210_dmic_runtime_suspend()
48 regcache_mark_dirty(dmic->regmap); in tegra210_dmic_runtime_suspend()
50 clk_disable_unprepare(dmic->clk_dmic); in tegra210_dmic_runtime_suspend()
57 struct tegra210_dmic *dmic = dev_get_drvdata(dev); in tegra210_dmic_runtime_resume() local
60 err = clk_prepare_enable(dmic->clk_dmic); in tegra210_dmic_runtime_resume()
62 dev_err(dev, "failed to enable DMIC clock, err: %d\n", err); in tegra210_dmic_runtime_resume()
66 regcache_cache_only(dmic->regmap, false); in tegra210_dmic_runtime_resume()
67 regcache_sync(dmic->regmap); in tegra210_dmic_runtime_resume()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Ddmic.c3 * dmic.c -- SoC audio for Generic Digital MICs
26 struct dmic { struct
29 /* Delay after DMIC mode switch */
37 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_daiops_trigger() local
41 if (dmic->modeswitch_delay) in dmic_daiops_trigger()
42 mdelay(dmic->modeswitch_delay); in dmic_daiops_trigger()
57 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_aif_event() local
61 if (dmic->gpio_en) in dmic_aif_event()
62 gpiod_set_value_cansleep(dmic->gpio_en, 1); in dmic_aif_event()
64 if (dmic->wakeup_delay) in dmic_aif_event()
[all …]
Dlpass-tx-macro.c743 unsigned int val, dmic; in tx_macro_put_dec_enum() local
783 if (widget->shift) { /* MSM DMIC */ in tx_macro_put_dec_enum()
792 dmic = TX_ADC_TO_DMIC(val); in tx_macro_put_dec_enum()
793 dmic_clk_reg = CDC_TX_TOP_CSR_SWR_DMICn_CTL(dmic); in tx_macro_put_dec_enum()
862 u16 adc_mux_reg, adc_reg, adc_n, dmic; in tx_macro_enable_dec() local
880 dmic = TX_ADC_TO_DMIC(adc_n); in tx_macro_enable_dec()
881 dmic_clk_reg = CDC_TX_TOP_CSR_SWR_DMICn_CTL(dmic); in tx_macro_enable_dec()
1439 SND_SOC_DAPM_MUX("TX DMIC MUX0", SND_SOC_NOPM, 4, 0, &tx_dmic0_mux),
1440 SND_SOC_DAPM_MUX("TX DMIC MUX1", SND_SOC_NOPM, 4, 0, &tx_dmic1_mux),
1441 SND_SOC_DAPM_MUX("TX DMIC MUX2", SND_SOC_NOPM, 4, 0, &tx_dmic2_mux),
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Ddmic.c3 * dmic.c -- SoC audio for Generic Digital MICs
26 struct dmic { struct
29 /* Delay after DMIC mode switch */
37 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_daiops_trigger() argument
41 if (dmic->modeswitch_delay) in dmic_daiops_trigger()
42 mdelay(dmic->modeswitch_delay); in dmic_daiops_trigger()
57 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_aif_event() local
61 if (dmic->gpio_en) in dmic_aif_event()
62 gpiod_set_value_cansleep(dmic->gpio_en, 1); in dmic_aif_event()
64 if (dmic->wakeup_delay) in dmic_aif_event()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dnvidia,tegra210-dmic.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml#
7 title: Tegra210 DMIC Controller
10 The Digital MIC (DMIC) Controller is used to interface with Pulse
12 Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM
24 pattern: "^dmic@[0-9a-f]*$"
28 - const: nvidia,tegra210-dmic
31 - nvidia,tegra234-dmic
32 - nvidia,tegra194-dmic
33 - nvidia,tegra186-dmic
34 - const: nvidia,tegra210-dmic
[all …]
Dnvidia,tegra-audio-rt5677.yaml50 - DMIC L1
51 - DMIC L2
52 - DMIC L3
53 - DMIC L4
54 - DMIC R1
55 - DMIC R2
56 - DMIC R3
57 - DMIC R4
84 "DMIC L1", "Internal Mic 1",
85 "DMIC R1", "Internal Mic 1",
[all …]
Dda7213.txt17 - dlg,dmic-data-sel : DMIC channel select based on clock edge.
19 - dlg,dmic-samplephase : When to sample audio from DMIC.
21 - dlg,dmic-clkrate : DMIC clock frequency (Hz).
42 dlg,dmic-data-sel = "lrise_rfall";
43 dlg,dmic-samplephase = "between_clkedge";
44 dlg,dmic-clkrate = <3000000>;
Ddmic-codec.yaml4 $id: http://devicetree.org/schemas/sound/dmic-codec.yaml#
7 title: Generic PDM Digital microphone (DMIC) codec
17 const: dmic-codec
23 description: GPIO specifier for DMIC to control start and stop
34 description: Delay (in ms) to complete DMIC mode switch
37 description: Delay (in ms) after enabling the DMIC
48 dmic {
49 compatible = "dmic-codec";
Domap-dmic.txt4 - compatible: "ti,omap4-dmic"
8 - interrupts: Interrupt number for DMIC
9 - ti,hwmods: Name of the hwmod associated with OMAP dmic IP
13 dmic: dmic@4012e000 {
14 compatible = "ti,omap4-dmic";
19 ti,hwmods = "dmic";
Dallwinner,sun50i-h6-dmic.yaml4 $id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
7 title: Allwinner H6 DMIC
20 - allwinner,sun20i-d1-dmic
21 - const: allwinner,sun50i-h6-dmic
22 - const: allwinner,sun50i-h6-dmic
75 dmic: dmic@5095000 {
77 compatible = "allwinner,sun50i-h6-dmic";
Drockchip,rk3399-gru-sound.txt10 - dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready.
11 If this option is specified, which means it's required dmic need
12 delay for DMIC to ready so that rt5514 can avoid recording before
13 DMIC send valid data
21 dmic-wakeup-delay-ms = <20>;
Drt5682.txt56 - realtek,dmic-clk-rate-hz : Set the clock rate (hz) for the requirement of
57 the particular DMIC.
59 - realtek,dmic-delay-ms : Set the delay time (ms) for the requirement of
60 the particular DMIC.
62 - realtek,dmic-clk-driving-high : Set the high driving of the DMIC clock out.
68 * DMIC L1
69 * DMIC R1
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra210-dmic.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml#
7 title: Tegra210 DMIC Controller Device Tree Bindings
10 The Digital MIC (DMIC) Controller is used to interface with Pulse
12 Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM
21 pattern: "^dmic@[0-9a-f]*$"
25 - const: nvidia,tegra210-dmic
28 - nvidia,tegra194-dmic
29 - nvidia,tegra186-dmic
30 - const: nvidia,tegra210-dmic
39 const: dmic
[all …]
Dda7213.txt17 - dlg,dmic-data-sel : DMIC channel select based on clock edge.
19 - dlg,dmic-samplephase : When to sample audio from DMIC.
21 - dlg,dmic-clkrate : DMIC clock frequency (Hz).
42 dlg,dmic-data-sel = "lrise_rfall";
43 dlg,dmic-samplephase = "between_clkedge";
44 dlg,dmic-clkrate = <3000000>;
Domap-dmic.txt4 - compatible: "ti,omap4-dmic"
8 - interrupts: Interrupt number for DMIC
9 - ti,hwmods: Name of the hwmod associated with OMAP dmic IP
13 dmic: dmic@4012e000 {
14 compatible = "ti,omap4-dmic";
19 ti,hwmods = "dmic";
Ddmic.txt1 Device-Tree bindings for Digital microphone (DMIC) codec
6 - compatible: should be "dmic-codec".
9 - dmicen-gpios: GPIO specifier for dmic to control start and stop
11 - wakeup-delay-ms: Delay (in ms) after enabling the DMIC
12 - modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch
16 dmic_codec: dmic@0 {
17 compatible = "dmic-codec";
Drockchip,rk3399-gru-sound.txt10 - dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready.
11 If this option is specified, which means it's required dmic need
12 delay for DMIC to ready so that rt5514 can avoid recording before
13 DMIC send valid data
21 dmic-wakeup-delay-ms = <20>;
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dbdw-rt5650.c30 SND_SOC_DAPM_MIC("DMIC Pair1", NULL),
31 SND_SOC_DAPM_MIC("DMIC Pair2", NULL),
46 * DMIC Pair1 are the two DMICs connected on the DMICN1 connector.
47 * DMIC Pair2 are the two DMICs connected on the DMICN2 connector.
48 * Facing the camera, DMIC Pair1 are on the left side, DMIC Pair2
51 {"DMIC L1", NULL, "DMIC Pair1"},
52 {"DMIC R1", NULL, "DMIC Pair1"},
53 {"DMIC L2", NULL, "DMIC Pair2"},
54 {"DMIC R2", NULL, "DMIC Pair2"},
65 SOC_DAPM_PIN_SWITCH("DMIC Pair1"),
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dbdw-rt5650.c30 SND_SOC_DAPM_MIC("DMIC Pair1", NULL),
31 SND_SOC_DAPM_MIC("DMIC Pair2", NULL),
46 * DMIC Pair1 are the two DMICs connected on the DMICN1 connector.
47 * DMIC Pair2 are the two DMICs connected on the DMICN2 connector.
48 * Facing the camera, DMIC Pair1 are on the left side, DMIC Pair2
51 {"DMIC L1", NULL, "DMIC Pair1"},
52 {"DMIC R1", NULL, "DMIC Pair1"},
53 {"DMIC L2", NULL, "DMIC Pair2"},
54 {"DMIC R2", NULL, "DMIC Pair2"},
65 SOC_DAPM_PIN_SWITCH("DMIC Pair1"),
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/
Ddmic.c14 SND_SOC_DAILINK_DEF(dmic_pin, DAILINK_COMP_ARRAY(COMP_CPU("DMIC Pin")));
15 SND_SOC_DAILINK_DEF(dmic_wov_pin, DAILINK_COMP_ARRAY(COMP_CPU("DMIC WoV Pin")));
16 SND_SOC_DAILINK_DEF(dmic_codec, DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec", "dmic-hifi")));
23 .name = "DMIC",
31 .name = "DMIC WoV",
42 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
46 {"DMic", NULL, "SoC DMIC"},
/kernel/linux/linux-6.6/sound/soc/amd/acp/
Dacp-sof-mach.c27 .dmic_cpu_id = DMIC,
30 .dmic_codec_id = DMIC,
37 .dmic_cpu_id = DMIC,
40 .dmic_codec_id = DMIC,
47 .dmic_cpu_id = DMIC,
50 .dmic_codec_id = DMIC,
57 .dmic_cpu_id = DMIC,
60 .dmic_codec_id = DMIC,
67 .dmic_cpu_id = DMIC,
70 .dmic_codec_id = DMIC,
[all …]
Dacp-legacy-mach.c27 .dmic_cpu_id = DMIC,
30 .dmic_codec_id = DMIC,
37 .dmic_cpu_id = DMIC,
40 .dmic_codec_id = DMIC,
47 .dmic_cpu_id = DMIC,
50 .dmic_codec_id = DMIC,
57 .dmic_cpu_id = DMIC,
60 .dmic_codec_id = DMIC,
69 .dmic_cpu_id = DMIC,
72 .dmic_codec_id = DMIC,

12345678910>>...23