| /OK3568_Linux_fs/kernel/sound/pci/ac97/ |
| H A D | ac97_patch.h | 34 unsigned char shift_l; member 41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/sound/soc/ |
| H A 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()
|
| H A 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() 761 val = (val >> e->shift_l) & e->mask; in dapm_connect_mux() 3476 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_dapm_get_enum_double() 3478 if (e->shift_l != e->shift_r) { in snd_soc_dapm_get_enum_double() 3512 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_dapm_put_enum_double() 3513 mask = e->mask << e->shift_l; in snd_soc_dapm_put_enum_double() 3514 if (e->shift_l != e->shift_r) { in snd_soc_dapm_put_enum_double()
|
| H A D | soc-topology.c | 1052 se->shift_l = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_denum_create() 1443 se->shift_l = tplc_chan_get_shift(tplg, ec->channel, in soc_tplg_dapm_widget_denum_create()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | rv1106_codec.c | 496 if (e->shift_l) in rv1106_codec_agc_get() 514 if (e->shift_l) { in rv1106_codec_agc_put() 537 if (e->shift_l) { in rv1106_codec_agc_put() 571 if (e->shift_l) { in rv1106_codec_agc_asr_get() 594 if (e->shift_l) { in rv1106_codec_agc_asr_put() 619 if (e->shift_l) { in rv1106_codec_mic_mute_get() 644 if (e->shift_l) { in rv1106_codec_mic_mute_put()
|
| H A 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()
|
| H A 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()
|
| H A D | wcd934x.c | 2664 if (e->shift_l == 0) in wcd934x_dec_enum_put() 2666 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 2668 else if (e->shift_l == 4) in wcd934x_dec_enum_put() 2672 if (e->shift_l == 0) in wcd934x_dec_enum_put() 2674 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 2678 if (e->shift_l == 0) in wcd934x_dec_enum_put() 2680 else if (e->shift_l == 2) in wcd934x_dec_enum_put() 2684 if (e->shift_l == 0) in wcd934x_dec_enum_put() 2686 else if (e->shift_l == 2) in wcd934x_dec_enum_put()
|
| H A D | wm_adsp.c | 791 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get() 805 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put() 811 mutex_lock(&dsp[e->shift_l].pwr_lock); in wm_adsp_fw_put() 813 if (dsp[e->shift_l].booted || !list_empty(&dsp[e->shift_l].compr_list)) in wm_adsp_fw_put() 816 dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; in wm_adsp_fw_put() 818 mutex_unlock(&dsp[e->shift_l].pwr_lock); in wm_adsp_fw_put()
|
| H A D | cpcap.c | 363 unsigned int shift = e->shift_l; in cpcap_output_mux_get_enum() 409 unsigned int mask = BIT(e->shift_l); in cpcap_output_mux_put_enum()
|
| H A 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()
|
| H A D | rt715.c | 329 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt715_mux_put()
|
| H A D | rt700.c | 565 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt700_mux_put()
|
| H A D | rt711.c | 685 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in rt711_mux_put()
|
| H A D | cs47l92.c | 74 ep_sel = mux << e->shift_l; in cs47l92_put_demux()
|
| H A D | rk3308_codec.c | 637 if (e->shift_l) { in rk3308_codec_mic_mute_get() 669 if (e->shift_l) { in rk3308_codec_mic_mute_put()
|
| H A D | cs43130.c | 1029 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in cs43130_pcm_ch_put()
|
| /OK3568_Linux_fs/kernel/sound/soc/tegra/ |
| H A D | tegra210_ahub.h | 46 .shift_l = shift, \
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | audio_topology.c | 587 if (e->shift_l != e->shift_r) in gbcodec_enum_ctl_get() 618 if (e->shift_l != e->shift_r) { in gbcodec_enum_ctl_put() 753 if (e->shift_l != e->shift_r) in gbcodec_enum_dapm_ctl_get() 805 val = mux << e->shift_l; in gbcodec_enum_dapm_ctl_put() 806 mask = e->mask << e->shift_l; in gbcodec_enum_dapm_ctl_put() 815 if (e->shift_l != e->shift_r) { in gbcodec_enum_dapm_ctl_put()
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | soc.h | 200 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \ 208 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \ 213 { .reg = xreg, .shift_l = xshift, .shift_r = xshift, \ 1272 unsigned char shift_l; member
|