Searched refs:i2c_cmd (Results 1 – 4 of 4) sorted by relevance
46 enum i2c_cmd { enum81 enum i2c_cmd i2c_cmd : 4; member157 enum i2c_cmd reqcmd;190 int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd);
257 unsigned int i2c_cmd, val; in owl_i2c_xfer_common() local307 i2c_cmd = OWL_I2C_CMD_SECL | OWL_I2C_CMD_MSS | OWL_I2C_CMD_SE | in owl_i2c_xfer_common()313 i2c_cmd |= OWL_I2C_CMD_AS(msgs[0].len + 1) | in owl_i2c_xfer_common()328 i2c_cmd |= OWL_I2C_CMD_AS(1); in owl_i2c_xfer_common()365 writel(i2c_cmd, i2c_dev->base + OWL_I2C_REG_CMD); in owl_i2c_xfer_common()
48 i2c_common->reqcmd = i2c_cmd_base.s.i2c_cmd; in amd_mp2_cmd()65 i2c_cmd_base.s.i2c_cmd = enable ? i2c_enable : i2c_disable; in amd_mp2_bus_enable_set()77 enum i2c_cmd reqcmd) in amd_mp2_cmd_rw_fill()79 i2c_cmd_base->s.i2c_cmd = reqcmd; in amd_mp2_cmd_rw_fill()86 int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd) in amd_mp2_rw()
1908 static int i2c_cmd(struct device *dev, void *_arg) in i2c_cmd() function1929 device_for_each_child(&adap->dev, &cmd_arg, i2c_cmd); in i2c_clients_command()