/Zephyr-Core-3.7.0/drivers/dai/intel/dmic/ |
D | dmic.c | 37 int dai_dmic_set_config_nhlt(struct dai_intel_dmic *dmic, const void *spec_config); 115 static void dai_dmic_update_bits(const struct dai_intel_dmic *dmic, in dai_dmic_update_bits() argument 118 uint32_t dest = dmic->reg_base + reg; in dai_dmic_update_bits() 123 static inline void dai_dmic_write(const struct dai_intel_dmic *dmic, in dai_dmic_write() argument 126 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write() 129 static inline uint32_t dai_dmic_read(const struct dai_intel_dmic *dmic, in dai_dmic_read() argument 132 return sys_read32(dmic->reg_base + reg); in dai_dmic_read() 136 static inline void dai_dmic_claim_ownership(const struct dai_intel_dmic *dmic) in dai_dmic_claim_ownership() argument 139 sys_write32(sys_read32(dmic->shim_base + DMICLCTL_OFFSET) | in dai_dmic_claim_ownership() 140 FIELD_PREP(DMICLCTL_OSEL, 0x3), dmic->shim_base + DMICLCTL_OFFSET); in dai_dmic_claim_ownership() [all …]
|
D | dmic_nhlt.c | 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() 119 dai_dmic_write_coeff(dmic, pdm_base + PDM_COEFFICIENT_A, coeffs, fir_length_a, in dai_dmic_configure_coeff() [all …]
|
D | Kconfig.dmic | 49 dmic ownership must be claimed before use of dmic 56 dmic sync registers must be set before use of dmic
|
D | CMakeLists.txt | 4 zephyr_library_sources_ifdef(CONFIG_DAI_INTEL_DMIC dmic.c)
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/tests/drivers/audio/dmic_api/src/ |
D | main.c | 65 ZTEST(dmic, test_0_start_fail) in ZTEST() argument 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() 100 ret = dmic_trigger(dmic, DMIC_TRIGGER_START); in do_pdm_transfer() 111 ret = dmic_read(dmic, 0, &buffer, &size, READ_TIMEOUT); in do_pdm_transfer() 121 ret = dmic_trigger(dmic, DMIC_TRIGGER_STOP); in do_pdm_transfer() 131 ZTEST(dmic, test_single_channel) in ZTEST() argument 145 ZTEST(dmic, test_stereo_channel) in ZTEST() argument 165 ZTEST(dmic, test_max_channel) in ZTEST() argument 194 ZTEST(dmic, test_pause_restart) in ZTEST() argument [all …]
|
/Zephyr-Core-3.7.0/samples/drivers/audio/dmic/ |
D | README.rst | 1 .. zephyr:code-sample:: dmic 27 The code can be found in :zephyr_file:`samples/drivers/audio/dmic`. 32 :zephyr-app: samples/drivers/audio/dmic
|
D | CMakeLists.txt | 6 project(dmic) project
|
/Zephyr-Core-3.7.0/dts/arm/nxp/ |
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 …]
|
D | nxp_rw6xx_common.dtsi | 416 dmic0: dmic@121000 { 419 compatible = "nxp,dmic"; 425 pdmc0: dmic-channel@0 { 427 compatible = "nxp,dmic-channel"; 432 pdmc1: dmic-channel@1 { 434 compatible = "nxp,dmic-channel"; 439 pdmc2: dmic-channel@2 { 441 compatible = "nxp,dmic-channel"; 446 pdmc3: dmic-channel@3 { 448 compatible = "nxp,dmic-channel";
|
/Zephyr-Core-3.7.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.7.0/doc/hardware/peripherals/audio/ |
D | index.rst | 10 dmic.rst
|
/Zephyr-Core-3.7.0/dts/xtensa/intel/ |
D | intel_adsp_ace20_lnl.dtsi | 166 compatible = "intel,adsp-hda-dmic-cap"; 172 compatible = "intel,dai-dmic"; 181 compatible = "intel,dai-dmic"; 190 compatible = "intel,adsp-dmic-vss";
|
D | intel_adsp_ace30_ptl.dtsi | 160 compatible = "intel,adsp-hda-dmic-cap"; 166 compatible = "intel,dai-dmic"; 176 compatible = "intel,dai-dmic"; 186 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 | 216 compatible = "intel,dai-dmic"; 225 compatible = "intel,dai-dmic";
|
D | intel_adsp_cavs25.dtsi | 459 compatible = "intel,dai-dmic"; 468 compatible = "intel,dai-dmic";
|
D | intel_adsp_ace15_mtpm.dtsi | 147 compatible = "intel,dai-dmic"; 157 compatible = "intel,dai-dmic";
|
/Zephyr-Core-3.7.0/boards/nxp/rd_rw612_bga/ |
D | rd_rw612_bga.dtsi | 21 dmic-dev = &dmic0;
|
/Zephyr-Core-3.7.0/boards/nxp/rd_rw612_bga/doc/ |
D | index.rst | 52 | DMIC | on-chip | dmic |
|
/Zephyr-Core-3.7.0/boards/nxp/mimxrt595_evk/ |
D | mimxrt595_evk_mimxrt595s_cm33.dts | 31 dmic-dev = &dmic0;
|
/Zephyr-Core-3.7.0/boards/nxp/mimxrt595_evk/doc/ |
D | index.rst | 116 | DMIC | on-chip | dmic |
|
/Zephyr-Core-3.7.0/ |
D | CODEOWNERS | 189 /drivers/dai/intel/dmic/ @marcinszkudlinski @abonislawski
|