Home
last modified time | relevance | path

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

/linux/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()
/linux/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.c3544 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double()
3545 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_enum_double()
3580 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
3583 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_dapm_put_enum_double()
3584 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_enum_double()
H A Dsoc-topology.c796 se->shift_r = tplg_chan_get_shift(tplg, ec->channel, SNDRV_CHMAP_FR); in soc_tplg_control_denum_create()
/linux/sound/soc/tegra/
H A Dtegra210_ahub.h47 .shift_r = shift, \
/linux/drivers/staging/greybus/
H A Daudio_topology.c580 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get()
611 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put()
746 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get()
806 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
809 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in gbcodec_enum_dapm_ctl_put()
/linux/include/sound/
H A Dsoc.h236 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
244 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
249 { .reg = xreg, .shift_l = xshift, .shift_r = xshift, \
1293 unsigned char shift_r; member
/linux/include/uapi/linux/media/raspberrypi/
H A Dpisp_be_config.h431 __u8 shift_r; member