Lines Matching refs:shift
394 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
398 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) }
400 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
405 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \
424 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_get_single() local
429 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(reg)] >> shift) & mask; in snd_cs4236_get_single()
441 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_put_single() local
450 val <<= shift; in snd_cs4236_put_single()
452 val = (chip->eimage[CS4236_REG(reg)] & ~(mask << shift)) | val; in snd_cs4236_put_single()
459 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \ argument
463 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) }
470 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_get_singlec() local
475 ucontrol->value.integer.value[0] = (chip->cimage[reg] >> shift) & mask; in snd_cs4236_get_singlec()
487 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_put_singlec() local
496 val <<= shift; in snd_cs4236_put_singlec()
498 val = (chip->cimage[reg] & ~(mask << shift)) | val; in snd_cs4236_put_singlec()