/Zephyr-Core-3.4.0/drivers/dai/intel/dmic/ |
D | dmic.c | 24 #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 …]
|
D | Kconfig.dmic | 1 # 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:
|
D | dmic_nhlt.c | 16 #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 …]
|
D | dmic.h | 35 /* 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 …]
|
D | CMakeLists.txt | 4 zephyr_library_sources_ifdef(CONFIG_DAI_INTEL_DMIC dmic.c)
|
/Zephyr-Core-3.4.0/samples/drivers/audio/dmic/ |
D | sample.yaml | 2 name: DMIC sample 4 sample.drivers.audio.dmic: 5 tags: dmic 15 - "DMIC sample"
|
D | README.rst | 3 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
|
D | CMakeLists.txt | 6 project(dmic) project
|
/Zephyr-Core-3.4.0/dts/bindings/dai/ |
D | intel,adsp-dmic-vss.yaml | 5 description: Intel DMIC Vendor SHIM controller 7 compatible: "intel,adsp-dmic-vss"
|
D | intel,dai-dmic.yaml | 4 description: Intel Digital PDM Microphone (DMIC) node 6 compatible: "intel,dai-dmic"
|
/Zephyr-Core-3.4.0/dts/bindings/dma/ |
D | intel,adsp-hda-dmic-cap.yaml | 5 description: Intel HDA DMIC Capabilities controller 7 compatible: "intel,adsp-hda-dmic-cap"
|
/Zephyr-Core-3.4.0/include/zephyr/audio/ |
D | dmic.h | 43 * 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/ |
D | dmic.rst | 3 Digital Microphone (DMIC) 9 The audio DMIC interface provides access to digital microphones.
|
D | index.rst | 10 dmic.rst
|
/Zephyr-Core-3.4.0/drivers/dai/ |
D | Kconfig | 30 source "drivers/dai/intel/dmic/Kconfig.dmic"
|
D | CMakeLists.txt | 5 add_subdirectory_ifdef(CONFIG_DAI_INTEL_DMIC intel/dmic)
|
/Zephyr-Core-3.4.0/drivers/audio/ |
D | mpxxdtyy.h | 10 #include <zephyr/audio/dmic.h>
|
/Zephyr-Core-3.4.0/samples/drivers/audio/dmic/src/ |
D | main.c | 8 #include <zephyr/audio/dmic.h> 82 LOG_INF("DMIC sample"); in main()
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/ |
D | dai.h | 21 * 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/ |
D | main.c | 11 #include <zephyr/audio/dmic.h>
|
/Zephyr-Core-3.4.0/dts/xtensa/intel/ |
D | intel_adsp_ace20_lnl.dtsi | 141 compatible = "intel,adsp-hda-dmic-cap"; 147 compatible = "intel,dai-dmic"; 156 compatible = "intel,dai-dmic"; 165 compatible = "intel,adsp-dmic-vss";
|
D | intel_adsp_cavs15.dtsi | 333 compatible = "intel,dai-dmic"; 342 compatible = "intel,dai-dmic";
|
D | intel_adsp_cavs25_tgph.dtsi | 198 compatible = "intel,dai-dmic"; 207 compatible = "intel,dai-dmic";
|
D | intel_adsp_cavs25.dtsi | 405 compatible = "intel,dai-dmic"; 414 compatible = "intel,dai-dmic";
|
/Zephyr-Core-3.4.0/samples/boards/96b_argonkey/microphone/src/ |
D | main.c | 14 #include <zephyr/audio/dmic.h>
|