Searched refs:shift_r (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/sound/pci/ac97/ |
D | ac97_patch.h | 50 unsigned char shift_r; member 56 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
|
D | ac97_codec.c | 467 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_ac97_info_enum_double() 482 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double() 483 ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); in snd_ac97_get_enum_double() 502 if (e->shift_l != e->shift_r) { in snd_ac97_put_enum_double() 505 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in snd_ac97_put_enum_double() 506 mask |= (bitmask - 1) << e->shift_r; in snd_ac97_put_enum_double()
|
/Linux-v4.19/sound/soc/ |
D | soc-ops.c | 45 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double() 74 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double() 75 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_get_enum_double() 106 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double() 109 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_put_enum_double() 110 mask |= e->mask << e->shift_r; in snd_soc_put_enum_double()
|
D | soc-dapm.c | 3289 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double() 3290 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_dapm_get_enum_double() 3325 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double() 3328 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_dapm_put_enum_double() 3329 mask |= e->mask << e->shift_r; in snd_soc_dapm_put_enum_double()
|
D | soc-topology.c | 975 se->shift_r = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create() 1297 se->shift_r = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_dapm_widget_denum_create()
|
/Linux-v4.19/drivers/staging/greybus/ |
D | audio_topology.c | 590 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get() 621 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put() 754 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get() 816 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put() 819 val |= ucontrol->value.enumerated.item[1] << e->shift_r; in gbcodec_enum_dapm_ctl_put() 820 mask |= e->mask << e->shift_r; in gbcodec_enum_dapm_ctl_put()
|
/Linux-v4.19/include/sound/ |
D | soc.h | 199 { .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, \ 1194 unsigned char shift_r; member
|