Lines Matching +full:tx +full:- +full:fifo +full:- +full:depth
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
183 * struct dw_i2c_dev - private i2c-designware data
189 * @cmd_complete: tx completion indicator
196 * @msg_write_idx: the element index of the current tx message in the msgs
198 * @tx_buf_len: the length of the current tx buffer
199 * @tx_buf: the current tx buffer
210 * @tx_fifo_depth: depth of the hardware tx fifo
211 * @rx_fifo_depth: depth of the hardware rx fifo
212 * @rx_outstanding: current master-rx elements in tx fifo
229 * @mode: operation mode - DW_IC_MASTER or DW_IC_SLAVE
315 regmap_write(dev->map, DW_IC_ENABLE, 1); in __i2c_dw_enable()
320 regmap_write(dev->map, DW_IC_ENABLE, 0); in __i2c_dw_disable_nowait()
333 static inline int i2c_dw_probe_slave(struct dw_i2c_dev *dev) { return -EINVAL; } in i2c_dw_probe_slave()
338 switch (dev->mode) { in i2c_dw_probe()
344 dev_err(dev->dev, "Wrong operation mode: %d\n", dev->mode); in i2c_dw_probe()
345 return -EINVAL; in i2c_dw_probe()
351 if (i2c_detect_slave_mode(dev->dev)) in i2c_dw_configure()
369 static inline int i2c_dw_acpi_configure(struct device *device) { return -ENODEV; } in i2c_dw_acpi_configure()