Lines Matching refs:left_shift

1977 	unsigned int left_shift, right_shift;  member
1986 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
1990 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo…
2002 r->left_shift = (val >> 16) & 0x07; in cmipci_sb_reg_decode()
2031 val = (snd_cmipci_mixer_read(cm, reg.left_reg) >> reg.left_shift) & reg.mask; in snd_cmipci_get_volume()
2057 left <<= reg.left_shift; in snd_cmipci_put_volume()
2067 left |= oleft & ~(reg.mask << reg.left_shift); in snd_cmipci_put_volume()
2087 #define CMIPCI_SB_INPUT_SW(xname, left_shift, right_shift) \ argument
2091 ….private_value = COMPOSE_SB_REG(SB_DSP4_INPUT_LEFT, SB_DSP4_INPUT_RIGHT, left_shift, right_shift, …
2116 ucontrol->value.integer.value[0] = (val1 >> reg.left_shift) & 1; in snd_cmipci_get_input_sw()
2117 ucontrol->value.integer.value[1] = (val2 >> reg.left_shift) & 1; in snd_cmipci_get_input_sw()
2135 val1 = oval1 & ~((1 << reg.left_shift) | (1 << reg.right_shift)); in snd_cmipci_put_input_sw()
2136 val2 = oval2 & ~((1 << reg.left_shift) | (1 << reg.right_shift)); in snd_cmipci_put_input_sw()
2137 val1 |= (ucontrol->value.integer.value[0] & 1) << reg.left_shift; in snd_cmipci_put_input_sw()
2138 val2 |= (ucontrol->value.integer.value[1] & 1) << reg.left_shift; in snd_cmipci_put_input_sw()
2204 val = (oreg >> reg.left_shift) & reg.mask; in snd_cmipci_get_native_mixer()
2231 nreg = oreg & ~(reg.mask << reg.left_shift); in snd_cmipci_put_native_mixer()
2232 nreg |= (val << reg.left_shift); in snd_cmipci_put_native_mixer()