Lines Matching refs:tmp2
240 u8 tmp1, tmp2;
246 tmp2 = 0xa5;
249 sram_write(adapter, addr, &tmp2, 1);
252 tmp2 = 0;
255 sram_read(adapter, addr, &tmp2, 1);
256 sram_read(adapter, addr, &tmp2, 1);
258 dprintk("%s: wrote 0xa5, read 0x%2x\n", __func__, tmp2);
260 if (tmp2 != 0xa5)
263 tmp2 = 0x5a;
266 sram_write(adapter, addr, &tmp2, 1);
269 tmp2 = 0;
272 sram_read(adapter, addr, &tmp2, 1);
273 sram_read(adapter, addr, &tmp2, 1);
275 dprintk("%s: wrote 0x5a, read 0x%2x\n", __func__, tmp2);
277 if (tmp2 != 0x5a)
316 write_reg_dw(adapter, 0x71c, tmp2);