Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/samples/boards/litex/i2s/src/
Dmain.c25 static const struct device *host_i2s_tx_dev; variable
62 host_i2s_tx_dev = device_get_binding("i2s_tx"); in init()
63 if (!host_i2s_tx_dev) { in init()
79 ret = i2s_configure(host_i2s_tx_dev, I2S_DIR_TX, &i2s_tx_cfg); in init()
98 ret = i2s_trigger(host_i2s_tx_dev, I2S_DIR_TX, I2S_TRIGGER_START); in main()
112 i2s_write(host_i2s_tx_dev, tx_mem_block, size); in main()