Lines Matching refs:Regs
125 u8 SubAddr, u8 *Regs, u16 nRegs)
137 memcpy(data + 1, Regs, nRegs);
148 static int Read(struct tda_state *state, u8 * Regs)
150 return i2c_readn(state->i2c, state->adr, Regs, 16);
153 static int ReadExtented(struct tda_state *state, u8 * Regs)
155 return i2c_readn(state->i2c, state->adr, Regs, NUM_REGS);
258 u8 Regs[16];
263 status = Read(state, Regs);
266 if (((Regs[TM] & 0x0F) == 0 && (Regs[TM] & 0x20) == 0x20) ||
267 ((Regs[TM] & 0x0F) == 8 && (Regs[TM] & 0x20) == 0x00)) {
273 status = Read(state, Regs);
277 *pTM_Value = (Regs[TM] & 0x20)
278 ? m_Thermometer_Map_2[Regs[TM] & 0x0F]
279 : m_Thermometer_Map_1[Regs[TM] & 0x0F] ;
370 u8 Regs[NUM_REGS];
484 status = ReadExtented(state, Regs);
488 *pCprog = Regs[EB14];
592 u8 Regs[NUM_REGS];
627 status = ReadExtented(state, Regs);
630 CID_Gain = Regs[EB10] & 0x3F;
631 state->m_Regs[ID] = Regs[ID]; /* Chip version, (needed for C1 workaround in CalibrateRF) */
645 status = ReadExtented(state, Regs);
648 CID_Gain = Regs[EB10] & 0x3F;