Home
last modified time | relevance | path

Searched refs:i2c_readl (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/i2c/busses/
Di2c-tegra.c338 static u32 i2c_readl(struct tegra_i2c_dev *i2c_dev, unsigned int reg) in i2c_readl() function
374 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) & ~mask; in tegra_i2c_mask_irq()
382 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) | mask; in tegra_i2c_unmask_irq()
575 val = i2c_readl(i2c_dev, offset); in tegra_i2c_flush_fifos()
694 u32 sl_cfg = i2c_readl(i2c_dev, I2C_SL_CNFG); in tegra_i2c_init()
728 cnfg = i2c_readl(i2c_dev, I2C_CNFG); in tegra_i2c_disable_packet_mode()
750 val = i2c_readl(i2c_dev, I2C_MST_FIFO_STATUS); in tegra_i2c_empty_rx_fifo()
753 val = i2c_readl(i2c_dev, I2C_FIFO_STATUS); in tegra_i2c_empty_rx_fifo()
778 val = i2c_readl(i2c_dev, I2C_RX_FIFO); in tegra_i2c_empty_rx_fifo()
803 val = i2c_readl(i2c_dev, I2C_MST_FIFO_STATUS); in tegra_i2c_fill_tx_fifo()
[all …]
Di2c-rk3x.c232 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 …]