Home
last modified time | relevance | path

Searched refs:shift_l (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/sound/pci/ac97/
Dac97_patch.h34 unsigned char shift_l; member
41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
Dac97_codec.c451 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/
Dsoc-ops.c44 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()
Dsoc-dapm.c429 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()
Dsoc-topology.c893 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/
Dtegra210_ahub.h46 .shift_l = shift, \
Dtegra210_mbdrc.c277 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/
Daudio_topology.c586 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/
Dwm_adsp.c324 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()
Dwm8804.c164 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()
Dadau17x1.c193 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()
Dwcd934x.c3460 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()
Dcs35l56.c137 int index = e->shift_l; in cs35l56_dspwait_asp1tx_get()
164 int index = e->shift_l; in cs35l56_dspwait_asp1tx_put()
Dcpcap.c372 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()
Dlpass-va-macro.c814 int path = e->shift_l; in va_macro_dec_mode_get()
827 int path = e->shift_l; in va_macro_dec_mode_put()
Dmadera.c667 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()
Dlpass-tx-macro.c1020 int path = e->shift_l; in tx_macro_dec_mode_get()
1033 int path = e->shift_l; in tx_macro_dec_mode_put()
Drt712-sdca-dmic.c478 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt712_sdca_dmic_mux_put()
Drt715-sdca.c573 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_sdca_mux_put()
Drt700.c580 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt700_mux_put()
Drt715.c604 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_mux_put()
Drt711.c737 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt711_mux_put()
Dmax98396.c989 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in max98396_mux_put()
/linux-6.6.21/include/sound/
Dsoc.h213 { .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/
Dmchp-pdmc.c160 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in mchp_pdmc_sinc_order_put()

12