/Zephyr-Core-3.4.0/drivers/i2s/ |
D | i2s_handlers.c | 29 if (Z_SYSCALL_OBJ(config.mem_slab, K_OBJ_MEM_SLAB)) { in z_vrfy_i2s_configure() 36 if (config.block_size > config.mem_slab->block_size) { in z_vrfy_i2s_configure() 69 k_mem_slab_free(rx_cfg->mem_slab, &mem_block); in z_vrfy_i2s_buf_read() 96 ret = k_mem_slab_alloc(tx_cfg->mem_slab, &mem_block, K_FOREVER); in z_vrfy_i2s_buf_write() 103 k_mem_slab_free(tx_cfg->mem_slab, &mem_block); in z_vrfy_i2s_buf_write() 109 k_mem_slab_free(tx_cfg->mem_slab, &mem_block); in z_vrfy_i2s_buf_write()
|
D | i2s_common.c | 24 k_mem_slab_free(rx_cfg->mem_slab, &mem_block); in z_impl_i2s_buf_read() 45 ret = k_mem_slab_alloc(tx_cfg->mem_slab, &mem_block, K_FOREVER); in z_impl_i2s_buf_write() 54 k_mem_slab_free(tx_cfg->mem_slab, &mem_block); in z_impl_i2s_buf_write()
|
D | i2s_mcux_sai.c | 120 struct k_mem_slab *mem_slab, in i2s_purge_stream_buffers() argument 127 k_mem_slab_free(mem_slab, &buffer); in i2s_purge_stream_buffers() 133 k_mem_slab_free(mem_slab, &buffer); in i2s_purge_stream_buffers() 172 i2s_purge_stream_buffers(strm, dev_data->tx.cfg.mem_slab, in i2s_tx_stream_disable() 207 i2s_purge_stream_buffers(strm, dev_data->rx.cfg.mem_slab, in i2s_rx_stream_disable() 280 k_mem_slab_free(strm->cfg.mem_slab, &buffer); in i2s_dma_tx_callback() 382 ret = k_mem_slab_alloc(strm->cfg.mem_slab, in i2s_dma_rx_callback() 386 strm->cfg.mem_slab, ret); in i2s_dma_rx_callback() 661 (uint32_t)i2s_cfg->mem_slab->free_list); in i2s_mcux_config() 663 (uint32_t)i2s_cfg->mem_slab->num_blocks); in i2s_mcux_config() [all …]
|
D | i2s_mcux_flexcomm.c | 278 struct k_mem_slab *mem_slab) in i2s_purge_stream_buffers() argument 283 k_mem_slab_free(mem_slab, &buffer); in i2s_purge_stream_buffers() 286 k_mem_slab_free(mem_slab, &buffer); in i2s_purge_stream_buffers() 327 i2s_purge_stream_buffers(stream, stream->cfg.mem_slab); in i2s_mcux_tx_stream_disable() 354 i2s_purge_stream_buffers(stream, stream->cfg.mem_slab); in i2s_mcux_rx_stream_disable() 435 k_mem_slab_free(stream->cfg.mem_slab, &buffer); in i2s_mcux_dma_tx_callback() 516 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &buffer, K_NO_WAIT); in i2s_mcux_dma_rx_callback() 519 stream->cfg.mem_slab, ret); in i2s_mcux_dma_rx_callback() 599 num_of_bufs = k_mem_slab_num_free_get(stream->cfg.mem_slab); in i2s_mcux_rx_stream_start() 610 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &buffer[i], in i2s_mcux_rx_stream_start()
|
D | i2s_ll_stm32.c | 543 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &stream->mem_block, in dma_rx_callback() 603 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in dma_tx_callback() 722 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &stream->mem_block, in rx_stream_start() 809 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in rx_stream_disable() 827 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in tx_stream_disable() 842 k_mem_slab_free(stream->cfg.mem_slab, &mem_block); in rx_queue_drop() 855 k_mem_slab_free(stream->cfg.mem_slab, &mem_block); in tx_queue_drop()
|
D | i2s_sam_ssc.c | 240 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &stream->mem_block, in dma_rx_callback() 280 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in dma_tx_callback() 639 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &stream->mem_block, in rx_stream_start() 739 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in rx_stream_disable() 751 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in tx_stream_disable() 762 k_mem_slab_free(stream->cfg.mem_slab, &mem_block); in rx_queue_drop() 775 k_mem_slab_free(stream->cfg.mem_slab, &mem_block); in tx_queue_drop()
|
D | i2s_nrfx.c | 201 int ret = k_mem_slab_alloc(drv_data->rx.cfg.mem_slab, in get_next_rx_buffer() 216 k_mem_slab_free(drv_data->tx.cfg.mem_slab, (void **)&buffer); in free_tx_buffer() 222 k_mem_slab_free(drv_data->rx.cfg.mem_slab, &buffer); in free_rx_buffer() 424 __ASSERT_NO_MSG(i2s_cfg->mem_slab != NULL && in i2s_nrfx_configure()
|
D | i2s_litex.c | 547 ret = k_mem_slab_alloc(stream->cfg.mem_slab, &stream->mem_block, in i2s_litex_isr_rx() 591 k_mem_slab_free(stream->cfg.mem_slab, &stream->mem_block); in i2s_litex_isr_tx()
|
/Zephyr-Core-3.4.0/samples/drivers/audio/dmic/src/ |
D | main.c | 29 K_MEM_SLAB_DEFINE_STATIC(mem_slab, MAX_BLOCK_SIZE, BLOCK_COUNT, 4); 65 k_mem_slab_free(&mem_slab, &buffer); in do_pdm_transfer() 91 .mem_slab = &mem_slab, in main()
|
/Zephyr-Core-3.4.0/drivers/led_strip/ |
D | ws2812_i2s.c | 39 struct k_mem_slab *mem_slab; member 91 ret = k_mem_slab_alloc(cfg->mem_slab, &mem_block, K_SECONDS(10)); in ws2812_strip_update_rgb() 142 k_mem_slab_free(cfg->mem_slab, &mem_block); in ws2812_strip_update_rgb() 190 config.mem_slab = cfg->mem_slab; in ws2812_i2s_init() 251 .mem_slab = &ws2812_i2s_##idx##_slab, \
|
/Zephyr-Core-3.4.0/samples/boards/litex/i2s/src/ |
D | main.c | 52 i2s_rx_cfg.mem_slab = &i2s_rx_mem_slab; in init() 77 i2s_tx_cfg.mem_slab = &i2s_tx_mem_slab; in init()
|
/Zephyr-Core-3.4.0/samples/drivers/i2s/echo/src/ |
D | main.c | 44 K_MEM_SLAB_DEFINE_STATIC(mem_slab, BLOCK_SIZE, BLOCK_COUNT, 4); 194 ret = k_mem_slab_alloc(&mem_slab, &mem_block, K_NO_WAIT); in prepare_transfer() 280 config.mem_slab = &mem_slab; in main()
|
/Zephyr-Core-3.4.0/drivers/audio/ |
D | mpxxdtyy-i2s.c | 104 data->pcm_mem_slab = cfg->streams->mem_slab; in mpxxdtyy_i2s_configure() 134 i2s_cfg.mem_slab = &rx_pdm_i2s_mslab; in mpxxdtyy_i2s_configure()
|
D | dmic_nrfx_pdm.c | 20 struct k_mem_slab *mem_slab; member 42 k_mem_slab_free(drv_data->mem_slab, &buffer); in free_buffer() 56 ret = k_mem_slab_alloc(drv_data->mem_slab, &buffer, K_NO_WAIT); in event_handler() 371 drv_data->mem_slab = stream->mem_slab; in dmic_nrfx_pdm_configure()
|
/Zephyr-Core-3.4.0/tests/bluetooth/audio/mocks/ |
D | CMakeLists.txt | 18 src/mem_slab.c
|
/Zephyr-Core-3.4.0/tests/drivers/i2s/i2s_api/src/ |
D | common.c | 186 i2s_cfg.mem_slab = &tx_mem_slab; in configure_stream() 196 i2s_cfg.mem_slab = &rx_mem_slab; in configure_stream()
|
D | test_i2s_states.c | 27 i2s_cfg.mem_slab = &rx_mem_slab; in ZTEST_USER() 51 i2s_cfg.mem_slab = &tx_mem_slab; in ZTEST_USER()
|
/Zephyr-Core-3.4.0/samples/shields/x_nucleo_iks02a1/microphone/src/ |
D | main.c | 28 .mem_slab = &rx_mem_slab,
|
/Zephyr-Core-3.4.0/include/zephyr/audio/ |
D | dmic.h | 113 struct k_mem_slab *mem_slab; member
|
/Zephyr-Core-3.4.0/samples/boards/96b_argonkey/microphone/src/ |
D | main.c | 31 .mem_slab = &rx_mem_slab,
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/ |
D | i2s.h | 307 struct k_mem_slab *mem_slab; member
|
/Zephyr-Core-3.4.0/kernel/ |
D | CMakeLists.txt | 28 mem_slab.c
|
/Zephyr-Core-3.4.0/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 160 i2s_cfg.mem_slab = &tx_0_mem_slab; in configure_stream() 170 i2s_cfg.mem_slab = &rx_0_mem_slab; in configure_stream()
|
/Zephyr-Core-3.4.0/doc/releases/ |
D | release-notes-1.11.rst | 261 * :github:`3747` - tests/kernel/mem_slab/test_mslab_threadsafe/testcase.ini#test type:qemu-zephyr-a… 277 * :github:`4010` - [CID: 174928]: Control flow issues in /tests/kernel/mem_slab/mslab/src/slab.c
|
/Zephyr-Core-3.4.0/boards/x86/qemu_x86/ |
D | qemu_x86_tiny.ld | 555 /* For tests/kernel/mem_slab/ tests */
|