Searched refs:I2C_SIZE (Results 1 – 2 of 2) sorted by relevance
190 if (I2C_SIZE(reg) != 1) { in m5mols_read_u8()195 ret = m5mols_read(sd, I2C_SIZE(reg), reg, &val_32); in m5mols_read_u8()208 if (I2C_SIZE(reg) != 2) { in m5mols_read_u16()213 ret = m5mols_read(sd, I2C_SIZE(reg), reg, &val_32); in m5mols_read_u16()223 if (I2C_SIZE(reg) != 4) { in m5mols_read_u32()228 return m5mols_read(sd, I2C_SIZE(reg), reg, val); in m5mols_read_u32()246 u8 size = I2C_SIZE(reg); in m5mols_write()
21 #define I2C_SIZE(__reg_s) ((__reg_s) & 0xff) macro