ad_read 274 sound/oss/ad1848.c while (timeout > 0 && !(ad_read(devc, 11) & 0x20)) ad_read 276 sound/oss/ad1848.c if (!(ad_read(devc, 11) & 0x20)) ad_read 280 sound/oss/ad1848.c while (timeout > 0 && (ad_read(devc, 11) & 0x20)) ad_read 282 sound/oss/ad1848.c if (ad_read(devc, 11) & 0x20) ad_read 298 sound/oss/ad1848.c prev = devc->saved_regs[i] = ad_read(devc, i); ad_read 332 sound/oss/ad1848.c acal = ad_read(devc, 9); ad_read 413 sound/oss/ad1848.c ad_write(devc, 0, (ad_read(devc, 0) & 0x3f) | recdev); ad_read 414 sound/oss/ad1848.c ad_write(devc, 1, (ad_read(devc, 1) & 0x3f) | recdev); ad_read 435 sound/oss/ad1848.c val = ad_read(devc, devc->mix_devices[i][j].recreg); ad_read 514 sound/oss/ad1848.c val = ad_read(devc, regoffs); ad_read 517 sound/oss/ad1848.c muteval = ad_read(devc, muteregoffs); ad_read 657 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) & ~0x40); /* Unmute mono out */ ad_read 659 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) | 0x40); /* Mute mono out */ ad_read 690 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) & ~0x40); /* Unmute mono out */ ad_read 692 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) | 0x40); /* Mute mono out */ ad_read 1151 sound/oss/ad1848.c old_fs = ad_read(devc, 8); ad_read 1155 sound/oss/ad1848.c tmp = ad_read(devc, 16); ad_read 1222 sound/oss/ad1848.c tmp = ad_read(devc, 16); ad_read 1234 sound/oss/ad1848.c old_fs = ad_read(devc, 28); ad_read 1256 sound/oss/ad1848.c unsigned char tmp = portc->speed_bits | (ad_read(devc, 8) & 0xf0); ad_read 1274 sound/oss/ad1848.c old_fs = ad_read(devc, 8); ad_read 1314 sound/oss/ad1848.c unsigned char bits = ad_read(devc, 9); ad_read 1329 sound/oss/ad1848.c if (!(ad_read(devc, 9) & 0x02)) ad_read 1343 sound/oss/ad1848.c if (ad_read(devc, 11) & 0x10) ad_read 1345 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) & ~0x02); /* Stop capture */ ad_read 1365 sound/oss/ad1848.c if (!(ad_read(devc, 9) & 0x01)) ad_read 1378 sound/oss/ad1848.c if (ad_read(devc, 11) & 0x10) ad_read 1380 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) & ~0x01); /* Stop playback */ ad_read 1406 sound/oss/ad1848.c tmp = old = ad_read(devc, 9); ad_read 1485 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x50); ad_read 1487 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x40); /* Mode2 = enabled */ ad_read 1502 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) & ~0x04); /* Dual DMA mode */ ad_read 1504 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) | 0x04); /* Single DMA mode */ ad_read 1507 sound/oss/ad1848.c ad_write(devc, 27, ad_read(devc, 27) | 0x08); /* Alternate freq select enabled */ ad_read 1519 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) | 0x04); /* Single DMA mode */ ad_read 1521 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x40); /* Mode2 = enabled */ ad_read 1639 sound/oss/ad1848.c if ((tmp1 = ad_read(devc, 0)) != 0xaa || (tmp2 = ad_read(devc, 1)) != 0x45) ad_read 1653 sound/oss/ad1848.c if ((tmp1 = ad_read(devc, 0)) != 0x45 || (tmp2 = ad_read(devc, 1)) != 0xaa) ad_read 1670 sound/oss/ad1848.c tmp = ad_read(devc, 12); ad_read 1673 sound/oss/ad1848.c if ((tmp & 0x0f) != ((tmp1 = ad_read(devc, 12)) & 0x0f)) ad_read 1703 sound/oss/ad1848.c if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) ad_read 1728 sound/oss/ad1848.c tmp1 = ad_read(devc, 12); ad_read 1748 sound/oss/ad1848.c if ((tmp1 = ad_read(devc, 16)) != 0x45) /* No change -> CS4231? */ ad_read 1751 sound/oss/ad1848.c if ((tmp1 = ad_read(devc, 16)) == 0xaa) /* Rotten bits? */ ad_read 1762 sound/oss/ad1848.c tmp1 = ad_read(devc, 25); /* Original bits */ ad_read 1764 sound/oss/ad1848.c if ((ad_read(devc, 25) & 0xe7) == (tmp1 & 0xe7)) ad_read 1781 sound/oss/ad1848.c id = ad_read(devc, 25); ad_read 1783 sound/oss/ad1848.c id = ad_read(devc, 25); ad_read 1785 sound/oss/ad1848.c id = ad_read(devc, 25); ad_read 1786 sound/oss/ad1848.c DDB(printk("ad1848_detect() - step J (%02x/%02x)\n", id, ad_read(devc, 25))); ad_read 1796 sound/oss/ad1848.c unsigned char tmp = ad_read(devc, 23); ad_read 1804 sound/oss/ad1848.c else if (ad_read(devc, 23) != tmp) /* AD1845 ? */ ad_read 1815 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) & ~0x40); /* Mode2 off */ ad_read 1825 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x60); /* switch to mode 3 */ ad_read 1828 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) & ~0x60); /* back to mode 0 */ ad_read 1888 sound/oss/ad1848.c DDB(printk("ad1848: I25 = %02x/%02x\n", ad_read(devc, 25), ad_read(devc, 25) & 0xe7)); ad_read 1918 sound/oss/ad1848.c if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) { ad_read 2040 sound/oss/ad1848.c unsigned char tmp = ad_read(devc, 16); ad_read 2114 sound/oss/ad1848.c ad_write(devc, 29, (ad_read(devc, 29) & 0x1f) | (arg << 5)); ad_read 2241 sound/oss/ad1848.c alt_stat = ad_read(devc, 24); ad_read 2242 sound/oss/ad1848.c ad_write(devc, 24, ad_read(devc, 24) & ~alt_stat); /* Selective ack */ ad_read 2723 sound/oss/ad1848.c else if (ad_read(devc, 8) & 0x01) ad_read 2738 sound/oss/ad1848.c ad_write(devc, 16, ad_read(devc, 16) | 0x40); /* Start the timer */ ad_read 2762 sound/oss/ad1848.c ad_write(devc, 16, ad_read(devc, 16) & ~0x40); ad_read 2776 sound/oss/ad1848.c ad_write(devc, 16, ad_read(devc, 16) | 0x40);