Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-mlxbf.c1575 u32 slave_reg, slave_reg_tmp; in mlxbf_i2c_slave_enable() local
1590 slave_reg = readl(priv->slv->io + in mlxbf_i2c_slave_enable()
1597 slave_reg_tmp = slave_reg; in mlxbf_i2c_slave_enable()
1609 slave_reg &= ~(MLXBF_I2C_SMBUS_SLAVE_ADDR_MASK << (byte * 8)); in mlxbf_i2c_slave_enable()
1610 slave_reg |= (slave->addr << (byte * 8)); in mlxbf_i2c_slave_enable()
1611 slave_reg |= MLXBF_I2C_SMBUS_SLAVE_ADDR_EN_BIT << (byte * 8); in mlxbf_i2c_slave_enable()
1612 writel(slave_reg, priv->slv->io + in mlxbf_i2c_slave_enable()
1635 u32 slave_reg, slave_reg_tmp; in mlxbf_i2c_slave_disable() local
1647 slave_reg = readl(priv->slv->io + in mlxbf_i2c_slave_disable()
1651 if (!slave_reg) in mlxbf_i2c_slave_disable()
[all …]
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c115 u8 slave_reg; member
365 i2c->slave_reg = 0x00; in dw_hdmi_i2c_read()
372 hdmi_writeb(hdmi, i2c->slave_reg++, HDMI_I2CM_ADDRESS); in dw_hdmi_i2c_read()
399 i2c->slave_reg = buf[0]; in dw_hdmi_i2c_write()
409 hdmi_writeb(hdmi, i2c->slave_reg++, HDMI_I2CM_ADDRESS); in dw_hdmi_i2c_write()