Searched refs:aud_reg (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/sound/ |
D | ali5455.c | 463 int aud_reg; in ali_set_spdif_output() local 470 aud_reg = ali_ac97_get(codec, AC97_EXTENDED_STATUS); in ali_set_spdif_output() 471 ali_ac97_set(codec, AC97_EXTENDED_STATUS, (aud_reg & ~AC97_EA_SPDIF)); in ali_set_spdif_output() 475 aud_reg = ali_ac97_get(codec, AC97_MASTER_VOL_STEREO); in ali_set_spdif_output() 476 ali_ac97_set(codec, AC97_MASTER_VOL_STEREO, (aud_reg & ~VOL_MUTED)); in ali_set_spdif_output() 486 aud_reg = ali_ac97_get(codec, AC97_SPDIF_CONTROL); in ali_set_spdif_output() 489 aud_reg = (aud_reg & AC97_SC_SPSR_MASK) | AC97_SC_SPSR_32K; in ali_set_spdif_output() 492 aud_reg = (aud_reg & AC97_SC_SPSR_MASK) | AC97_SC_SPSR_44K; in ali_set_spdif_output() 495 aud_reg = (aud_reg & AC97_SC_SPSR_MASK) | AC97_SC_SPSR_48K; in ali_set_spdif_output() 499 aud_reg = ali_ac97_get(codec, AC97_EXTENDED_STATUS); in ali_set_spdif_output() [all …]
|
D | i810_audio.c | 572 int aud_reg; in i810_set_spdif_output() local 583 aud_reg = i810_ac97_get(codec, AC97_MASTER_VOL_STEREO); in i810_set_spdif_output() 584 i810_ac97_set(codec, AC97_MASTER_VOL_STEREO, (aud_reg & ~VOL_MUTED)); in i810_set_spdif_output() 624 int aud_reg; in i810_set_dac_channels() local 632 aud_reg = i810_ac97_get(codec, AC97_EXTENDED_STATUS); in i810_set_dac_channels() 633 aud_reg |= AC97_EA_PRI | AC97_EA_PRJ | AC97_EA_PRK; in i810_set_dac_channels() 640 aud_reg &= ~AC97_EA_PRJ; in i810_set_dac_channels() 644 aud_reg &= ~(AC97_EA_PRJ | AC97_EA_PRI | AC97_EA_PRK); in i810_set_dac_channels() 650 i810_ac97_set(codec, AC97_EXTENDED_STATUS, aud_reg); in i810_set_dac_channels()
|
D | trident.c | 2966 unsigned long aud_reg; in ali_ac97_get() local 3010 aud_reg = inl(TRID_REG(card, ALI_AC97_WRITE)); in ali_ac97_get() 3011 outl((aud_reg & 0xffff7fff), TRID_REG(card, ALI_AC97_WRITE)); in ali_ac97_get()
|