• Home
  • Raw
  • Download

Lines Matching refs:tmp

1130 	unsigned char   fs, old_fs, tmp = 0;  in ad1848_prepare_for_output()  local
1156 tmp = ad_read(devc, 16); in ad1848_prepare_for_output()
1157 ad_write(devc, 16, tmp | 0x30); in ad1848_prepare_for_output()
1176 ad_write(devc, 16, tmp & ~0x30); in ad1848_prepare_for_output()
1198 unsigned char fs, old_fs, tmp = 0; in ad1848_prepare_for_input() local
1223 tmp = ad_read(devc, 16); in ad1848_prepare_for_input()
1224 ad_write(devc, 16, tmp | 0x30); in ad1848_prepare_for_input()
1257 unsigned char tmp = portc->speed_bits | (ad_read(devc, 8) & 0xf0); in ad1848_prepare_for_input() local
1259 ad_write(devc, 8, tmp); in ad1848_prepare_for_input()
1289 ad_write(devc, 16, tmp & ~0x30); in ad1848_prepare_for_input()
1402 unsigned char tmp, old; in ad1848_trigger() local
1407 tmp = old = ad_read(devc, 9); in ad1848_trigger()
1412 tmp |= 0x02; in ad1848_trigger()
1414 tmp &= ~0x02; in ad1848_trigger()
1419 tmp |= 0x01; in ad1848_trigger()
1421 tmp &= ~0x01; in ad1848_trigger()
1424 if (tmp != old) in ad1848_trigger()
1426 ad_write(devc, 9, tmp); in ad1848_trigger()
1539 unsigned char tmp; in ad1848_detect() local
1671 tmp = ad_read(devc, 12); in ad1848_detect()
1672 ad_write(devc, 12, (~tmp) & 0x0f); in ad1848_detect()
1674 if ((tmp & 0x0f) != ((tmp1 = ad_read(devc, 12)) & 0x0f)) in ad1848_detect()
1797 unsigned char tmp = ad_read(devc, 23); in ad1848_detect() local
1798 ad_write(devc, 23, ~tmp); in ad1848_detect()
1805 else if (ad_read(devc, 23) != tmp) /* AD1845 ? */ in ad1848_detect()
1818 ad_write(devc, 23, tmp); /* Restore */ in ad1848_detect()
2041 unsigned char tmp = ad_read(devc, 16); in ad1848_init() local
2049 ad_write(devc, 16, tmp | 0x40); /* Enable timer */ in ad1848_init()
2051 ad_write(devc, 16, tmp & ~0x40); /* Disable timer */ in ad1848_init()
2285 unsigned char tmp; in init_deskpro_m() local
2287 if ((tmp = inb(0xc44)) == 0xff) in init_deskpro_m()
2313 unsigned char tmp; in init_deskpro() local
2315 if ((tmp = inb(0xc44)) == 0xff) in init_deskpro()
2320 outb((tmp | 0x04), 0xc44); /* Select bank 1 */ in init_deskpro()
2360 outb((tmp & ~0x04), 0xc44); in init_deskpro()
2362 outb((tmp | 0x04), 0xc44); in init_deskpro()
2367 tmp = 0x58; /* MSS Mode, MSS&FM decode enabled */ in init_deskpro()
2372 tmp |= 0x00; in init_deskpro()
2375 tmp |= 0x01; in init_deskpro()
2378 tmp |= 0x02; in init_deskpro()
2381 tmp |= 0x03; in init_deskpro()
2387 outb((tmp & ~0x04), 0xc44); /* Write to bank=0 */ in init_deskpro()
2392 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2394 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2411 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2413 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2417 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2419 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2425 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2427 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2442 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2444 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2448 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2450 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2456 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2458 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2472 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2474 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2478 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2480 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2486 outb((tmp & ~0x04), 0xc44); /* Select bank=0 */ in init_deskpro()
2488 outb((tmp | 0x04), 0xc44); /* Select bank=1 */ in init_deskpro()
2511 unsigned char tmp; in probe_ms_sound() local
2539 if ((tmp = inb(hw_config->io_base + 3)) == 0xff) /* Bus float */ in probe_ms_sound()
2543 DDB(printk("I/O address is inactive (%x)\n", tmp)); in probe_ms_sound()
2548 DDB(printk("MSS signature = %x\n", tmp & 0x3f)); in probe_ms_sound()
2549 if ((tmp & 0x3f) != 0x04 && in probe_ms_sound()
2550 (tmp & 0x3f) != 0x0f && in probe_ms_sound()
2551 (tmp & 0x3f) != 0x00) in probe_ms_sound()
2650 int tmp = dma; in attach_ms_sound() local
2653 dma2 = tmp; in attach_ms_sound()