Home
last modified time | relevance | path

Searched refs:blk_size (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/rtio/
Drtio.h825 #define RTIO_DEFINE_WITH_MEMPOOL(name, sq_sz, cq_sz, num_blks, blk_size, balign) \ argument
828 Z_RTIO_BLOCK_POOL_DEFINE(name##_block_pool, blk_size, num_blks, balign); \
1077 uint32_t blk_size = rtio_mempool_block_size(r); in z_impl_rtio_cqe_get_mempool_buffer() local
1079 *buff = r->block_pool->buffer + blk_idx * blk_size; in z_impl_rtio_cqe_get_mempool_buffer()
1080 *buff_len = blk_count * blk_size; in z_impl_rtio_cqe_get_mempool_buffer()
1083 r->block_pool->buffer + blk_size * r->block_pool->info.num_blocks); in z_impl_rtio_cqe_get_mempool_buffer()
1165 #define __RTIO_MEMPOOL_GET_NUM_BLKS(num_bytes, blk_size) (((num_bytes) + (blk_size)-1) / (blk_size)) argument
/Zephyr-Core-3.7.0/lib/mem_blocks/
Dmem_blocks.c348 size_t *blk_size) in sys_multi_mem_blocks_alloc() argument
357 if (blk_size != NULL) { in sys_multi_mem_blocks_alloc()
358 *blk_size = 0; in sys_multi_mem_blocks_alloc()
376 if ((ret == 0) && (blk_size != NULL)) { in sys_multi_mem_blocks_alloc()
377 *blk_size = BIT(allocator->info.blk_sz_shift); in sys_multi_mem_blocks_alloc()
/Zephyr-Core-3.7.0/tests/lib/mem_blocks/src/
Dmain.c600 size_t blk_size; in ZTEST() local
603 1, blocks[0], &blk_size); in ZTEST()
608 1, blocks[0], &blk_size); in ZTEST()
613 zassert_equal(blk_size, BLK_SZ, in ZTEST()
617 1, blocks[1], &blk_size); in ZTEST()
622 zassert_equal(blk_size, BLK_SZ, in ZTEST()
/Zephyr-Core-3.7.0/subsys/sd/
Dsd_ops.c93 uint16_t *blk_size) in sdmmc_decode_csd() argument
138 if (blk_size) { in sdmmc_decode_csd()
139 *blk_size = tmp_blk_size; in sdmmc_decode_csd()
152 if (blk_size) { in sdmmc_decode_csd()
153 *blk_size = tmp_blk_size; in sdmmc_decode_csd()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dmem_blocks.h383 size_t *blk_size);
/Zephyr-Core-3.7.0/drivers/i2s/
Di2s_ll_stm32.c490 uint32_t blk_size) in reload_dma() argument
494 ret = dma_reload(dev_dma, channel, (uint32_t)src, (uint32_t)dst, blk_size); in reload_dma()
508 uint32_t blk_size) in start_dma() argument
514 blk_cfg.block_size = blk_size; in start_dma()
Di2s_sam_ssc.c182 uint32_t blk_size) in start_dma() argument
188 blk_cfg.block_size = blk_size; in start_dma()
/Zephyr-Core-3.7.0/doc/kernel/memory_management/
Dsys_mem_blocks.rst189 size_t blk_size;
192 1, blocks, &blk_size);