| /Zephyr-latest/include/zephyr/audio/ |
| D | dmic.h | 210 static inline uint32_t dmic_build_channel_map(uint8_t channel, uint8_t pdm, in dmic_build_channel_map() argument 213 return ((((pdm & BIT_MASK(3)) << 1) | lr) << in dmic_build_channel_map() 230 uint32_t channel_map_hi, uint8_t channel, uint8_t *pdm, enum pdm_lr *lr) in dmic_parse_channel_map() argument 237 *pdm = (channel_map >> 1) & BIT_MASK(3); in dmic_parse_channel_map() 252 static inline uint32_t dmic_build_clk_skew_map(uint8_t pdm, uint8_t skew) in dmic_build_clk_skew_map() argument 254 return ((skew & BIT_MASK(4)) << ((pdm & BIT_MASK(3)) * 4U)); in dmic_build_clk_skew_map()
|
| /Zephyr-latest/drivers/audio/ |
| D | dmic_nrfx_pdm.c | 27 const nrfx_pdm_t *pdm; member 61 nrfx_pdm_stop(drv_data->pdm); in stop_pdm() 96 err = nrfx_pdm_buffer_set(drv_data->pdm, buffer, drv_data->block_size / 2); in event_handler() 441 nrfx_pdm_uninit(drv_data->pdm); in dmic_nrfx_pdm_configure() 475 nrfx_pdm_uninit(drv_data->pdm); in dmic_nrfx_pdm_configure() 479 err = nrfx_pdm_init(drv_data->pdm, &nrfx_cfg, drv_cfg->event_handler); in dmic_nrfx_pdm_configure() 503 err = nrfx_pdm_start(drv_data->pdm); in start_transfer() 578 nrfx_pdm_stop(drv_data->pdm); in dmic_nrfx_pdm_trigger() 655 #define PDM(idx) DT_NODELABEL(pdm##idx) 673 dmic_nrfx_pdm_data##idx.pdm = &dmic_nrfx_pdm##idx; \
|
| /Zephyr-latest/boards/native/nrf_bsim/ |
| D | nrf5340bsim_nrf5340_cpuapp.dts | 35 /delete-property/ pdm-0; 74 /delete-node/ pdm@26000;
|
| /Zephyr-latest/drivers/dai/intel/dmic/ |
| D | dmic_nhlt.c | 129 static int dai_nhlt_get_clock_div(const struct dai_intel_dmic *dmic, const int pdm) in dai_nhlt_get_clock_div() argument 134 val = dai_dmic_read(dmic, dmic_base[pdm] + CIC_CONFIG); in dai_nhlt_get_clock_div() 137 val = dai_dmic_read(dmic, dmic_base[pdm] + MIC_CONTROL); in dai_nhlt_get_clock_div() 140 val = dai_dmic_read(dmic, dmic_base[pdm] + in dai_nhlt_get_clock_div() 142 LOG_INF("pdm = %d, FIR_CONFIG = 0x%08X", pdm, val); in dai_nhlt_get_clock_div() 158 static int dai_nhlt_update_rate(struct dai_intel_dmic *dmic, const int clock_source, const int pdm) in dai_nhlt_update_rate() argument 162 rate_div = dai_nhlt_get_clock_div(dmic, pdm); in dai_nhlt_update_rate()
|
| /Zephyr-latest/dts/common/nordic/ |
| D | nrf54l20.dtsi | 418 pdm20: pdm@d0000 { 419 compatible = "nordic,nrf-pdm"; 425 pdm21: pdm@d1000 { 426 compatible = "nordic,nrf-pdm";
|
| D | nrf54l_05_10_15.dtsi | 458 pdm20: pdm@d0000 { 459 compatible = "nordic,nrf-pdm"; 465 pdm21: pdm@d1000 { 466 compatible = "nordic,nrf-pdm";
|
| D | nrf54h20.dtsi | 916 pdm0: pdm@993000 { 917 compatible = "nordic,nrf-pdm";
|
| /Zephyr-latest/dts/arm/nordic/ |
| D | nrf52810.dtsi | 324 pdm0: pdm@4001d000 { 325 compatible = "nordic,nrf-pdm";
|
| D | nrf52811.dtsi | 356 pdm0: pdm@4001d000 { 357 compatible = "nordic,nrf-pdm";
|
| D | nrf91_peripherals.dtsi | 103 pdm0: pdm@26000 { 104 compatible = "nordic,nrf-pdm";
|
| D | nrf52832.dtsi | 392 pdm0: pdm@4001d000 { 393 compatible = "nordic,nrf-pdm";
|
| D | nrf52833.dtsi | 407 pdm0: pdm@4001d000 { 408 compatible = "nordic,nrf-pdm";
|
| D | nrf52840.dtsi | 394 pdm0: pdm@4001d000 { 395 compatible = "nordic,nrf-pdm";
|
| D | nrf5340_cpuapp_peripherals.dtsi | 448 pdm0: pdm@26000 { 449 compatible = "nordic,nrf-pdm";
|
| /Zephyr-latest/boards/nxp/rd_rw612_bga/ |
| D | rd_rw612_bga.dtsi | 201 /* Configure pdm channels 0-3 with gain, and cutoff settings
|
| /Zephyr-latest/samples/boards/96boards/argonkey/microphone/ |
| D | README.rst | 67 See pcm and pdm configuration in file :zephyr_file:`samples/boards/96boards/argonkey/microphone/src…
|
| /Zephyr-latest/boards/nxp/mimxrt685_evk/ |
| D | mimxrt685_evk_mimxrt685s_cm33.dts | 421 /* Configure pdm channels 0 and 1 with gain, and cutoff settings
|
| /Zephyr-latest/boards/nxp/mimxrt595_evk/ |
| D | mimxrt595_evk_mimxrt595s_cm33.dts | 508 /* Configure pdm channels 0 and 1 with gain, and cutoff settings
|