Home
last modified time | relevance | path

Searched refs:dmic_cfg (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/tests/drivers/audio/dmic_api/src/
Dmain.c45 static struct dmic_cfg dmic_cfg = { variable
75 struct dmic_cfg *cfg) in do_pdm_transfer()
133 dmic_cfg.channel.req_num_chan = 1; in ZTEST()
134 dmic_cfg.channel.req_chan_map_lo = in ZTEST()
136 dmic_cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in ZTEST()
137 dmic_cfg.streams[0].block_size = in ZTEST()
138 BLOCK_SIZE(dmic_cfg.streams[0].pcm_rate, in ZTEST()
139 dmic_cfg.channel.req_num_chan); in ZTEST()
140 zassert_equal(do_pdm_transfer(dmic_dev, &dmic_cfg), 0, in ZTEST()
147 dmic_cfg.channel.req_num_chan = 2; in ZTEST()
[all …]
/Zephyr-latest/drivers/audio/
Dmpxxdtyy.h33 uint16_t sw_filter_lib_init(const struct device *dev, struct dmic_cfg *cfg);
42 int mpxxdtyy_i2s_configure(const struct device *dev, struct dmic_cfg *cfg);
Ddmic_nrfx_pdm.c135 static bool is_in_freq_range(uint32_t freq, const struct dmic_cfg *pdm_cfg) in is_in_freq_range()
165 const struct dmic_cfg *pdm_cfg, in check_pdm_frequencies()
301 const struct dmic_cfg *pdm_cfg) in find_suitable_clock()
366 struct dmic_cfg *config) in dmic_nrfx_pdm_configure()
Dmpxxdtyy-i2s.c94 int mpxxdtyy_i2s_configure(const struct device *dev, struct dmic_cfg *cfg) in mpxxdtyy_i2s_configure()
Dmpxxdtyy.c50 uint16_t sw_filter_lib_init(const struct device *dev, struct dmic_cfg *cfg) in sw_filter_lib_init()
Ddmic_mcux.c404 struct dmic_cfg *config) in dmic_mcux_configure()
/Zephyr-latest/include/zephyr/audio/
Ddmic.h178 struct dmic_cfg { struct
192 int (*configure)(const struct device *dev, struct dmic_cfg *config); argument
269 struct dmic_cfg *cfg) in dmic_configure()
/Zephyr-latest/samples/drivers/audio/dmic/src/
Dmain.c32 struct dmic_cfg *cfg, in do_pdm_transfer()
92 struct dmic_cfg cfg = { in main()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/microphone/src/
Dmain.c31 struct dmic_cfg cfg = {
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/src/
Dmain.c34 struct dmic_cfg cfg = {
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic_nhlt.c635 struct nhlt_dmic_channel_ctrl_mask *dmic_cfg; in dai_dmic_set_config_nhlt() local
666 dmic_cfg = (struct nhlt_dmic_channel_ctrl_mask *)p; in dai_dmic_set_config_nhlt()
667 channel_ctrl_mask = dmic_cfg->channel_ctrl_mask; in dai_dmic_set_config_nhlt()
673 ret = dai_dmic_set_clock(dmic, dmic_cfg->clock_source); in dai_dmic_set_config_nhlt()
806 ret = dai_nhlt_dmic_dai_params_get(dmic, dmic_cfg->clock_source); in dai_dmic_set_config_nhlt()
/Zephyr-latest/samples/drivers/i2s/i2s_codec/src/
Dmain.c77 struct dmic_cfg cfg = { in main()