Lines Matching refs:tmp
138 unsigned int reg, tmp; in snd_emu10k1_spi_write() local
158 tmp = snd_emu10k1_ptr20_read(emu, reg, 0); in snd_emu10k1_spi_write()
159 reset = (tmp & ~0x3ffff) | 0x20000; /* Set xxx20000 */ in snd_emu10k1_spi_write()
162 tmp = snd_emu10k1_ptr20_read(emu, reg, 0); /* write post */ in snd_emu10k1_spi_write()
168 tmp = snd_emu10k1_ptr20_read(emu, reg, 0); in snd_emu10k1_spi_write()
169 if (!(tmp & 0x10000)) { in snd_emu10k1_spi_write()
180 tmp = snd_emu10k1_ptr20_read(emu, reg, 0); /* Write post */ in snd_emu10k1_spi_write()
192 u32 tmp; in snd_emu10k1_i2c_write() local
206 tmp = reg << 25 | value << 16; in snd_emu10k1_i2c_write()
209 snd_emu10k1_ptr20_write(emu, P17V_I2C_1, 0, tmp); in snd_emu10k1_i2c_write()
210 tmp = snd_emu10k1_ptr20_read(emu, P17V_I2C_1, 0); /* write post */ in snd_emu10k1_i2c_write()
214 tmp = 0; in snd_emu10k1_i2c_write()
215 tmp = tmp | (I2C_A_ADC_LAST|I2C_A_ADC_START|I2C_A_ADC_ADD); in snd_emu10k1_i2c_write()
216 snd_emu10k1_ptr20_write(emu, P17V_I2C_ADDR, 0, tmp); in snd_emu10k1_i2c_write()