Home
last modified time | relevance | path

Searched refs:pdm_block (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/audio/
Dmpxxdtyy.c90 void *pdm_block, void *pcm_block, in sw_filter_lib_run() argument
97 if (pdm_block == NULL || pcm_block == NULL || pdm_filter == NULL) { in sw_filter_lib_run()
104 ((uint16_t *)pdm_block)[i] = HTONS(((uint16_t *)pdm_block)[i]); in sw_filter_lib_run()
109 a = ((uint8_t *)pdm_block)[2*i]; in sw_filter_lib_run()
110 b = ((uint8_t *)pdm_block)[2*i + 1]; in sw_filter_lib_run()
112 ((uint8_t *)pdm_block)[2*i] = left_channel(a, b); in sw_filter_lib_run()
113 ((uint8_t *)pdm_block)[2*i + 1] = right_channel(a, b); in sw_filter_lib_run()
134 Open_PDM_Filter_64(&((uint8_t *) pdm_block)[pdm_offset + i], in sw_filter_lib_run()
141 Open_PDM_Filter_128(&((uint8_t *) pdm_block)[pdm_offset + i], in sw_filter_lib_run()
Dmpxxdtyy-i2s.c29 void *pdm_block, *pcm_block; in mpxxdtyy_i2s_read() local
33 ret = i2s_read(config->comm_master, &pdm_block, &pdm_size); in mpxxdtyy_i2s_read()
45 sw_filter_lib_run(pdm_filter, pdm_block, pcm_block, pdm_size, in mpxxdtyy_i2s_read()
47 k_mem_slab_free(&rx_pdm_i2s_mslab, pdm_block); in mpxxdtyy_i2s_read()
Dmpxxdtyy.h35 void *pdm_block, void *pcm_block,