Searched refs:I2C_COMMAND (Results 1 – 4 of 4) sorted by relevance
46 ddbwritel(dev, (adr << 9) | cmd, i2c->regs + I2C_COMMAND); in ddb_i2c_cmd()48 val = ddbreadl(dev, i2c->regs + I2C_COMMAND); in ddb_i2c_cmd()
75 #define I2C_COMMAND (0x00) macro
20 #define I2C_COMMAND(__comm) ((__comm >> 8) & 0xff) macro
145 u8 cmd = I2C_COMMAND(reg); in m5mols_read()245 u8 cmd = I2C_COMMAND(reg); in m5mols_write()