Home
last modified time | relevance | path

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

/sound/pci/ac97/
Dac97_patch.h50 unsigned char shift_r; member
56 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
Dac97_codec.c460 uinfo->count = e->shift_l == e->shift_r ? 1 : 2; in snd_ac97_info_enum_double()
480 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double()
481 ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); in snd_ac97_get_enum_double()
500 if (e->shift_l != e->shift_r) { in snd_ac97_put_enum_double()
503 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_ac97_put_enum_double()
504 mask |= (bitmask - 1) << e->shift_r; in snd_ac97_put_enum_double()
/sound/soc/
Dsoc-dapm.c2749 if (e->shift_l != e->shift_r) in snd_soc_dapm_get_enum_double()
2751 (val >> e->shift_r) & e->mask; in snd_soc_dapm_get_enum_double()
2784 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
2787 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_soc_dapm_put_enum_double()
2788 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_enum_double()
2906 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_value_enum_double()
2907 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_value_enum_double()
2950 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_value_enum_double()
2953 val |= e->values[ucontrol->value.enumerated.item[1]] << e->shift_r; in snd_soc_dapm_put_value_enum_double()
2954 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_value_enum_double()
Dsoc-core.c2416 uinfo->count = e->shift_l == e->shift_r ? 1 : 2; in snd_soc_info_enum_double()
2446 if (e->shift_l != e->shift_r) in snd_soc_get_enum_double()
2448 (val >> e->shift_r) & e->mask; in snd_soc_get_enum_double()
2475 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
2478 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_soc_put_enum_double()
2479 mask |= e->mask << e->shift_r; in snd_soc_put_enum_double()
2512 if (e->shift_l != e->shift_r) { in snd_soc_get_value_enum_double()
2513 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_get_value_enum_double()
2549 if (e->shift_l != e->shift_r) { in snd_soc_put_value_enum_double()
2552 val |= e->values[ucontrol->value.enumerated.item[1]] << e->shift_r; in snd_soc_put_value_enum_double()
[all …]
/sound/soc/codecs/
Dtwl4030.c1096 if (e->shift_l != e->shift_r) { in snd_soc_put_twl4030_opmode_enum_double()
1099 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_soc_put_twl4030_opmode_enum_double()
1100 mask |= e->mask << e->shift_r; in snd_soc_put_twl4030_opmode_enum_double()