Searched refs:i2c_writel (Results 1 – 2 of 2) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-rk3x.c | 121 static inline void i2c_writel(struct rk3x_i2c *i2c, u32 value, in i2c_writel() function 135 i2c_writel(i2c, REG_INT_ALL, REG_IPD); in rk3x_i2c_clean_ipd() 146 i2c_writel(i2c, REG_INT_START, REG_IEN); in rk3x_i2c_start() 155 i2c_writel(i2c, val, REG_CON); in rk3x_i2c_start() 173 i2c_writel(i2c, REG_INT_STOP, REG_IEN); in rk3x_i2c_stop() 179 i2c_writel(i2c, ctrl, REG_CON); in rk3x_i2c_stop() 190 i2c_writel(i2c, 0, REG_CON); in rk3x_i2c_stop() 224 i2c_writel(i2c, con, REG_CON); in rk3x_i2c_prepare_read() 225 i2c_writel(i2c, len, REG_MRXCNT); in rk3x_i2c_prepare_read() 253 i2c_writel(i2c, val, TXBUFFER_BASE + 4 * i); in rk3x_i2c_fill_transmit_buf() [all …]
|
D | i2c-tegra.c | 200 static void i2c_writel(struct tegra_i2c_dev *i2c_dev, u32 val, in i2c_writel() function 231 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_mask_irq() 238 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_unmask_irq() 246 i2c_writel(i2c_dev, val, I2C_FIFO_CONTROL); in tegra_i2c_flush_fifos() 353 i2c_writel(i2c_dev, val, I2C_TX_FIFO); in tegra_i2c_fill_tx_fifo() 427 i2c_writel(i2c_dev, val, I2C_CNFG); in tegra_i2c_init() 428 i2c_writel(i2c_dev, 0, I2C_INT_MASK); in tegra_i2c_init() 434 i2c_writel(i2c_dev, clk_divisor, I2C_CLK_DIVISOR); in tegra_i2c_init() 439 i2c_writel(i2c_dev, sl_cfg, I2C_SL_CNFG); in tegra_i2c_init() 440 i2c_writel(i2c_dev, 0xfc, I2C_SL_ADDR1); in tegra_i2c_init() [all …]
|