Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/ !
Di2c-aspeed.c623 u32 addr_reg_val, func_ctrl_reg_val; in __aspeed_i2c_reg_slave() local
632 func_ctrl_reg_val = readl(bus->base + ASPEED_I2C_FUN_CTRL_REG); in __aspeed_i2c_reg_slave()
633 func_ctrl_reg_val |= ASPEED_I2CD_SLAVE_EN; in __aspeed_i2c_reg_slave()
634 writel(func_ctrl_reg_val, bus->base + ASPEED_I2C_FUN_CTRL_REG); in __aspeed_i2c_reg_slave()
660 u32 func_ctrl_reg_val; in aspeed_i2c_unreg_slave() local
670 func_ctrl_reg_val = readl(bus->base + ASPEED_I2C_FUN_CTRL_REG); in aspeed_i2c_unreg_slave()
671 func_ctrl_reg_val &= ~ASPEED_I2CD_SLAVE_EN; in aspeed_i2c_unreg_slave()
672 writel(func_ctrl_reg_val, bus->base + ASPEED_I2C_FUN_CTRL_REG); in aspeed_i2c_unreg_slave()