Lines Matching +full:tx +full:- +full:en +full:- +full:gpios
4 * SPDX-License-Identifier: Apache-2.0
34 static struct gpio_dt_spec sw0_spec = GPIO_DT_SPEC_GET(SW0_NODE, gpios);
39 static struct gpio_dt_spec sw1_spec = GPIO_DT_SPEC_GET(SW1_NODE, gpios);
57 printk("Echo %sabled\n", (enable ? "en" : "dis")); in sw0_handler()
77 printk("%s is not ready\n", sw0_spec.port->name); in init_buttons()
84 sw0_spec.port->name, sw0_spec.pin, ret); in init_buttons()
92 sw0_spec.port->name, sw0_spec.pin, ret); in init_buttons()
98 printk("Press \"%s\" to toggle the echo effect\n", sw0_spec.port->name); in init_buttons()
105 printk("%s is not ready\n", sw1_spec.port->name); in init_buttons()
112 sw1_spec.port->name, sw1_spec.pin, ret); in init_buttons()
120 sw1_spec.port->name, sw1_spec.pin, ret); in init_buttons()
126 printk("Press \"%s\" to stop/restart I2S streams\n", sw1_spec.port->name); in init_buttons()
162 /* -ENOSYS means that the RX and TX streams need to be in configure_streams()
165 if (ret != -ENOSYS) { in configure_streams()
179 printk("Failed to configure TX stream: %d\n", ret); in configure_streams()
196 printk("Failed to allocate TX block %d: %d\n", i, ret); in prepare_transfer()
223 /* -ENOSYS means that commands for the RX and TX streams need in trigger_command()
226 if (ret != -ENOSYS) { in trigger_command()
240 printk("Failed to trigger command %d on TX: %d\n", cmd, ret); in trigger_command()
266 printk("%s is not ready\n", i2s_dev_rx->name); in main()
271 printk("%s is not ready\n", i2s_dev_tx->name); in main()