tag | line | file | source code |
tmp1 | 155 | arch/sparc/kernel/idprom.c | int tmp1, tmp2; |
tmp1 | 161 | arch/sparc/kernel/idprom.c | (char *) &tmp1, sizeof(int)); |
tmp1 | 162 | arch/sparc/kernel/idprom.c | if(len != 4) tmp1=0; |
tmp1 | 168 | arch/sparc/kernel/idprom.c | return (tmp1|tmp2); |
tmp1 | 1135 | drivers/sound/ad1848.c | unsigned char tmp1 = 0xff, tmp2 = 0xff; |
tmp1 | 1191 | drivers/sound/ad1848.c | if ((tmp1 = ad_read (devc, 0)) != 0xaa || (tmp2 = ad_read (devc, 1)) != 0x45) |
tmp1 | 1193 | drivers/sound/ad1848.c | DDB (printk ("ad1848 detect error - step B (%x/%x)\n", tmp1, tmp2)); |
tmp1 | 1201 | drivers/sound/ad1848.c | if ((tmp1 = ad_read (devc, 0)) != 0x45 || (tmp2 = ad_read (devc, 1)) != 0xaa) |
tmp1 | 1203 | drivers/sound/ad1848.c | DDB (printk ("ad1848 detect error - step C (%x/%x)\n", tmp1, tmp2)); |
tmp1 | 1216 | drivers/sound/ad1848.c | if ((tmp & 0x0f) != ((tmp1 = ad_read (devc, 12)) & 0x0f)) |
tmp1 | 1218 | drivers/sound/ad1848.c | DDB (printk ("ad1848 detect error - step D (%x)\n", tmp1)); |
tmp1 | 1238 | drivers/sound/ad1848.c | if ((tmp1 = ad_read (devc, i)) != (tmp2 = ad_read (devc, i + 16))) |
tmp1 | 1240 | drivers/sound/ad1848.c | DDB (printk ("ad1848 detect error - step F(%d/%x/%x)\n", i, tmp1, tmp2)); |
tmp1 | 1252 | drivers/sound/ad1848.c | tmp1 = ad_read (devc, 12); |
tmp1 | 1253 | drivers/sound/ad1848.c | if (tmp1 & 0x80) |
tmp1 | 1261 | drivers/sound/ad1848.c | if ((tmp1 & 0xc0) == (0x80 | 0x40)) |
tmp1 | 1272 | drivers/sound/ad1848.c | if ((tmp1 = ad_read (devc, 16)) != 0x45) /* No change -> CS4231? */ |
tmp1 | 1276 | drivers/sound/ad1848.c | if ((tmp1 = ad_read (devc, 16)) == 0xaa) /* Rotten bits? */ |
tmp1 | 1278 | drivers/sound/ad1848.c | DDB (printk ("ad1848 detect error - step H(%x)\n", tmp1)); |
tmp1 | 1287 | drivers/sound/ad1848.c | tmp1 = ad_read (devc, 25); /* Original bits */ |
tmp1 | 1288 | drivers/sound/ad1848.c | ad_write (devc, 25, ~tmp1); /* Invert all bits */ |
tmp1 | 1289 | drivers/sound/ad1848.c | if ((ad_read (devc, 25) & 0xe7) == (tmp1 & 0xe7)) |
tmp1 | 1354 | drivers/sound/ad1848.c | ad_write (devc, 25, tmp1); /* Restore bits */ |
tmp1 | 170 | drivers/sound/maui.c | int tmp1, tmp2; |
tmp1 | 188 | drivers/sound/maui.c | if ((tmp1 = maui_read ()) == -1 || (tmp2 = maui_read ()) == -1) |
tmp1 | 195 | drivers/sound/maui.c | printk ("WaveFront hardware version %d.%d\n", tmp1, tmp2); |
tmp1 | 199 | drivers/sound/maui.c | if ((tmp1 = maui_read ()) == -1 || (tmp2 = maui_read ()) == -1) |
tmp1 | 203 | drivers/sound/maui.c | printk ("WaveFront firmware version %d.%d\n", tmp1, tmp2); |
tmp1 | 207 | drivers/sound/maui.c | tmp1 = 0; |
tmp1 | 210 | drivers/sound/maui.c | tmp1 |= maui_read () << (7 * i); |
tmp1 | 213 | drivers/sound/maui.c | printk ("Available DRAM %dk\n", tmp1 / 1024); |