Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/src/
Dmain.c24 static const struct device *host_i2s_rx_dev; variable
37 host_i2s_rx_dev = device_get_binding("i2s_rx"); in init()
38 if (!host_i2s_rx_dev) { in init()
54 ret = i2s_configure(host_i2s_rx_dev, I2S_DIR_RX, &i2s_rx_cfg); in init()
91 ret = i2s_trigger(host_i2s_rx_dev, I2S_DIR_RX, I2S_TRIGGER_START); in main()
110 i2s_read(host_i2s_rx_dev, &rx_mem_block, &size); in main()