Lines Matching refs:tmp
94 u8 tmp, tmp2; in ec100_set_frontend() local
123 tmp = 0xb7; in ec100_set_frontend()
127 tmp = 0x00; in ec100_set_frontend()
132 tmp = 0x49; in ec100_set_frontend()
136 ret = ec100_write_reg(state, 0x1b, tmp); in ec100_set_frontend()
181 u8 tmp; in ec100_read_status() local
184 ret = ec100_read_reg(state, 0x42, &tmp); in ec100_read_status()
188 if (tmp & 0x80) { in ec100_read_status()
193 ret = ec100_read_reg(state, 0x01, &tmp); in ec100_read_status()
197 if (tmp & 0x10) { in ec100_read_status()
200 if (!(tmp & 0x01)) { in ec100_read_status()
217 u8 tmp, tmp2; in ec100_read_ber() local
222 ret = ec100_read_reg(state, 0x65, &tmp); in ec100_read_ber()
229 ber2 = (tmp2 << 8) | tmp; in ec100_read_ber()
249 u8 tmp; in ec100_read_signal_strength() local
251 ret = ec100_read_reg(state, 0x24, &tmp); in ec100_read_signal_strength()
257 *strength = ((tmp << 8) | tmp); in ec100_read_signal_strength()
290 u8 tmp; in ec100_attach() local
302 ret = ec100_read_reg(state, 0x33, &tmp); in ec100_attach()
303 if (ret || tmp != 0x0b) in ec100_attach()