Searched refs:bitsr (Results 1 – 2 of 2) sorted by relevance
675 int bitsl, bitsr; in sbdsp_set_in_ports() local712 bitsr = 0; in sbdsp_set_in_ports()713 if (mask & (1<<SB_MIDI_VOL)) bitsr |= SBP_MIDI_SRC_R; in sbdsp_set_in_ports()714 if (mask & (1<<SB_LINE_IN_VOL)) bitsr |= SBP_LINE_SRC_R; in sbdsp_set_in_ports()715 if (mask & (1<<SB_CD_VOL)) bitsr |= SBP_CD_SRC_R; in sbdsp_set_in_ports()716 bitsl = SB_SRC_R_TO_L(bitsr); in sbdsp_set_in_ports()719 bitsr |= SBP_MIC_SRC; in sbdsp_set_in_ports()722 sbdsp_mix_write(sc, SBP_RECORD_SOURCE_R, bitsr); in sbdsp_set_in_ports()
1515 int bitsl, bitsr; in cmpci_set_in_ports() local1524 bitsr = mask & (CMPCI_RECORD_SOURCE_CD | CMPCI_RECORD_SOURCE_LINE_IN | in cmpci_set_in_ports()1527 bitsl = CMPCI_SB16_MIXER_SRC_R_TO_L(bitsr); in cmpci_set_in_ports()1530 bitsr |= CMPCI_SB16_MIXER_MIC_SRC; in cmpci_set_in_ports()1533 cmpci_mixerreg_write(sc, CMPCI_SB16_MIXER_ADCMIX_R, bitsr); in cmpci_set_in_ports()