Searched refs:BLOCK_COUNT (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/util/ |
D | mem.c | 143 #define BLOCK_COUNT 10 in mem_ut() macro 144 uint8_t MALIGN(4) pool[BLOCK_COUNT][BLOCK_SIZE]; in mem_ut() 150 mem_init(pool, BLOCK_SIZE, BLOCK_COUNT, &mem_free); in mem_ut() 153 if (mem_free_count != BLOCK_COUNT) { in mem_ut() 176 while (++mem_free_count < BLOCK_COUNT) { in mem_ut() 193 if (mem_free_count_get(mem_free) != BLOCK_COUNT) { in mem_ut()
|
/Zephyr-Core-3.7.0/samples/drivers/audio/dmic/src/ |
D | main.c | 28 #define BLOCK_COUNT 4 macro 29 K_MEM_SLAB_DEFINE_STATIC(mem_slab, MAX_BLOCK_SIZE, BLOCK_COUNT, 4); 116 ret = do_pdm_transfer(dmic_dev, &cfg, 2 * BLOCK_COUNT); in main() 129 ret = do_pdm_transfer(dmic_dev, &cfg, 2 * BLOCK_COUNT); in main()
|
/Zephyr-Core-3.7.0/tests/drivers/audio/dmic_api/src/ |
D | main.c | 38 #define BLOCK_COUNT 8 macro 39 K_MEM_SLAB_DEFINE_STATIC(mem_slab, MAX_BLOCK_SIZE, BLOCK_COUNT, SLAB_ALIGN); 110 for (int i = 0; i < (2 * BLOCK_COUNT); i++) { in do_pdm_transfer() 218 for (i = 0; i < (2 * BLOCK_COUNT); i++) { in ZTEST() 231 for (i = 0; i < (2 * BLOCK_COUNT); i++) { in ZTEST() 239 TC_PRINT("%d reads completed\n", (2 * BLOCK_COUNT)); in ZTEST() 251 for (i = 0; i < (2 * BLOCK_COUNT); i++) { in ZTEST() 259 TC_PRINT("%d reads completed\n", (2 * BLOCK_COUNT)); in ZTEST()
|
/Zephyr-Core-3.7.0/samples/drivers/i2s/echo/src/ |
D | main.c | 43 #define BLOCK_COUNT (INITIAL_BLOCKS + 2) macro 44 K_MEM_SLAB_DEFINE_STATIC(mem_slab, BLOCK_SIZE, BLOCK_COUNT, 4);
|