ad_write 413 sound/oss/ad1848.c ad_write(devc, 0, (ad_read(devc, 0) & 0x3f) | recdev); ad_write 414 sound/oss/ad1848.c ad_write(devc, 1, (ad_read(devc, 1) & 0x3f) | recdev); ad_write 438 sound/oss/ad1848.c ad_write(devc, devc->mix_devices[i][j].recreg, val); ad_write 524 sound/oss/ad1848.c ad_write(devc, regoffs, val); ad_write 527 sound/oss/ad1848.c ad_write(devc, muteregoffs, muteval); ad_write 657 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) & ~0x40); /* Unmute mono out */ ad_write 659 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) | 0x40); /* Mute mono out */ ad_write 666 sound/oss/ad1848.c ad_write(devc, 16, 0x60); ad_write 690 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) & ~0x40); /* Unmute mono out */ ad_write 692 sound/oss/ad1848.c ad_write(devc, 26, ad_read(devc, 26) | 0x40); /* Mute mono out */ ad_write 1066 sound/oss/ad1848.c ad_write(devc, 15, (unsigned char) (cnt & 0xff)); ad_write 1067 sound/oss/ad1848.c ad_write(devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); ad_write 1109 sound/oss/ad1848.c ad_write(devc, 15, (unsigned char) (cnt & 0xff)); ad_write 1110 sound/oss/ad1848.c ad_write(devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); ad_write 1114 sound/oss/ad1848.c ad_write(devc, 31, (unsigned char) (cnt & 0xff)); ad_write 1115 sound/oss/ad1848.c ad_write(devc, 30, (unsigned char) ((cnt >> 8) & 0xff)); ad_write 1148 sound/oss/ad1848.c ad_write(devc, 22, (portc->speed >> 8) & 0xff); /* Speed MSB */ ad_write 1149 sound/oss/ad1848.c ad_write(devc, 23, portc->speed & 0xff); /* Speed LSB */ ad_write 1156 sound/oss/ad1848.c ad_write(devc, 16, tmp | 0x30); ad_write 1159 sound/oss/ad1848.c ad_write(devc, 17, 0xc2); /* Disable variable frequency select */ ad_write 1161 sound/oss/ad1848.c ad_write(devc, 8, fs); ad_write 1175 sound/oss/ad1848.c ad_write(devc, 16, tmp & ~0x30); ad_write 1217 sound/oss/ad1848.c ad_write(devc, 22, (portc->speed >> 8) & 0xff); /* Speed MSB */ ad_write 1218 sound/oss/ad1848.c ad_write(devc, 23, portc->speed & 0xff); /* Speed LSB */ ad_write 1223 sound/oss/ad1848.c ad_write(devc, 16, tmp | 0x30); ad_write 1226 sound/oss/ad1848.c ad_write(devc, 17, 0xc2); /* Disable variable frequency select */ ad_write 1235 sound/oss/ad1848.c ad_write(devc, 28, fs); ad_write 1258 sound/oss/ad1848.c ad_write(devc, 8, tmp); ad_write 1275 sound/oss/ad1848.c ad_write(devc, 8, fs); ad_write 1288 sound/oss/ad1848.c ad_write(devc, 16, tmp & ~0x30); ad_write 1345 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) & ~0x02); /* Stop capture */ ad_write 1380 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) & ~0x01); /* Stop playback */ ad_write 1425 sound/oss/ad1848.c ad_write(devc, 9, tmp); ad_write 1476 sound/oss/ad1848.c ad_write(devc, i, init_values[i]); ad_write 1485 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x50); ad_write 1487 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x40); /* Mode2 = enabled */ ad_write 1490 sound/oss/ad1848.c ad_write(devc, 12, 0x6c); /* Select codec mode 3 */ ad_write 1494 sound/oss/ad1848.c ad_write(devc, i, init_values[i]); ad_write 1497 sound/oss/ad1848.c ad_write(devc, 16, 0x30); /* Playback and capture counters enabled */ ad_write 1502 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) & ~0x04); /* Dual DMA mode */ ad_write 1504 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) | 0x04); /* Single DMA mode */ ad_write 1507 sound/oss/ad1848.c ad_write(devc, 27, ad_read(devc, 27) | 0x08); /* Alternate freq select enabled */ ad_write 1511 sound/oss/ad1848.c ad_write(devc, 12, 0x6c); /* Select codec mode 3 */ ad_write 1512 sound/oss/ad1848.c ad_write(devc, 16, 0x30); /* Playback and capture counters enabled */ ad_write 1513 sound/oss/ad1848.c ad_write(devc, 17, 0xc2); /* Alternate feature enable */ ad_write 1519 sound/oss/ad1848.c ad_write(devc, 9, ad_read(devc, 9) | 0x04); /* Single DMA mode */ ad_write 1521 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x40); /* Mode2 = enabled */ ad_write 1636 sound/oss/ad1848.c ad_write(devc, 0, 0xaa); ad_write 1637 sound/oss/ad1848.c ad_write(devc, 1, 0x45); /* 0x55 with bit 0x10 clear */ ad_write 1650 sound/oss/ad1848.c ad_write(devc, 0, 0x45); ad_write 1651 sound/oss/ad1848.c ad_write(devc, 1, 0xaa); ad_write 1671 sound/oss/ad1848.c ad_write(devc, 12, (~tmp) & 0x0f); ad_write 1699 sound/oss/ad1848.c ad_write(devc, 12, 0); /* Mode2=disabled */ ad_write 1722 sound/oss/ad1848.c ad_write(devc, 12, 0x40); /* Set mode2, clear 0x80 */ ad_write 1745 sound/oss/ad1848.c ad_write(devc, 16, 0); /* Set I16 to known value */ ad_write 1747 sound/oss/ad1848.c ad_write(devc, 0, 0x45); ad_write 1750 sound/oss/ad1848.c ad_write(devc, 0, 0xaa); ad_write 1763 sound/oss/ad1848.c ad_write(devc, 25, ~tmp1); /* Invert all bits */ ad_write 1797 sound/oss/ad1848.c ad_write(devc, 23, ~tmp); ad_write 1815 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) & ~0x40); /* Mode2 off */ ad_write 1817 sound/oss/ad1848.c ad_write(devc, 23, tmp); /* Restore */ ad_write 1825 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) | 0x60); /* switch to mode 3 */ ad_write 1826 sound/oss/ad1848.c ad_write(devc, 23, 0x9c); /* select extended register 25 */ ad_write 1828 sound/oss/ad1848.c ad_write(devc, 12, ad_read(devc, 12) & ~0x60); /* back to mode 0 */ ad_write 1902 sound/oss/ad1848.c ad_write(devc, 25, tmp1); /* Restore bits */ ad_write 2045 sound/oss/ad1848.c ad_write(devc, 21, 0x00); /* Timer MSB */ ad_write 2046 sound/oss/ad1848.c ad_write(devc, 20, 0x10); /* Timer LSB */ ad_write 2048 sound/oss/ad1848.c ad_write(devc, 16, tmp | 0x40); /* Enable timer */ ad_write 2050 sound/oss/ad1848.c ad_write(devc, 16, tmp & ~0x40); /* Disable timer */ ad_write 2114 sound/oss/ad1848.c ad_write(devc, 29, (ad_read(devc, 29) & 0x1f) | (arg << 5)); ad_write 2242 sound/oss/ad1848.c ad_write(devc, 24, ad_read(devc, 24) & ~alt_stat); /* Selective ack */ ad_write 2736 sound/oss/ad1848.c ad_write(devc, 21, (divider >> 8) & 0xff); /* Set upper bits */ ad_write 2737 sound/oss/ad1848.c ad_write(devc, 20, divider & 0xff); /* Set lower bits */ ad_write 2738 sound/oss/ad1848.c ad_write(devc, 16, ad_read(devc, 16) | 0x40); /* Start the timer */ ad_write 2762 sound/oss/ad1848.c ad_write(devc, 16, ad_read(devc, 16) & ~0x40); ad_write 2776 sound/oss/ad1848.c ad_write(devc, 16, ad_read(devc, 16) | 0x40);