Lines Matching defs:tmp
207 unsigned char tmp, tmp1;
222 tmp = snd_opl3sa2_read(chip, OPL3SA2_MISC);
223 if (tmp == 0xff) {
224 snd_printd("OPL3-SA [0x%lx] detect = 0x%x\n", port, tmp);
227 switch (tmp & 0x07) {
243 snd_opl3sa2_write(chip, OPL3SA2_MISC, tmp ^ 7);
245 if (tmp1 != tmp) {
246 snd_printd("OPL3-SA [0x%lx] detect (1) = 0x%x (0x%x)\n", port, tmp, tmp1);
250 tmp = snd_opl3sa2_read(chip, OPL3SA2_MIC);
254 snd_printd("OPL3-SA [0x%lx] detect (2) = 0x%x (0x%x)\n", port, tmp, tmp1);
274 snd_opl3sa2_write(chip, OPL3SA2_MISC, 0x80 | (tmp & 7)); /* Miscellaneous - default */