Home
last modified time | relevance | path

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

/linux-2.6.39/sound/pci/ac97/
Dac97_patch.h49 unsigned char shift_l; 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()
479 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); in snd_ac97_get_enum_double()
480 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double()
498 val = ucontrol->value.enumerated.item[0] << e->shift_l; in snd_ac97_put_enum_double()
499 mask = (bitmask - 1) << e->shift_l; in snd_ac97_put_enum_double()
500 if (e->shift_l != e->shift_r) { in snd_ac97_put_enum_double()
/linux-2.6.39/sound/soc/
Dsoc-dapm.c213 item = (val >> e->shift_l) & (bitmask - 1); in dapm_set_path_status()
242 val = (val >> e->shift_l) & e->mask; in dapm_set_path_status()
1913 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); in snd_soc_dapm_get_enum_double()
1914 if (e->shift_l != e->shift_r) in snd_soc_dapm_get_enum_double()
1945 val = mux << e->shift_l; in snd_soc_dapm_put_enum_double()
1946 mask = (bitmask - 1) << e->shift_l; in snd_soc_dapm_put_enum_double()
1947 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
2043 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_dapm_get_value_enum_double()
2049 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_value_enum_double()
2087 val = e->values[ucontrol->value.enumerated.item[0]] << e->shift_l; in snd_soc_dapm_put_value_enum_double()
[all …]
Dsoc-core.c2439 uinfo->count = e->shift_l == e->shift_r ? 1 : 2; in snd_soc_info_enum_double()
2470 = (val >> e->shift_l) & (bitmask - 1); in snd_soc_get_enum_double()
2471 if (e->shift_l != e->shift_r) in snd_soc_get_enum_double()
2500 val = ucontrol->value.enumerated.item[0] << e->shift_l; in snd_soc_put_enum_double()
2501 mask = (bitmask - 1) << e->shift_l; in snd_soc_put_enum_double()
2502 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
2533 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_get_value_enum_double()
2539 if (e->shift_l != e->shift_r) { in snd_soc_get_value_enum_double()
2574 val = e->values[ucontrol->value.enumerated.item[0]] << e->shift_l; in snd_soc_put_value_enum_double()
2575 mask = e->mask << e->shift_l; in snd_soc_put_value_enum_double()
[all …]
/linux-2.6.39/include/sound/
Dsoc.h95 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
102 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
804 unsigned char shift_l; member
/linux-2.6.39/sound/soc/codecs/
Dtwl4030.c1045 val = ucontrol->value.enumerated.item[0] << e->shift_l; in snd_soc_put_twl4030_opmode_enum_double()
1046 mask = (bitmask - 1) << e->shift_l; in snd_soc_put_twl4030_opmode_enum_double()
1047 if (e->shift_l != e->shift_r) { in snd_soc_put_twl4030_opmode_enum_double()