Lines Matching refs:tmp2
1537 unsigned char tmp1 = 0xff, tmp2 = 0xff; in ad1848_detect() local
1636 if ((tmp1 = ad_read(devc, 0)) != 0xaa || (tmp2 = ad_read(devc, 1)) != 0x45) in ad1848_detect()
1638 if (tmp2 == 0x65) /* AD1847 has couple of bits hardcoded to 1 */ in ad1848_detect()
1642 DDB(printk("ad1848 detect error - step B (%x/%x)\n", tmp1, tmp2)); in ad1848_detect()
1650 if ((tmp1 = ad_read(devc, 0)) != 0x45 || (tmp2 = ad_read(devc, 1)) != 0xaa) in ad1848_detect()
1652 if (tmp2 == 0x8a) /* AD1847 has few bits hardcoded to 1 */ in ad1848_detect()
1656 DDB(printk("ad1848 detect error - step C (%x/%x)\n", tmp1, tmp2)); in ad1848_detect()
1700 if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) in ad1848_detect()
1702 DDB(printk("ad1848 detect step F(%d/%x/%x) - OPTi chip???\n", i, tmp1, tmp2)); in ad1848_detect()
1915 if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) { in ad1848_detect()
1916 DDB(printk("ad1848 detect step H(%d/%x/%x) - SoundPro chip?\n", i, tmp1, tmp2)); in ad1848_detect()