Home
last modified time | relevance | path

Searched refs:dmic (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-Core-3.7.0/drivers/dai/intel/dmic/
Ddmic.c37 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 …]
Ddmic_nhlt.c26 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 …]
DKconfig.dmic49 dmic ownership must be claimed before use of dmic
56 dmic sync registers must be set before use of dmic
DCMakeLists.txt4 zephyr_library_sources_ifdef(CONFIG_DAI_INTEL_DMIC dmic.c)
/Zephyr-Core-3.7.0/tests/drivers/audio/dmic_api/boards/
Dmimxrt595_evk_mimxrt595s_cm33.overlay12 dmic-channel@0 {
19 dmic-channel@1 {
26 dmic-channel@2 {
33 dmic-channel@3 {
Drd_rw612_bga.overlay12 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/
Dmain.c65 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/
DREADME.rst1 .. zephyr:code-sample:: dmic
27 The code can be found in :zephyr_file:`samples/drivers/audio/dmic`.
32 :zephyr-app: samples/drivers/audio/dmic
DCMakeLists.txt6 project(dmic) project
/Zephyr-Core-3.7.0/dts/arm/nxp/
Dnxp_rt5xx_common.dtsi431 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 …]
Dnxp_rw6xx_common.dtsi416 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/
DKconfig30 source "drivers/dai/intel/dmic/Kconfig.dmic"
DCMakeLists.txt5 add_subdirectory_ifdef(CONFIG_DAI_INTEL_DMIC intel/dmic)
/Zephyr-Core-3.7.0/doc/hardware/peripherals/audio/
Dindex.rst10 dmic.rst
/Zephyr-Core-3.7.0/dts/xtensa/intel/
Dintel_adsp_ace20_lnl.dtsi166 compatible = "intel,adsp-hda-dmic-cap";
172 compatible = "intel,dai-dmic";
181 compatible = "intel,dai-dmic";
190 compatible = "intel,adsp-dmic-vss";
Dintel_adsp_ace30_ptl.dtsi160 compatible = "intel,adsp-hda-dmic-cap";
166 compatible = "intel,dai-dmic";
176 compatible = "intel,dai-dmic";
186 compatible = "intel,adsp-dmic-vss";
Dintel_adsp_cavs15.dtsi333 compatible = "intel,dai-dmic";
342 compatible = "intel,dai-dmic";
Dintel_adsp_cavs25_tgph.dtsi216 compatible = "intel,dai-dmic";
225 compatible = "intel,dai-dmic";
Dintel_adsp_cavs25.dtsi459 compatible = "intel,dai-dmic";
468 compatible = "intel,dai-dmic";
Dintel_adsp_ace15_mtpm.dtsi147 compatible = "intel,dai-dmic";
157 compatible = "intel,dai-dmic";
/Zephyr-Core-3.7.0/boards/nxp/rd_rw612_bga/
Drd_rw612_bga.dtsi21 dmic-dev = &dmic0;
/Zephyr-Core-3.7.0/boards/nxp/rd_rw612_bga/doc/
Dindex.rst52 | DMIC | on-chip | dmic |
/Zephyr-Core-3.7.0/boards/nxp/mimxrt595_evk/
Dmimxrt595_evk_mimxrt595s_cm33.dts31 dmic-dev = &dmic0;
/Zephyr-Core-3.7.0/boards/nxp/mimxrt595_evk/doc/
Dindex.rst116 | DMIC | on-chip | dmic |
/Zephyr-Core-3.7.0/
DCODEOWNERS189 /drivers/dai/intel/dmic/ @marcinszkudlinski @abonislawski

12