/linux-6.6.21/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 | 451 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_ac97_info_enum_double() 465 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); in snd_ac97_get_enum_double() 466 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double() 484 val = ucontrol->value.enumerated.item[0] << e->shift_l; in snd_ac97_put_enum_double() 485 mask = (bitmask - 1) << e->shift_l; in snd_ac97_put_enum_double() 486 if (e->shift_l != 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() 67 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_get_enum_double() 70 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double() 100 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_put_enum_double() 101 mask = e->mask << e->shift_l; in snd_soc_put_enum_double() 102 if (e->shift_l != e->shift_r) { in snd_soc_put_enum_double()
|
D | soc-dapm.c | 429 template.shift = e->shift_l; in dapm_kcontrol_data_alloc() 449 (e->mask << e->shift_l); in dapm_kcontrol_data_alloc() 753 val = (val >> e->shift_l) & e->mask; in dapm_connect_mux() 3485 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_dapm_get_enum_double() 3487 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double() 3521 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_dapm_put_enum_double() 3522 mask = e->mask << e->shift_l; in snd_soc_dapm_put_enum_double() 3523 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
|
D | soc-topology.c | 893 se->shift_l = tplg_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create() 1194 se->shift_l = 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 | 46 .shift_l = shift, \
|
D | tegra210_mbdrc.c | 277 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & e->mask; in tegra210_mbdrc_get_enum() 295 val = ucontrol->value.enumerated.item[0] << e->shift_l; in tegra210_mbdrc_put_enum() 296 mask = e->mask << e->shift_l; in tegra210_mbdrc_put_enum()
|
/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() 804 val = mux << e->shift_l; in gbcodec_enum_dapm_ctl_put() 805 mask = e->mask << e->shift_l; in gbcodec_enum_dapm_ctl_put() 814 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
|
/linux-6.6.21/sound/soc/codecs/ |
D | wm_adsp.c | 324 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get() 338 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put() 344 mutex_lock(&dsp[e->shift_l].cs_dsp.pwr_lock); in wm_adsp_fw_put() 346 if (dsp[e->shift_l].cs_dsp.booted || !list_empty(&dsp[e->shift_l].compr_list)) in wm_adsp_fw_put() 349 dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; in wm_adsp_fw_put() 351 mutex_unlock(&dsp[e->shift_l].cs_dsp.pwr_lock); in wm_adsp_fw_put()
|
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 | 193 unsigned int stream = e->shift_l; in adau17x1_dsp_mux_enum_put() 236 unsigned int stream = e->shift_l; in adau17x1_dsp_mux_enum_get()
|
D | wcd934x.c | 3460 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3462 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 3464 else if (e->shift_l == 4) in wcd934x_dec_enum_put() 3468 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3470 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 3474 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3476 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 3480 if (e->shift_l == 0) in wcd934x_dec_enum_put() 3482 else if (e->shift_l == 2) in wcd934x_dec_enum_put()
|
D | cs35l56.c | 137 int index = e->shift_l; in cs35l56_dspwait_asp1tx_get() 164 int index = e->shift_l; in cs35l56_dspwait_asp1tx_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-va-macro.c | 814 int path = e->shift_l; in va_macro_dec_mode_get() 827 int path = e->shift_l; in va_macro_dec_mode_put()
|
D | madera.c | 667 val = mux << e->shift_l; in madera_inmux_put() 668 mask = (e->mask << e->shift_l) | MADERA_IN1L_SRC_SE_MASK; in madera_inmux_put() 880 const int adsp_num = e->shift_l; in madera_adsp_rate_get() 900 const int adsp_num = e->shift_l; in madera_adsp_rate_put() 1074 val >>= e->shift_l; in madera_rate_put()
|
D | lpass-tx-macro.c | 1020 int path = e->shift_l; in tx_macro_dec_mode_get() 1033 int path = e->shift_l; in tx_macro_dec_mode_put()
|
D | rt712-sdca-dmic.c | 478 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt712_sdca_dmic_mux_put()
|
D | rt715-sdca.c | 573 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_sdca_mux_put()
|
D | rt700.c | 580 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt700_mux_put()
|
D | rt715.c | 604 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_mux_put()
|
D | rt711.c | 737 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt711_mux_put()
|
D | max98396.c | 989 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in max98396_mux_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, \ 1225 unsigned char shift_l; member
|
/linux-6.6.21/sound/soc/atmel/ |
D | mchp-pdmc.c | 160 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in mchp_pdmc_sinc_order_put()
|