/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 | 25 const nrfx_pdm_t *pdm; member 59 nrfx_pdm_stop(drv_data->pdm); in stop_pdm() 85 err = nrfx_pdm_buffer_set(drv_data->pdm, buffer, drv_data->block_size / 2); in event_handler() 421 nrfx_pdm_uninit(drv_data->pdm); in dmic_nrfx_pdm_configure() 451 nrfx_pdm_uninit(drv_data->pdm); in dmic_nrfx_pdm_configure() 455 err = nrfx_pdm_init(drv_data->pdm, &nrfx_cfg, drv_cfg->event_handler); in dmic_nrfx_pdm_configure() 479 err = nrfx_pdm_start(drv_data->pdm); in start_transfer() 554 nrfx_pdm_stop(drv_data->pdm); in dmic_nrfx_pdm_trigger() 631 #define PDM(idx) DT_NODELABEL(pdm##idx) 648 dmic_nrfx_pdm_data##idx.pdm = &dmic_nrfx_pdm##idx; \
|
/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/boards/native/nrf_bsim/ |
D | nrf5340bsim_nrf5340_cpuapp.dts | 35 /delete-property/ pdm-0; 73 /delete-node/ pdm@26000;
|
/Zephyr-latest/dts/arm/nordic/ |
D | nrf52810.dtsi | 323 pdm0: pdm@4001d000 { 324 compatible = "nordic,nrf-pdm";
|
D | nrf52811.dtsi | 355 pdm0: pdm@4001d000 { 356 compatible = "nordic,nrf-pdm";
|
D | nrf91_peripherals.dtsi | 102 pdm0: pdm@26000 { 103 compatible = "nordic,nrf-pdm";
|
D | nrf52832.dtsi | 391 pdm0: pdm@4001d000 { 392 compatible = "nordic,nrf-pdm";
|
D | nrf52833.dtsi | 406 pdm0: pdm@4001d000 { 407 compatible = "nordic,nrf-pdm";
|
D | nrf52840.dtsi | 393 pdm0: pdm@4001d000 { 394 compatible = "nordic,nrf-pdm";
|
D | nrf5340_cpuapp_peripherals.dtsi | 447 pdm0: pdm@26000 { 448 compatible = "nordic,nrf-pdm";
|
/Zephyr-latest/dts/common/nordic/ |
D | nrf54l20.dtsi | 412 pdm20: pdm@d0000 { 413 compatible = "nordic,nrf-pdm"; 419 pdm21: pdm@d1000 { 420 compatible = "nordic,nrf-pdm";
|
D | nrf54l_05_10_15.dtsi | 451 pdm20: pdm@d0000 { 452 compatible = "nordic,nrf-pdm"; 458 pdm21: pdm@d1000 { 459 compatible = "nordic,nrf-pdm";
|
D | nrf54h20.dtsi | 915 pdm0: pdm@993000 { 916 compatible = "nordic,nrf-pdm";
|
/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/rd_rw612_bga/ |
D | rd_rw612_bga.dtsi | 201 /* Configure pdm channels 0-3 with gain, and cutoff settings
|
/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
|