Home
last modified time | relevance | path

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

/sound/pci/
Dak4531_codec.c113 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument
117 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<…
118 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument
124 ….private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask <<…
144 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_ak4531_get_double() local
151 right = (ak4531->regs[right_reg] >> right_shift) & mask; in snd_ak4531_get_double()
168 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_ak4531_put_double() local
181 right <<= right_shift; in snd_ak4531_put_double()
184 left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_ak4531_put_double()
189 right = (ak4531->regs[right_reg] & ~(mask << right_shift)) | right; in snd_ak4531_put_double()
[all …]
Dcmipci.c1990 unsigned int left_shift, right_shift; member
1999 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
2003 ….private_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo…
2016 r->right_shift = (val >> 19) & 0x07; in cmipci_sb_reg_decode()
2049 val = (snd_cmipci_mixer_read(cm, reg.right_reg) >> reg.right_shift) & reg.mask; in snd_cmipci_get_volume()
2075 right <<= reg.right_shift; in snd_cmipci_put_volume()
2088 right |= oright & ~(reg.mask << reg.right_shift); in snd_cmipci_put_volume()
2100 #define CMIPCI_SB_INPUT_SW(xname, left_shift, right_shift) \ argument
2104 ….private_value = COMPOSE_SB_REG(SB_DSP4_INPUT_LEFT, SB_DSP4_INPUT_RIGHT, left_shift, right_shift, …
2131 ucontrol->value.integer.value[2] = (val1 >> reg.right_shift) & 1; in snd_cmipci_get_input_sw()
[all …]
/sound/isa/sb/
Dsb_mixer.c115 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_sbmixer_get_double() local
121 right = (snd_sbmixer_read(sb, right_reg) >> right_shift) & mask; in snd_sbmixer_get_double()
135 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_sbmixer_put_double() local
141 right = (ucontrol->value.integer.value[1] & mask) << right_shift; in snd_sbmixer_put_double()
145 left = (oleft & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_sbmixer_put_double()
153 right = (oright & ~(mask << right_shift)) | right; in snd_sbmixer_put_double()
391 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_sb16mixer_get_input_sw() local
400 ucontrol->value.integer.value[2] = (val1 >> right_shift) & 0x01; in snd_sb16mixer_get_input_sw()
401 ucontrol->value.integer.value[3] = (val2 >> right_shift) & 0x01; in snd_sb16mixer_get_input_sw()
412 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_sb16mixer_put_input_sw() local
[all …]
/sound/parisc/
Dharmony.c681 int right_shift = (kc->private_value >> 8) & 0xff; in snd_harmony_mixercontrol_info() local
685 uinfo->count = left_shift == right_shift ? 1 : 2; in snd_harmony_mixercontrol_info()
805 #define HARMONY_VOLUME(xname, left_shift, right_shift, mask, invert) \ argument
809 .private_value = ((left_shift) | ((right_shift) << 8) | \