Lines Matching refs:dev_i2s
108 static int tx_block_write_slab(const struct device *dev_i2s, int att, int err, in tx_block_write_slab() argument
115 ret = i2s_buf_write(dev_i2s, tx_block, BLOCK_SIZE); in tx_block_write_slab()
125 int tx_block_write(const struct device *dev_i2s, int att, int err) in tx_block_write() argument
127 return tx_block_write_slab(dev_i2s, att, err, &tx_mem_slab); in tx_block_write()
130 static int rx_block_read_slab(const struct device *dev_i2s, int att, in rx_block_read_slab() argument
137 ret = i2s_buf_read(dev_i2s, rx_block, &rx_size); in rx_block_read_slab()
151 int rx_block_read(const struct device *dev_i2s, int att) in rx_block_read() argument
153 return rx_block_read_slab(dev_i2s, att, &rx_mem_slab); in rx_block_read()
156 int configure_stream(const struct device *dev_i2s, enum i2s_dir dir) in configure_stream() argument
187 ret = i2s_configure(dev_i2s, I2S_DIR_TX, &i2s_cfg); in configure_stream()
197 ret = i2s_configure(dev_i2s, I2S_DIR_RX, &i2s_cfg); in configure_stream()