Home
last modified time | relevance | path

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

12

/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.c37 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
143 sys_write32(sys_read32(dmic->shim_base + DMICLCTL_OFFSET) | in dai_dmic_claim_ownership()
144 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-latest/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-latest/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-latest/dts/arm/nxp/
Dnxp_rt6xx_common.dtsi338 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 …]
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.dtsi444 dmic0: dmic@121000 {
447 compatible = "nxp,dmic";
453 pdmc0: dmic-channel@0 {
455 compatible = "nxp,dmic-channel";
460 pdmc1: dmic-channel@1 {
462 compatible = "nxp,dmic-channel";
467 pdmc2: dmic-channel@2 {
469 compatible = "nxp,dmic-channel";
474 pdmc3: dmic-channel@3 {
476 compatible = "nxp,dmic-channel";
/Zephyr-latest/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-latest/drivers/dai/
DKconfig30 source "drivers/dai/intel/dmic/Kconfig.dmic"
DCMakeLists.txt5 add_subdirectory_ifdef(CONFIG_DAI_INTEL_DMIC intel/dmic)
/Zephyr-latest/doc/hardware/peripherals/audio/
Dindex.rst10 dmic.rst
/Zephyr-latest/dts/xtensa/intel/
Dintel_adsp_ace20_lnl.dtsi171 compatible = "intel,adsp-hda-dmic-cap";
177 compatible = "intel,dai-dmic";
187 compatible = "intel,dai-dmic";
197 compatible = "intel,adsp-dmic-vss";
Dintel_adsp_cavs25_tgph.dtsi216 compatible = "intel,dai-dmic";
225 compatible = "intel,dai-dmic";
Dintel_adsp_ace30.dtsi160 compatible = "intel,adsp-hda-dmic-cap";
166 compatible = "intel,dai-dmic";
177 compatible = "intel,dai-dmic";
188 compatible = "intel,adsp-dmic-vss";
Dintel_adsp_ace30_ptl.dtsi165 compatible = "intel,adsp-hda-dmic-cap";
171 compatible = "intel,dai-dmic";
182 compatible = "intel,dai-dmic";
193 compatible = "intel,adsp-dmic-vss";
Dintel_adsp_cavs25.dtsi460 compatible = "intel,dai-dmic";
469 compatible = "intel,dai-dmic";
Dintel_adsp_ace15_mtpm.dtsi152 compatible = "intel,dai-dmic";
163 compatible = "intel,dai-dmic";
/Zephyr-latest/boards/nxp/rd_rw612_bga/
Drd_rw612_bga.dtsi20 dmic-dev = &dmic0;
/Zephyr-latest/boards/nxp/mimxrt685_evk/
Dmimxrt685_evk_mimxrt685s_cm33.dts36 dmic-dev = &dmic0;
/Zephyr-latest/boards/nxp/rd_rw612_bga/doc/
Dindex.rst49 | DMIC | on-chip | dmic |
/Zephyr-latest/boards/nxp/mimxrt595_evk/
Dmimxrt595_evk_mimxrt595s_cm33.dts31 dmic-dev = &dmic0;

12