Searched refs:R_TM (Results 1 – 4 of 4) sorted by relevance
128 regs[R_TM] &= ~0x10; in tda18271_channel_configuration()183 ret = tda18271_write_regs(fe, R_TM, 7); in tda18271_channel_configuration()216 regs[R_TM] |= 0x10; in tda18271_read_thermometer()217 tda18271_write_regs(fe, R_TM, 1); in tda18271_read_thermometer()222 if ((((regs[R_TM] & 0x0f) == 0x00) && ((regs[R_TM] & 0x20) == 0x20)) || in tda18271_read_thermometer()223 (((regs[R_TM] & 0x0f) == 0x08) && ((regs[R_TM] & 0x20) == 0x00))) { in tda18271_read_thermometer()225 if ((regs[R_TM] & 0x20) == 0x20) in tda18271_read_thermometer()226 regs[R_TM] &= ~0x20; in tda18271_read_thermometer()228 regs[R_TM] |= 0x20; in tda18271_read_thermometer()230 tda18271_write_regs(fe, R_TM, 1); in tda18271_read_thermometer()[all …]
31 #define R_TM 0x01 /* Thermo byte */ macro
73 tda_reg("THERMO_BYTE = 0x%02x\n", 0xff & regs[R_TM]); in tda18271_dump_regs()280 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()