Home
last modified time | relevance | path

Searched refs:shift_r (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/ac97/
H A Dac97_patch.h35 unsigned char shift_r; member
41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
H A 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()
/kernel/linux/linux-6.6/sound/pci/ac97/
H A Dac97_patch.h35 unsigned char shift_r; member
41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
H A Dac97_codec.c451 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_ac97_info_enum_double()
466 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double()
467 ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); in snd_ac97_get_enum_double()
486 if (e->shift_l != e->shift_r) { in snd_ac97_put_enum_double()
489 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_ac97_put_enum_double()
490 mask |= (bitmask - 1) << e->shift_r; in snd_ac97_put_enum_double()
/kernel/linux/linux-5.10/sound/soc/
H A 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()
H A Dsoc-dapm.c3478 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double()
3479 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_enum_double()
3514 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
3517 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_dapm_put_enum_double()
3518 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_enum_double()
H A Dsoc-topology.c1054 se->shift_r = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create()
1445 se->shift_r = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_dapm_widget_denum_create()
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-ops.c44 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
70 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double()
71 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_get_enum_double()
102 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
105 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_put_enum_double()
106 mask |= e->mask << e->shift_r; in snd_soc_put_enum_double()
H A Dsoc-dapm.c3487 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double()
3488 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_enum_double()
3523 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
3526 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_dapm_put_enum_double()
3527 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_enum_double()
H A Dsoc-topology.c895 se->shift_r = tplg_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create()
1196 se->shift_r = tplg_chan_get_shift(tplg, ec->channel, in soc_tplg_dapm_widget_denum_create()
/kernel/linux/linux-5.10/sound/soc/tegra/
H A Dtegra210_ahub.h47 .shift_r = shift, \
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra210_ahub.h47 .shift_r = shift, \
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Daudio_topology.c587 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get()
618 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put()
753 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get()
815 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
818 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in gbcodec_enum_dapm_ctl_put()
819 mask |= e->mask << e->shift_r; in gbcodec_enum_dapm_ctl_put()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Daudio_topology.c586 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get()
617 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put()
752 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get()
814 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
817 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in gbcodec_enum_dapm_ctl_put()
818 mask |= e->mask << e->shift_r; in gbcodec_enum_dapm_ctl_put()
/kernel/linux/linux-5.10/include/sound/
H A 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, \
1256 unsigned char shift_r; member
/kernel/linux/linux-6.6/include/sound/
H A Dsoc.h213 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
221 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
226 { .reg = xreg, .shift_l = xshift, .shift_r = xshift, \
1226 unsigned char shift_r; member

Completed in 64 milliseconds