| /Linux-v5.15/sound/pci/ac97/ |
| D | ac97_patch.h | 34 unsigned char shift_l; member 41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
|
| D | ac97_codec.c | 452 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_ac97_info_enum_double() 466 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); in snd_ac97_get_enum_double() 467 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double() 485 val = ucontrol->value.enumerated.item[0] << e->shift_l; in snd_ac97_put_enum_double() 486 mask = (bitmask - 1) << e->shift_l; in snd_ac97_put_enum_double() 487 if (e->shift_l != e->shift_r) { in snd_ac97_put_enum_double()
|
| /Linux-v5.15/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() 68 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_get_enum_double() 71 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double() 101 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_put_enum_double() 102 mask = e->mask << e->shift_l; in snd_soc_put_enum_double() 103 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
|
| D | soc-dapm.c | 427 template.shift = e->shift_l; in dapm_kcontrol_data_alloc() 756 val = (val >> e->shift_l) & e->mask; in dapm_connect_mux() 3458 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_dapm_get_enum_double() 3460 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double() 3494 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_dapm_put_enum_double() 3495 mask = e->mask << e->shift_l; in snd_soc_dapm_put_enum_double() 3496 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
|
| D | soc-topology.c | 961 se->shift_l = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create() 1309 se->shift_l = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_dapm_widget_denum_create()
|
| /Linux-v5.15/sound/soc/tegra/ |
| D | tegra210_ahub.h | 46 .shift_l = shift, \
|
| /Linux-v5.15/drivers/staging/greybus/ |
| D | audio_topology.c | 584 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get() 615 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put() 748 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get() 800 val = mux << e->shift_l; in gbcodec_enum_dapm_ctl_put() 801 mask = e->mask << e->shift_l; in gbcodec_enum_dapm_ctl_put() 810 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
|
| /Linux-v5.15/sound/soc/codecs/ |
| D | wm8804.c | 164 unsigned int val = ucontrol->value.enumerated.item[0] << e->shift_l; in txsrc_put() 165 unsigned int mask = 1 << e->shift_l; in txsrc_put()
|
| D | adau17x1.c | 194 unsigned int stream = e->shift_l; in adau17x1_dsp_mux_enum_put() 237 unsigned int stream = e->shift_l; in adau17x1_dsp_mux_enum_get()
|
| D | wcd934x.c | 3428 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3430 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 3432 else if (e->shift_l == 4) in wcd934x_dec_enum_put() 3436 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3438 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 3442 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3444 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 3448 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3450 else if (e->shift_l == 2) in wcd934x_dec_enum_put()
|
| D | lpass-va-macro.c | 781 int path = e->shift_l; in va_macro_dec_mode_get() 794 int path = e->shift_l; in va_macro_dec_mode_put()
|
| D | wm_adsp.c | 785 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get() 799 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put() 805 mutex_lock(&dsp[e->shift_l].pwr_lock); in wm_adsp_fw_put() 807 if (dsp[e->shift_l].booted || !list_empty(&dsp[e->shift_l].compr_list)) in wm_adsp_fw_put() 810 dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; in wm_adsp_fw_put() 812 mutex_unlock(&dsp[e->shift_l].pwr_lock); in wm_adsp_fw_put()
|
| D | cpcap.c | 372 unsigned int shift = e->shift_l; in cpcap_output_mux_get_enum() 418 unsigned int mask = BIT(e->shift_l); in cpcap_output_mux_put_enum()
|
| D | lpass-tx-macro.c | 998 int path = e->shift_l; in tx_macro_dec_mode_get() 1011 int path = e->shift_l; in tx_macro_dec_mode_put()
|
| D | madera.c | 661 val = mux << e->shift_l; in madera_inmux_put() 662 mask = (e->mask << e->shift_l) | MADERA_IN1L_SRC_SE_MASK; in madera_inmux_put() 874 const int adsp_num = e->shift_l; in madera_adsp_rate_get() 894 const int adsp_num = e->shift_l; in madera_adsp_rate_put() 1068 val >>= e->shift_l; in madera_rate_put()
|
| D | rt715-sdca.c | 572 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_sdca_mux_put()
|
| D | rt715.c | 552 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_mux_put()
|
| D | rt700.c | 565 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt700_mux_put()
|
| D | rt711.c | 715 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt711_mux_put()
|
| D | rt711-sdca.c | 843 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt711_sdca_mux_put()
|
| D | cs47l92.c | 74 ep_sel = mux << e->shift_l; in cs47l92_put_demux()
|
| D | wcd938x.c | 2506 int path = e->shift_l; in wcd938x_tx_mode_get() 2519 int path = e->shift_l; in wcd938x_tx_mode_put()
|
| D | cs43130.c | 1030 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in cs43130_pcm_ch_put()
|
| /Linux-v5.15/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, \ 1145 unsigned char shift_l; member
|