Home
last modified time | relevance | path

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

/Linux-v5.10/sound/pci/ac97/
Dac97_patch.h35 unsigned char shift_r; member
41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
Dac97_codec.c452 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_ac97_info_enum_double()
467 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double()
468 ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); in snd_ac97_get_enum_double()
487 if (e->shift_l != e->shift_r) { in snd_ac97_put_enum_double()
490 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_ac97_put_enum_double()
491 mask |= (bitmask - 1) << e->shift_r; in snd_ac97_put_enum_double()
/Linux-v5.10/sound/soc/
Dsoc-ops.c45 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
71 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double()
72 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_get_enum_double()
103 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
106 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_put_enum_double()
107 mask |= e->mask << e->shift_r; in snd_soc_put_enum_double()
Dsoc-dapm.c3445 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double()
3446 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_enum_double()
3481 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
3484 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_dapm_put_enum_double()
3485 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_enum_double()
Dsoc-topology.c1053 se->shift_r = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create()
1444 se->shift_r = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_dapm_widget_denum_create()
/Linux-v5.10/sound/soc/tegra/
Dtegra210_ahub.h47 .shift_r = shift, \
/Linux-v5.10/drivers/staging/greybus/
Daudio_topology.c584 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get()
615 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put()
748 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get()
810 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
813 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in gbcodec_enum_dapm_ctl_put()
814 mask |= e->mask << e->shift_r; in gbcodec_enum_dapm_ctl_put()
/Linux-v5.10/include/sound/
Dsoc.h199 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
207 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
212 { .reg = xreg, .shift_l = xshift, .shift_r = xshift, \
1245 unsigned char shift_r; member