Home
last modified time | relevance | path

Searched refs:rx_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_speed/src/
Dtest_i2s_speed.c281 int rx_idx = 0; in ZTEST() local
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()
331 ret = i2s_read(dev_i2s_rx, &rx_block[rx_idx++], &rx_size); in ZTEST()
336 TC_PRINT("%d RX blocks received\n", rx_idx); in ZTEST()
340 for (rx_idx = 0; rx_idx < NUM_BLOCKS; rx_idx++) { in ZTEST()
341 ret = verify_buf((uint16_t *)rx_block[rx_idx], rx_idx % 3); in ZTEST()
343 TC_PRINT("%d RX block invalid\n", rx_idx); in ZTEST()
347 k_mem_slab_free(&rx_0_mem_slab, rx_block[rx_idx]); in ZTEST()
438 int rx_idx = 0; in ZTEST() local
[all …]
/Zephyr-Core-3.5.0/drivers/can/
Dcan_mcp2515.c708 static void mcp2515_rx(const struct device *dev, uint8_t rx_idx) in mcp2515_rx() argument
710 __ASSERT(rx_idx < MCP2515_RX_CNT, "rx_idx < MCP2515_RX_CNT"); in mcp2515_rx()
717 nm = 2 * rx_idx; in mcp2515_rx()