Home
last modified time | relevance | path

Searched refs:dev_i2s_tx (Results 1 – 5 of 5) sorted by relevance

/tests/drivers/i2s/i2s_api/src/
A Dtest_i2s_states.c53 ret = i2s_configure(dev_i2s_tx, I2S_DIR_TX, &i2s_cfg); in ZTEST_USER()
71 ret = tx_block_write(dev_i2s_tx, 2, -EIO); in ZTEST_USER()
99 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in ZTEST_USER()
131 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
143 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
188 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
199 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
260 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
272 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
307 ret = tx_block_write(dev_i2s_tx, 2, -EIO); in ZTEST_USER()
[all …]
A Dtest_i2s_loopback.c32 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
36 ret = tx_block_write(dev_i2s_tx, 1, 0); in ZTEST_USER()
52 ret = tx_block_write(dev_i2s_tx, 2, 0); in ZTEST_USER()
98 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
110 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
220 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
224 ret = tx_block_write(dev_i2s_tx, 1, 0); in ZTEST_USER()
256 ret = tx_block_write(dev_i2s_tx, 2, 0); in ZTEST_USER()
307 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
349 ret = tx_block_write(dev_i2s_tx, 0, 0); in ZTEST_USER()
[all …]
A Dmain.c15 ZTEST_DMEM const struct device *dev_i2s_tx = variable
26 k_object_access_grant(dev_i2s_tx, k_current_get()); in setup()
40 zassert_not_null(dev_i2s_tx, "TX device not found"); in before()
41 zassert_true(device_is_ready(dev_i2s_tx), in before()
42 "device %s is not ready", dev_i2s_tx->name); in before()
47 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in before()
A Di2s_api_test.h25 extern const struct device *dev_i2s_tx;
/tests/drivers/i2s/i2s_speed/src/
A Dtest_i2s_speed.c74 static const struct device *dev_i2s_tx; variable
206 ret = i2s_write(dev_i2s_tx, tx_block, BLOCK_SIZE); in i2s_transfer_short()
217 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in i2s_transfer_short()
221 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in i2s_transfer_short()
404 ret = i2s_write(dev_i2s_tx, tx_block[tx_idx++], BLOCK_SIZE); in ZTEST()
407 ret = i2s_write(dev_i2s_tx, tx_block[tx_idx++], BLOCK_SIZE); in ZTEST()
415 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST()
419 ret = i2s_write(dev_i2s_tx, tx_block[tx_idx++], BLOCK_SIZE); in ZTEST()
428 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST()
704 dev_i2s_tx = DEVICE_DT_GET_OR_NULL(I2S_DEV_NODE_TX); in test_i2s_speed_configure()
[all …]

Completed in 778 milliseconds