Searched refs:buf_alloc (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/ |
D | main.c | 68 static uint8_t *buf_alloc(size_t len, bool spim) in buf_alloc() function 260 tdata.bufs[i].buf = buf_alloc(len, i < 2); in test_basic() 291 tdata.bufs[0].buf = buf_alloc(len, true); in test_basic_zero_len() 293 tdata.bufs[1].buf = buf_alloc(len, true); in test_basic_zero_len() 300 tdata.bufs[2].buf = buf_alloc(len, true); in test_basic_zero_len() 302 tdata.bufs[3].buf = buf_alloc(len, true); in test_basic_zero_len() 310 tdata.bufs[4].buf = buf_alloc(len, false); in test_basic_zero_len() 316 tdata.bufs[6].buf = buf_alloc(len, false); in test_basic_zero_len() 343 tdata.bufs[0].buf = buf_alloc(len, true); in test_short_rx() 345 tdata.bufs[1].buf = buf_alloc(len, true); in test_short_rx() [all …]
|
/Zephyr-latest/tests/drivers/spi/spi_error_cases/src/ |
D | main.c | 47 static uint8_t *buf_alloc(size_t len, bool spim) in buf_alloc() function 238 tdata.bufs[i].buf = buf_alloc(len, i < 2); in before()
|