Searched refs:R_TM (Results 1 – 4 of 4) sorted by relevance
130 regs[R_TM] &= ~0x10; in tda18271_channel_configuration()185 ret = tda18271_write_regs(fe, R_TM, 7); in tda18271_channel_configuration()218 regs[R_TM] |= 0x10; in tda18271_read_thermometer()219 tda18271_write_regs(fe, R_TM, 1); in tda18271_read_thermometer()224 if ((((regs[R_TM] & 0x0f) == 0x00) && ((regs[R_TM] & 0x20) == 0x20)) || in tda18271_read_thermometer()225 (((regs[R_TM] & 0x0f) == 0x08) && ((regs[R_TM] & 0x20) == 0x00))) { in tda18271_read_thermometer()227 if ((regs[R_TM] & 0x20) == 0x20) in tda18271_read_thermometer()228 regs[R_TM] &= ~0x20; in tda18271_read_thermometer()230 regs[R_TM] |= 0x20; in tda18271_read_thermometer()232 tda18271_write_regs(fe, R_TM, 1); in tda18271_read_thermometer()[all …]
33 #define R_TM 0x01 /* Thermo byte */ macro
73 tda_reg("THERMO_BYTE = 0x%02x\n", 0xff & regs[R_TM]); in tda18271_dump_regs()315 regs[R_TM] = 0x08; in tda18271_init_regs()
938 while (tda18271_thermometer[i].d < (regs[R_TM] & 0x0f)) { in tda18271_lookup_thermometer()944 if ((regs[R_TM] & 0x20) == 0x20) in tda18271_lookup_thermometer()