Searched refs:shift_r (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/sound/pci/ac97/ |
D | ac97_patch.h | 35 unsigned char shift_r; member 41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
|
D | ac97_codec.c | 451 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/ |
D | soc-ops.c | 44 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()
|
D | soc-dapm.c | 3487 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()
|
D | soc-topology.c | 895 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/ |
D | tegra210_ahub.h | 47 .shift_r = shift, \
|
/linux-6.6.21/drivers/staging/greybus/ |
D | audio_topology.c | 586 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/ |
D | soc.h | 213 { .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
|