Lines Matching defs:right_shift
130 int right_shift = (kcontrol->private_value >> 19) & 0x07;
136 right = (snd_sbmixer_read(sb, right_reg) >> right_shift) & mask;
150 int right_shift = (kcontrol->private_value >> 19) & 0x07;
156 right = (ucontrol->value.integer.value[1] & mask) << right_shift;
160 left = (oleft & ~((mask << left_shift) | (mask << right_shift))) | left | right;
168 right = (oright & ~(mask << right_shift)) | right;
425 int right_shift = (kcontrol->private_value >> 24) & 0x0f;
434 ucontrol->value.integer.value[2] = (val1 >> right_shift) & 0x01;
435 ucontrol->value.integer.value[3] = (val2 >> right_shift) & 0x01;
446 int right_shift = (kcontrol->private_value >> 24) & 0x0f;
453 val1 = oval1 & ~((1 << left_shift) | (1 << right_shift));
454 val2 = oval2 & ~((1 << left_shift) | (1 << right_shift));
457 val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift;
458 val2 |= (ucontrol->value.integer.value[3] & 1) << right_shift;