Home
last modified time | relevance | path

Searched refs:left_shift (Results 1 – 4 of 4) sorted by relevance

/sound/pci/
Dak4531_codec.c128 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument
132 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<…
133 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument
139 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<…
158 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_get_double() local
165 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double()
182 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_put_double() local
195 left <<= left_shift; in snd_ak4531_put_double()
199 left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_ak4531_put_double()
203 left = (ak4531->regs[left_reg] & ~(mask << left_shift)) | left; in snd_ak4531_put_double()
[all …]
Dcmipci.c2003 unsigned int left_shift, right_shift; member
2012 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
2016 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo…
2028 r->left_shift = (val >> 16) & 0x07; in cmipci_sb_reg_decode()
2057 val = (snd_cmipci_mixer_read(cm, reg.left_reg) >> reg.left_shift) & reg.mask; in snd_cmipci_get_volume()
2083 left <<= reg.left_shift; in snd_cmipci_put_volume()
2093 left |= oleft & ~(reg.mask << reg.left_shift); in snd_cmipci_put_volume()
2113 #define CMIPCI_SB_INPUT_SW(xname, left_shift, right_shift) \ argument
2117 ….private_value = COMPOSE_SB_REG(SB_DSP4_INPUT_LEFT, SB_DSP4_INPUT_RIGHT, left_shift, right_shift, …
2142 ucontrol->value.integer.value[0] = (val1 >> reg.left_shift) & 1; in snd_cmipci_get_input_sw()
[all …]
/sound/isa/sb/
Dsb_mixer.c129 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_get_double() local
135 left = (snd_sbmixer_read(sb, left_reg) >> left_shift) & mask; in snd_sbmixer_get_double()
149 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_put_double() local
155 left = (ucontrol->value.integer.value[0] & mask) << left_shift; in snd_sbmixer_put_double()
160 left = (oleft & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_sbmixer_put_double()
167 left = (oleft & ~(mask << left_shift)) | left; in snd_sbmixer_put_double()
405 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_sb16mixer_get_input_sw() local
413 ucontrol->value.integer.value[0] = (val1 >> left_shift) & 0x01; in snd_sb16mixer_get_input_sw()
414 ucontrol->value.integer.value[1] = (val2 >> left_shift) & 0x01; in snd_sb16mixer_get_input_sw()
426 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_sb16mixer_put_input_sw() local
[all …]
/sound/parisc/
Dharmony.c699 int left_shift = (kc->private_value) & 0xff; in snd_harmony_mixercontrol_info() local
704 uinfo->count = left_shift == right_shift ? 1 : 2; in snd_harmony_mixercontrol_info()
824 #define HARMONY_VOLUME(xname, left_shift, right_shift, mask, invert) \ argument
828 .private_value = ((left_shift) | ((right_shift) << 8) | \