/Zephyr-latest/drivers/dai/intel/dmic/ |
D | dmic.c | 24 #include "dmic.h" 30 /* global data shared between all dmic instances */ 37 int dai_dmic_set_config_nhlt(struct dai_intel_dmic *dmic, const void *spec_config); 119 static void dai_dmic_update_bits(const struct dai_intel_dmic *dmic, in dai_dmic_update_bits() argument 122 uint32_t dest = dmic->reg_base + reg; in dai_dmic_update_bits() 127 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument 130 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write() 133 static inline uint32_t dai_dmic_read(const struct dai_intel_dmic *dmic, in dai_dmic_read() argument 136 return sys_read32(dmic->reg_base + reg); in dai_dmic_read() 140 static inline void dai_dmic_claim_ownership(const struct dai_intel_dmic *dmic) in dai_dmic_claim_ownership() argument [all …]
|
D | dmic_nhlt.c | 17 #include "dmic.h" 26 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument 29 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write() 32 static inline uint32_t dai_dmic_read(const struct dai_intel_dmic *dmic, uint32_t reg) in dai_dmic_read() argument 34 return sys_read32(dmic->reg_base + reg); in dai_dmic_read() 57 static void dai_dmic_write_coeff(const struct dai_intel_dmic *dmic, uint32_t base, in dai_dmic_write_coeff() argument 65 dai_dmic_write(dmic, base, *coeff++); in dai_dmic_write_coeff() 76 dai_dmic_write(dmic, base, coeff_val); in dai_dmic_write_coeff() 89 static const uint32_t *dai_dmic_configure_coeff(const struct dai_intel_dmic *dmic, in dai_dmic_configure_coeff() argument 118 if (dmic->dai_config_params.dai_index == 0) { in dai_dmic_configure_coeff() [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 | CMakeLists.txt | 4 zephyr_library_sources_ifdef(CONFIG_DAI_INTEL_DMIC dmic.c)
|
/Zephyr-latest/tests/drivers/audio/dmic_api/src/ |
D | main.c | 8 * Based on DMIC driver sample, which is: 13 #include <zephyr/audio/dmic.h> 30 #error "Unsupported DMIC device" 62 /* Verify that dmic_trigger fails when DMIC is not configured 63 * this test must run first, before DMIC has been configured 65 ZTEST(dmic, test_0_start_fail) in ZTEST() argument 69 zassert_true(device_is_ready(dmic_dev), "DMIC device is not ready"); in ZTEST() 71 zassert_not_equal(ret, 0, "DMIC trigger should fail when DMIC is not configured"); in ZTEST() 74 static int do_pdm_transfer(const struct device *dmic, in do_pdm_transfer() argument 84 ret = dmic_configure(dmic, cfg); in do_pdm_transfer() [all …]
|
/Zephyr-latest/tests/drivers/audio/dmic_api/ |
D | README.txt | 1 DMIC API Test 4 This test is designed to verify that DMIC peripherals implement the API 7 * Verify the DMIC will not start sampling before it is configured 9 * Verify the DMIC can sample from one left channel 11 * Verify the DMIC can sample from a stereo L/R pair 13 * Verify that the DMIC works with the maximum number of channels possible 16 * Verify that the DMIC can restart sampling after being paused and resumed 19 rejected by the DMIC driver.
|
D | testcase.yaml | 3 depends_on: dmic 4 tags: dmic 6 filter: dt_alias_exists("dmic-dev")
|
/Zephyr-latest/drivers/audio/ |
D | Kconfig.dmic_mcux | 5 bool "DMIC driver for MCUX" 11 Enable support for DMIC on NXP MCUX SoC's 16 int "Number of buffers to reserve for DMIC DMA" 21 reserve for the DMA engine. The memory slab used with the DMIC 26 int "Size of DMIC buffer queue" 29 This sets the size of the RX buffer queue for the DMIC. Up to this 30 many buffers may be queued by the DMIC once it is triggered, before
|
/Zephyr-latest/samples/drivers/audio/dmic/ |
D | sample.yaml | 2 name: DMIC sample 4 sample.drivers.audio.dmic: 5 tags: dmic 16 - "DMIC sample"
|
D | README.rst | 1 .. zephyr:code-sample:: dmic 2 :name: Digital Microphone (DMIC) 10 This is a very simple application intended to show how to use the :ref:`Audio DMIC 27 The code can be found in :zephyr_file:`samples/drivers/audio/dmic`. 32 :zephyr-app: samples/drivers/audio/dmic
|
/Zephyr-latest/samples/drivers/i2s/i2s_codec/ |
D | Kconfig | 11 filled by data from the DMIC peripheral and played back by the I2S 21 bool "Use DMIC as an audio input" 26 int "Number of DMIC channels" 29 Count of DMIC channels to capture and process.
|
D | README.rst | 11 an audio stream. It configures and starts from memory buffer or from DMIC to 33 from DMIC or from memory buffer.
|
/Zephyr-latest/tests/drivers/audio/dmic_api/boards/ |
D | mimxrt595_evk_mimxrt595s_cm33.overlay | 12 dmic-channel@0 { 19 dmic-channel@1 { 26 dmic-channel@2 { 33 dmic-channel@3 {
|
D | rd_rw612_bga.overlay | 12 dmic-channel@0 { 19 dmic-channel@1 { 26 dmic-channel@2 { 33 dmic-channel@3 {
|
/Zephyr-latest/dts/bindings/audio/ |
D | nxp,dmic.yaml | 4 description: NXP DMIC 6 compatible: "nxp,dmic" 30 # Child binding definition, describes each channel of the DMIC 33 NXP DMIC channel. Can be used to configure filtering and gain attributes 36 compatible: "nxp,dmic-channel"
|
/Zephyr-latest/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-latest/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-latest/include/zephyr/audio/ |
D | dmic.h | 45 * DMIC driver states 57 * DMIC driver trigger commands 123 /** SLAB for DMIC driver to allocate buffers for stream */ 176 * Input configuration structure for the DMIC configuration API 189 * Function pointers for the DMIC driver operations 258 * Configure the DMIC driver and controller(s) 260 * Configures the DMIC driver device according to the number of channels, 263 * @param dev Pointer to the device structure for DMIC driver instance 264 * @param cfg Pointer to the structure containing the DMIC configuration 278 * Send a command to the DMIC driver [all …]
|
/Zephyr-latest/doc/hardware/peripherals/audio/ |
D | dmic.rst | 3 Digital Microphone (DMIC) 9 The audio DMIC interface provides access to digital microphones.
|
/Zephyr-latest/drivers/dai/ |
D | Kconfig | 30 source "drivers/dai/intel/dmic/Kconfig.dmic"
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_rt6xx_common.dtsi | 338 dmic0: dmic@121000 { 341 compatible = "nxp,dmic"; 347 pdmc0: dmic-channel@0 { 348 compatible = "nxp,dmic-channel"; 354 pdmc1: dmic-channel@1 { 355 compatible = "nxp,dmic-channel"; 361 pdmc2: dmic-channel@2 { 362 compatible = "nxp,dmic-channel"; 368 pdmc3: dmic-channel@3 { 369 compatible = "nxp,dmic-channel"; [all …]
|
D | nxp_rt5xx_common.dtsi | 431 dmic0: dmic@121000 { 434 compatible = "nxp,dmic"; 440 pdmc0: dmic-channel@0 { 441 compatible = "nxp,dmic-channel"; 447 pdmc1: dmic-channel@1 { 448 compatible = "nxp,dmic-channel"; 454 pdmc2: dmic-channel@2 { 455 compatible = "nxp,dmic-channel"; 461 pdmc3: dmic-channel@3 { 462 compatible = "nxp,dmic-channel"; [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace30/ |
D | dmic_regs_ace3x.h | 9 /* DMIC Link Synchronization */ 24 /* DMIC Link Control */
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace20_lnl/ |
D | dmic_regs_ace2x.h | 11 /* DMIC Link Synchronization */ 27 /* DMIC Link Control */
|