Home
last modified time | relevance | path

Searched refs:rmask (Results 1 – 5 of 5) sorted by relevance

/sound/ppc/
Dburgundy.c375 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w() local
380 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() local
394 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() local
436 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() local
450 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()
454 val |= rmask; in snd_pmac_burgundy_put_switch_b()
[all …]
/sound/core/
Dpcm_native.c52 unsigned int rmask; member
179 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()
Dpcm_lib.c1519 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()
Dpcm_compat.c83 u32 rmask; member
/sound/core/oss/
Dpcm_oss.c201 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()