Home
last modified time | relevance | path

Searched refs:MAX_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dmain.c33 #define MAX_BLOCK_SIZE ((SAMPLES_PER_SOF + 1) * BYTES_PER_SLOT) macro
41 K_MEM_SLAB_DEFINE_STATIC(i2s_tx_slab, MAX_BLOCK_SIZE, I2S_BLOCKS, 4);
42 K_MEM_SLAB_DEFINE_STATIC(i2s_rx_slab, MAX_BLOCK_SIZE, I2S_BLOCKS, 4);
114 __ASSERT_NO_MSG(size <= MAX_BLOCK_SIZE); in uac2_get_recv_buf()
357 if (leftover_samples > (MAX_BLOCK_SIZE / BYTES_PER_SAMPLE)) { in process_mic_data()
359 leftover_samples - (MAX_BLOCK_SIZE / BYTES_PER_SAMPLE); in process_mic_data()
370 leftover_samples = (MAX_BLOCK_SIZE / BYTES_PER_SAMPLE); in process_mic_data()
539 config.block_size = MAX_BLOCK_SIZE; in main()
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/
Dmain.c31 #define MAX_BLOCK_SIZE ((SAMPLES_PER_SOF + 1) * BYTES_PER_SLOT) macro
39 K_MEM_SLAB_DEFINE_STATIC(i2s_tx_slab, ROUND_UP(MAX_BLOCK_SIZE, UDC_BUF_GRANULARITY),
85 __ASSERT_NO_MSG(size <= MAX_BLOCK_SIZE); in uac2_get_recv_buf()
276 config.block_size = MAX_BLOCK_SIZE; in main()
/Zephyr-latest/samples/drivers/audio/dmic/src/
Dmain.c27 #define MAX_BLOCK_SIZE BLOCK_SIZE(MAX_SAMPLE_RATE, 2) macro
29 K_MEM_SLAB_DEFINE_STATIC(mem_slab, MAX_BLOCK_SIZE, BLOCK_COUNT, 4);
/Zephyr-latest/tests/drivers/audio/dmic_api/src/
Dmain.c37 #define MAX_BLOCK_SIZE BLOCK_SIZE(MAX_SAMPLE_RATE, PDM_CHANNELS) macro
39 K_MEM_SLAB_DEFINE_STATIC(mem_slab, MAX_BLOCK_SIZE, BLOCK_COUNT, SLAB_ALIGN);