Searched refs:rmask (Results 1 – 5 of 5) sorted by relevance
375 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w() local380 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()390 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_put_switch_w() local394 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()398 val |= rmask; in snd_pmac_burgundy_put_switch_w()431 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_switch_b() local436 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()446 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_switch_b() local450 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()454 val |= rmask; in snd_pmac_burgundy_put_switch_b()[all …]
52 unsigned int rmask; member179 if (params->rmask & (1 << SNDRV_PCM_HW_PARAM_SAMPLE_BITS)) in snd_pcm_hw_refine()181 if (params->rmask & (1 << SNDRV_PCM_HW_PARAM_RATE)) { in snd_pcm_hw_refine()190 if (!(params->rmask & (1 << k))) in snd_pcm_hw_refine()210 if (!(params->rmask & (1 << k))) in snd_pcm_hw_refine()240 vstamps[k] = (params->rmask & (1 << k)) ? 1 : 0; in snd_pcm_hw_refine()331 params->rmask = 0; in snd_pcm_hw_refine()408 params->rmask = ~0U; in snd_pcm_hw_params()3363 params->rmask = __OLD_TO_NEW_MASK(oparams->rmask); in snd_pcm_hw_convert_from_old_params()3382 oparams->rmask = __NEW_TO_OLD_MASK(params->rmask); in snd_pcm_hw_convert_to_old_params()
1519 params->rmask |= 1 << var; in _snd_pcm_hw_param_any()1525 params->rmask |= 1 << var; in _snd_pcm_hw_param_any()1583 params->rmask |= 1 << var; in _snd_pcm_hw_param_setempty()1587 params->rmask |= 1 << var; in _snd_pcm_hw_param_setempty()1607 params->rmask |= 1 << var; in _snd_pcm_hw_param_first()1632 if (params->rmask) { in snd_pcm_hw_param_first()1654 params->rmask |= 1 << var; in _snd_pcm_hw_param_last()1679 if (params->rmask) { in snd_pcm_hw_param_last()
83 u32 rmask; member
201 params->rmask |= 1 << var; in _snd_pcm_hw_param_mask()214 if (params->rmask) { in snd_pcm_hw_param_mask()248 params->rmask |= 1 << var; in _snd_pcm_hw_param_min()273 if (params->rmask) { in snd_pcm_hw_param_min()309 params->rmask |= 1 << var; in _snd_pcm_hw_param_max()334 if (params->rmask) { in snd_pcm_hw_param_max()515 params->rmask |= 1 << var; in _snd_pcm_hw_param_set()540 if (params->rmask) { in snd_pcm_hw_param_set()555 params->rmask |= 1 << var; in _snd_pcm_hw_param_setinteger()