Searched refs:i2c_readl (Results 1 – 2 of 2) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-tegra.c | 210 static u32 i2c_readl(struct tegra_i2c_dev *i2c_dev, unsigned long reg) in i2c_readl() function 229 u32 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK); in tegra_i2c_mask_irq() 236 u32 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK); in tegra_i2c_unmask_irq() 244 u32 val = i2c_readl(i2c_dev, I2C_FIFO_CONTROL); in tegra_i2c_flush_fifos() 248 while (i2c_readl(i2c_dev, I2C_FIFO_CONTROL) & in tegra_i2c_flush_fifos() 267 val = i2c_readl(i2c_dev, I2C_FIFO_STATUS); in tegra_i2c_empty_rx_fifo() 288 val = i2c_readl(i2c_dev, I2C_RX_FIFO); in tegra_i2c_empty_rx_fifo() 308 val = i2c_readl(i2c_dev, I2C_FIFO_STATUS); in tegra_i2c_fill_tx_fifo() 437 u32 sl_cfg = i2c_readl(i2c_dev, I2C_SL_CNFG); in tegra_i2c_init() 468 status = i2c_readl(i2c_dev, I2C_INT_STATUS); in tegra_i2c_isr() [all …]
|
D | i2c-rk3x.c | 127 static inline u32 i2c_readl(struct rk3x_i2c *i2c, unsigned int offset) in i2c_readl() function 177 ctrl = i2c_readl(i2c, REG_CON); in rk3x_i2c_stop() 205 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_prepare_read() 278 i2c_writel(i2c, i2c_readl(i2c, REG_CON) & ~REG_CON_START, REG_CON); in rk3x_i2c_handle_start() 333 val = i2c_readl(i2c, RXBUFFER_BASE + (i / 4) * 4); in rk3x_i2c_handle_read() 361 con = i2c_readl(i2c, REG_CON); in rk3x_i2c_handle_stop() 379 ipd = i2c_readl(i2c, REG_IPD); in rk3x_i2c_irq() 570 i2c_readl(i2c, REG_IPD), i2c->state); in rk3x_i2c_xfer()
|