Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.4.0/drivers/dai/intel/dmic/
Ddmic.c24 #include "dmic.h"
29 /* global data shared between all dmic instances */
36 int dai_dmic_set_config_nhlt(struct dai_intel_dmic *dmic, const void *spec_config);
114 static void dai_dmic_update_bits(const struct dai_intel_dmic *dmic, in dai_dmic_update_bits() argument
117 uint32_t dest = dmic->reg_base + reg; in dai_dmic_update_bits()
120 dmic->reg_base, reg, mask, val); in dai_dmic_update_bits()
125 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument
128 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write()
131 static inline uint32_t dai_dmic_read(const struct dai_intel_dmic *dmic, in dai_dmic_read() argument
134 return sys_read32(dmic->reg_base + reg); in dai_dmic_read()
[all …]
DKconfig.dmic1 # SOF DMIC configuration options
26 bool "Use NHLT DMIC blob"
45 bool "Use DMIC ownership claim/release"
49 dmic ownership must be claimed before use of dmic
52 bool "Use DMIC sync for multiple lines"
56 dmic sync registers must be set before use of dmic
63 int "Number of stream FIFOs in DMIC controller"
67 int "IO Clock value for DMIC"
74 DMIC sync period used for:
Ddmic_nhlt.c16 #include "dmic.h"
27 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument
30 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write()
34 static int dai_ipm_source_to_enable(struct dai_intel_dmic *dmic, in dai_ipm_source_to_enable() argument
48 dmic->enable[source_pdm] = 0x3; /* PDMi MIC A and B */ in dai_ipm_source_to_enable()
50 dmic->enable[source_pdm] = mic_swap ? 0x2 : 0x1; /* PDMi MIC B or MIC A */ in dai_ipm_source_to_enable()
56 static int dai_nhlt_dmic_dai_params_get(struct dai_intel_dmic *dmic, in dai_nhlt_dmic_dai_params_get() argument
61 uint32_t outcontrol_val = outcontrol[dmic->dai_config_params.dai_index]; in dai_nhlt_dmic_dai_params_get()
71 dmic->dai_config_params.format = DAI_DMIC_FRAME_S16_LE; in dai_nhlt_dmic_dai_params_get()
72 dmic->dai_config_params.word_size = 16; in dai_nhlt_dmic_dai_params_get()
[all …]
Ddmic.h35 /* DMIC timestamping registers */
71 /* DMIC disable clock gating */
74 /* DMIC Command Sync */
76 /* DMIC Sync Go */
79 /* DMIC Sync Period */
84 /* DMIC power ON bit */
87 /* DMIC Owner Select */
89 /* DMIC disable clock gating */
92 /* DMIC Command Sync */
94 /* DMIC Sync Go */
[all …]
DCMakeLists.txt4 zephyr_library_sources_ifdef(CONFIG_DAI_INTEL_DMIC dmic.c)
/Zephyr-Core-3.4.0/samples/drivers/audio/dmic/
Dsample.yaml2 name: DMIC sample
4 sample.drivers.audio.dmic:
5 tags: dmic
15 - "DMIC sample"
DREADME.rst3 DMIC Sample
9 This is a very simple application intended to show how to use the Audio DMIC
26 The code can be found in :zephyr_file:`samples/drivers/audio/dmic`.
31 :zephyr-app: samples/drivers/audio/dmic
DCMakeLists.txt6 project(dmic) project
/Zephyr-Core-3.4.0/dts/bindings/dai/
Dintel,adsp-dmic-vss.yaml5 description: Intel DMIC Vendor SHIM controller
7 compatible: "intel,adsp-dmic-vss"
Dintel,dai-dmic.yaml4 description: Intel Digital PDM Microphone (DMIC) node
6 compatible: "intel,dai-dmic"
/Zephyr-Core-3.4.0/dts/bindings/dma/
Dintel,adsp-hda-dmic-cap.yaml5 description: Intel HDA DMIC Capabilities controller
7 compatible: "intel,adsp-hda-dmic-cap"
/Zephyr-Core-3.4.0/include/zephyr/audio/
Ddmic.h43 * DMIC driver states
54 * DMIC driver trigger commands
112 /* SLAB for DMIC driver to allocate buffers for stream */
154 * Input configuration structure for the DMIC configuration API
167 * Function pointers for the DMIC driver operations
236 * Configure the DMIC driver and controller(s)
238 * Configures the DMIC driver device according to the number of channels,
241 * @param dev Pointer to the device structure for DMIC driver instance
242 * @param cfg Pointer to the structure containing the DMIC configuration
256 * Send a command to the DMIC driver
[all …]
/Zephyr-Core-3.4.0/doc/hardware/peripherals/audio/
Ddmic.rst3 Digital Microphone (DMIC)
9 The audio DMIC interface provides access to digital microphones.
Dindex.rst10 dmic.rst
/Zephyr-Core-3.4.0/drivers/dai/
DKconfig30 source "drivers/dai/intel/dmic/Kconfig.dmic"
DCMakeLists.txt5 add_subdirectory_ifdef(CONFIG_DAI_INTEL_DMIC intel/dmic)
/Zephyr-Core-3.4.0/drivers/audio/
Dmpxxdtyy.h10 #include <zephyr/audio/dmic.h>
/Zephyr-Core-3.4.0/samples/drivers/audio/dmic/src/
Dmain.c8 #include <zephyr/audio/dmic.h>
82 LOG_INF("DMIC sample"); in main()
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Ddai.h21 * It supports also DMIC, HDA and SDW backends. The API has a config function
48 DAI_INTEL_DMIC, /**< Intel DMIC */
55 DAI_AMD_DMIC, /**< Amd DMIC */
219 int type; /* SSP, DMIC, HDA, etc. */
/Zephyr-Core-3.4.0/samples/shields/x_nucleo_iks02a1/microphone/src/
Dmain.c11 #include <zephyr/audio/dmic.h>
/Zephyr-Core-3.4.0/dts/xtensa/intel/
Dintel_adsp_ace20_lnl.dtsi141 compatible = "intel,adsp-hda-dmic-cap";
147 compatible = "intel,dai-dmic";
156 compatible = "intel,dai-dmic";
165 compatible = "intel,adsp-dmic-vss";
Dintel_adsp_cavs15.dtsi333 compatible = "intel,dai-dmic";
342 compatible = "intel,dai-dmic";
Dintel_adsp_cavs25_tgph.dtsi198 compatible = "intel,dai-dmic";
207 compatible = "intel,dai-dmic";
Dintel_adsp_cavs25.dtsi405 compatible = "intel,dai-dmic";
414 compatible = "intel,dai-dmic";
/Zephyr-Core-3.4.0/samples/boards/96b_argonkey/microphone/src/
Dmain.c14 #include <zephyr/audio/dmic.h>

12