Home
last modified time | relevance | path

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

/linux-3.4.99/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()
/linux-3.4.99/sound/soc/
Dsoc-dapm.c2411 if (e->shift_l != e->shift_r) in snd_soc_dapm_get_enum_double()
2413 (val >> e->shift_r) & (bitmask - 1); in snd_soc_dapm_get_enum_double()
2447 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
2450 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_soc_dapm_put_enum_double()
2451 mask |= (bitmask - 1) << e->shift_r; in snd_soc_dapm_put_enum_double()
2568 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_value_enum_double()
2569 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_value_enum_double()
2611 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_value_enum_double()
2614 val |= e->values[ucontrol->value.enumerated.item[1]] << e->shift_r; in snd_soc_dapm_put_value_enum_double()
2615 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_value_enum_double()
Dsoc-core.c2193 uinfo->count = e->shift_l == e->shift_r ? 1 : 2; in snd_soc_info_enum_double()
2225 if (e->shift_l != e->shift_r) in snd_soc_get_enum_double()
2227 (val >> e->shift_r) & (bitmask - 1); in snd_soc_get_enum_double()
2256 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
2259 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_soc_put_enum_double()
2260 mask |= (bitmask - 1) << e->shift_r; in snd_soc_put_enum_double()
2293 if (e->shift_l != e->shift_r) { in snd_soc_get_value_enum_double()
2294 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_get_value_enum_double()
2330 if (e->shift_l != e->shift_r) { in snd_soc_put_value_enum_double()
2333 val |= e->values[ucontrol->value.enumerated.item[1]] << e->shift_r; in snd_soc_put_value_enum_double()
[all …]
/linux-3.4.99/include/sound/
Dsoc.h99 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
106 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
924 unsigned char shift_r; member
/linux-3.4.99/sound/soc/codecs/
Dtwl4030.c1017 if (e->shift_l != e->shift_r) { in snd_soc_put_twl4030_opmode_enum_double()
1020 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_soc_put_twl4030_opmode_enum_double()
1021 mask |= (bitmask - 1) << e->shift_r; in snd_soc_put_twl4030_opmode_enum_double()