Searched refs:i2c_readl (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-tegra.c | 263 static u32 i2c_readl(struct tegra_i2c_dev *i2c_dev, unsigned long reg) in i2c_readl() function 284 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) & ~mask; in tegra_i2c_mask_irq() 292 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) | mask; in tegra_i2c_unmask_irq() 312 val = i2c_readl(i2c_dev, offset); in tegra_i2c_flush_fifos() 316 while (i2c_readl(i2c_dev, offset) & mask) { in tegra_i2c_flush_fifos() 335 val = i2c_readl(i2c_dev, I2C_MST_FIFO_STATUS); in tegra_i2c_empty_rx_fifo() 339 val = i2c_readl(i2c_dev, I2C_FIFO_STATUS); in tegra_i2c_empty_rx_fifo() 361 val = i2c_readl(i2c_dev, I2C_RX_FIFO); in tegra_i2c_empty_rx_fifo() 384 val = i2c_readl(i2c_dev, I2C_MST_FIFO_STATUS); in tegra_i2c_fill_tx_fifo() 388 val = i2c_readl(i2c_dev, I2C_FIFO_STATUS); in tegra_i2c_fill_tx_fifo() [all …]
|
D | i2c-rk3x.c | 232 static inline u32 i2c_readl(struct rk3x_i2c *i2c, unsigned int offset) in i2c_readl() function 249 u32 val = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_start() 282 ctrl = i2c_readl(i2c, REG_CON); in rk3x_i2c_stop() 295 ctrl = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; in rk3x_i2c_stop() 312 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_prepare_read() 386 i2c_writel(i2c, i2c_readl(i2c, REG_CON) & ~REG_CON_START, REG_CON); in rk3x_i2c_handle_start() 441 val = i2c_readl(i2c, RXBUFFER_BASE + (i / 4) * 4); in rk3x_i2c_handle_read() 469 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_handle_stop() 487 ipd = i2c_readl(i2c, REG_IPD); in rk3x_i2c_irq() 889 val = i2c_readl(i2c, REG_CON); in rk3x_i2c_adapt_div() [all …]
|