Searched refs:rmask (Results 1 – 7 of 7) sorted by relevance
362 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w() local367 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()377 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_put_switch_w() local381 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()385 val |= rmask; in snd_pmac_burgundy_put_switch_w()418 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_switch_b() local423 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()433 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_switch_b() local437 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()441 val |= rmask; in snd_pmac_burgundy_put_switch_b()[all …]
8 #define WCD_MBHC_FIELD(id, rreg, rmask) \ argument9 [id] = { .reg = rreg, .mask = rmask }
550 unsigned int rmask = (mixer_ctrl->max << rshift); in da7218_mic_lvl_det_sw_get() local555 (da7218->mic_lvl_det_en & rmask) >> rshift; in da7218_mic_lvl_det_sw_get()
1518 params->rmask |= 1 << var; in _snd_pcm_hw_param_any()1524 params->rmask |= 1 << var; in _snd_pcm_hw_param_any()1580 params->rmask |= 1 << var; in _snd_pcm_hw_param_setempty()1584 params->rmask |= 1 << var; in _snd_pcm_hw_param_setempty()1603 params->rmask |= 1 << var; in _snd_pcm_hw_param_first()1628 if (params->rmask) { in snd_pcm_hw_param_first()1649 params->rmask |= 1 << var; in _snd_pcm_hw_param_last()1674 if (params->rmask) { in snd_pcm_hw_param_last()
50 unsigned int rmask; member300 if (!(params->rmask & PARAM_MASK_BIT(k))) in constrain_mask_params()336 if (!(params->rmask & PARAM_MASK_BIT(k))) in constrain_interval_params()392 vstamps[k] = (params->rmask & PARAM_MASK_BIT(k)) ? 1 : 0; in constrain_params_by_rules()529 if (params->rmask & PARAM_MASK_BIT(SNDRV_PCM_HW_PARAM_SAMPLE_BITS)) in snd_pcm_hw_refine()531 if (params->rmask & PARAM_MASK_BIT(SNDRV_PCM_HW_PARAM_RATE)) { in snd_pcm_hw_refine()548 params->rmask = 0; in snd_pcm_hw_refine()745 params->rmask = ~0U; in snd_pcm_hw_params()3954 params->rmask = __OLD_TO_NEW_MASK(oparams->rmask); in snd_pcm_hw_convert_from_old_params()3973 oparams->rmask = __NEW_TO_OLD_MASK(params->rmask); in snd_pcm_hw_convert_to_old_params()
60 u32 rmask; member
176 params->rmask |= 1 << var; in _snd_pcm_hw_param_mask()189 if (params->rmask) { in snd_pcm_hw_param_mask()223 params->rmask |= 1 << var; in _snd_pcm_hw_param_min()248 if (params->rmask) { in snd_pcm_hw_param_min()284 params->rmask |= 1 << var; in _snd_pcm_hw_param_max()309 if (params->rmask) { in snd_pcm_hw_param_max()489 params->rmask |= 1 << var; in _snd_pcm_hw_param_set()514 if (params->rmask) { in snd_pcm_hw_param_set()529 params->rmask |= 1 << var; in _snd_pcm_hw_param_setinteger()