Searched refs:dev_i2s_rx (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_states.c | 29 ret = i2s_configure(dev_i2s_rx, I2S_DIR_RX, &i2s_cfg); in ZTEST_USER() 32 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER() 35 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DRAIN); in ZTEST_USER() 38 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER() 41 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DROP); in ZTEST_USER() 44 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_PREPARE); in ZTEST_USER() 47 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER() 84 ret = configure_stream(dev_i2s_rx, I2S_DIR_RX); in ZTEST_USER() 89 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DRAIN); in ZTEST_USER() 92 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER() [all …]
|
D | test_i2s_loopback.c | 41 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER() 48 ret = rx_block_read(dev_i2s_rx, 0); in ZTEST_USER() 60 ret = rx_block_read(dev_i2s_rx, 1); in ZTEST_USER() 65 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER() 68 ret = rx_block_read(dev_i2s_rx, 2); in ZTEST_USER() 102 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER() 113 ret = rx_block_read(dev_i2s_rx, 0); in ZTEST_USER() 122 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER() 125 ret = rx_block_read(dev_i2s_rx, 0); in ZTEST_USER() 168 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER() [all …]
|
D | main.c | 13 ZTEST_DMEM const struct device *dev_i2s_rx = variable 25 k_object_access_grant(dev_i2s_rx, k_current_get()); in setup() 37 zassert_not_null(dev_i2s_rx, "RX device not found"); in before() 38 zassert_true(device_is_ready(dev_i2s_rx), in before() 39 "device %s is not ready", dev_i2s_rx->name); in before() 44 ret = configure_stream(dev_i2s_rx, I2S_DIR_RX); in before()
|
D | i2s_api_test.h | 24 extern const struct device *dev_i2s_rx;
|
/Zephyr-latest/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 73 static const struct device *dev_i2s_rx; variable 217 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST() 228 ret = i2s_read(dev_i2s_rx, &rx_block[0], &rx_size); in ZTEST() 232 ret = i2s_read(dev_i2s_rx, &rx_block[1], &rx_size); in ZTEST() 237 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST() 240 ret = i2s_read(dev_i2s_rx, &rx_block[2], &rx_size); in ZTEST() 303 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST() 314 ret = i2s_read(dev_i2s_rx, &rx_block[rx_idx++], &rx_size); in ZTEST() 323 ret = i2s_read(dev_i2s_rx, &rx_block[rx_idx++], &rx_size); in ZTEST() 328 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST() [all …]
|