| H A D | tda18271c2dd.c | 125 u8 SubAddr, u8 *Regs, u16 nRegs) in WriteRegs() argument 137 memcpy(data + 1, Regs, nRegs); in WriteRegs() 148 static int Read(struct tda_state *state, u8 * Regs) in Read() argument 150 return i2c_readn(state->i2c, state->adr, Regs, 16); in Read() 153 static int ReadExtented(struct tda_state *state, u8 * Regs) in ReadExtented() argument 155 return i2c_readn(state->i2c, state->adr, Regs, NUM_REGS); in ReadExtented() 258 u8 Regs[16]; in ThermometerRead() local 263 status = Read(state, Regs); in ThermometerRead() 266 if (((Regs[TM] & 0x0F) == 0 && (Regs[TM] & 0x20) == 0x20) || in ThermometerRead() 267 ((Regs[TM] & 0x0F) == 8 && (Regs[TM] & 0x20) == 0x00)) { in ThermometerRead() [all …]
|