Home
last modified time | relevance | path

Searched refs:pdm (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/include/zephyr/audio/
Ddmic.h210 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/
Ddmic_nrfx_pdm.c25 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/
Ddmic_nhlt.c129 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/
Dnrf5340bsim_nrf5340_cpuapp.dts35 /delete-property/ pdm-0;
73 /delete-node/ pdm@26000;
/Zephyr-latest/dts/arm/nordic/
Dnrf52810.dtsi323 pdm0: pdm@4001d000 {
324 compatible = "nordic,nrf-pdm";
Dnrf52811.dtsi355 pdm0: pdm@4001d000 {
356 compatible = "nordic,nrf-pdm";
Dnrf91_peripherals.dtsi102 pdm0: pdm@26000 {
103 compatible = "nordic,nrf-pdm";
Dnrf52832.dtsi391 pdm0: pdm@4001d000 {
392 compatible = "nordic,nrf-pdm";
Dnrf52833.dtsi406 pdm0: pdm@4001d000 {
407 compatible = "nordic,nrf-pdm";
Dnrf52840.dtsi393 pdm0: pdm@4001d000 {
394 compatible = "nordic,nrf-pdm";
Dnrf5340_cpuapp_peripherals.dtsi447 pdm0: pdm@26000 {
448 compatible = "nordic,nrf-pdm";
/Zephyr-latest/dts/common/nordic/
Dnrf54l20.dtsi412 pdm20: pdm@d0000 {
413 compatible = "nordic,nrf-pdm";
419 pdm21: pdm@d1000 {
420 compatible = "nordic,nrf-pdm";
Dnrf54l_05_10_15.dtsi451 pdm20: pdm@d0000 {
452 compatible = "nordic,nrf-pdm";
458 pdm21: pdm@d1000 {
459 compatible = "nordic,nrf-pdm";
Dnrf54h20.dtsi915 pdm0: pdm@993000 {
916 compatible = "nordic,nrf-pdm";
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/
DREADME.rst67 See pcm and pdm configuration in file :zephyr_file:`samples/boards/96boards/argonkey/microphone/src…
/Zephyr-latest/boards/nxp/rd_rw612_bga/
Drd_rw612_bga.dtsi201 /* Configure pdm channels 0-3 with gain, and cutoff settings
/Zephyr-latest/boards/nxp/mimxrt685_evk/
Dmimxrt685_evk_mimxrt685s_cm33.dts421 /* Configure pdm channels 0 and 1 with gain, and cutoff settings
/Zephyr-latest/boards/nxp/mimxrt595_evk/
Dmimxrt595_evk_mimxrt595s_cm33.dts508 /* Configure pdm channels 0 and 1 with gain, and cutoff settings