Lines Matching refs:RD
290 #define RD(r) (ac)->rd((ac)->private, (r))
318 val = RD(reg);
320 if (RD(reg) != 0) {
552 val = RD(AC97_THREE_D_CONTROL_REGISTER);
554 if ((RD(AC97_THREE_D_CONTROL_REGISTER) & mask) != 0) {
582 val = RD(AC97_EXTENDED_AUDIO_REGISTER);
600 val = RD(AC97_EXTENDED_AUDIO_REGISTER);
618 val = RD(AC97_EXTENDED_AUDIO_REGISTER);
664 * To read a hardware register, use the RD() macro above.
1105 tmp = RD(AC97_POWERDOWN_CTRL_STAT_REGISTER);
1109 tmp = RD(AC97_RESET_REGISTER);
1120 tmp = RD(AC97_POWERDOWN_CTRL_STAT_REGISTER);
1170 (RD(AC97_VENDOR_REGISTER_13) & ~0xEF) | 0x10);
1186 (RD(AC97_VENDOR_REGISTER_13) & ~0xe00) | 0x400);
1197 WR(AC97_VENDOR_REGISTER_01, RD(AC97_VENDOR_REGISTER_01) | 0x80);
1211 WR(AC97_VENDOR_REGISTER_07, RD(AC97_VENDOR_REGISTER_07) | 0x9);
1842 vid1 = RD(AC97_VENDOR_ID1_REGISTER);
1843 vid2 = RD(AC97_VENDOR_ID2_REGISTER);
1883 SHADOW(ac, i) = RD(i);
1886 ac->caps = RD(AC97_RESET_REGISTER);
1894 if ((RD(AC97_MASTER_VOLUME_REGISTER) & 0x1f) == 0x1f) {
1912 ear = RD(AC97_EXTENDED_AUDIO_REGISTER);