Home
last modified time | relevance | path

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

/linux-6.6.21/sound/pci/ac97/
Dac97_patch.h35 unsigned char shift_r; member
41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
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()
/linux-6.6.21/sound/soc/
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()
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()
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()
/linux-6.6.21/sound/soc/tegra/
Dtegra210_ahub.h47 .shift_r = shift, \
/linux-6.6.21/drivers/staging/greybus/
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()
/linux-6.6.21/include/sound/
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