Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 133) sorted by relevance

123456

/sound/soc/ti/
Dn810.c123 ucontrol->value.enumerated.item[0] = n810_spk_func; in n810_get_spk()
133 if (n810_spk_func == ucontrol->value.enumerated.item[0]) in n810_set_spk()
136 n810_spk_func = ucontrol->value.enumerated.item[0]; in n810_set_spk()
145 ucontrol->value.enumerated.item[0] = n810_jack_func; in n810_get_jack()
155 if (n810_jack_func == ucontrol->value.enumerated.item[0]) in n810_set_jack()
158 n810_jack_func = ucontrol->value.enumerated.item[0]; in n810_set_jack()
167 ucontrol->value.enumerated.item[0] = n810_dmic_func; in n810_get_input()
177 if (n810_dmic_func == ucontrol->value.enumerated.item[0]) in n810_set_input()
180 n810_dmic_func = ucontrol->value.enumerated.item[0]; in n810_set_input()
Drx51.c121 ucontrol->value.enumerated.item[0] = rx51_spk_func; in rx51_get_spk()
131 if (rx51_spk_func == ucontrol->value.enumerated.item[0]) in rx51_set_spk()
134 rx51_spk_func = ucontrol->value.enumerated.item[0]; in rx51_set_spk()
156 ucontrol->value.enumerated.item[0] = rx51_dmic_func; in rx51_get_input()
166 if (rx51_dmic_func == ucontrol->value.enumerated.item[0]) in rx51_set_input()
169 rx51_dmic_func = ucontrol->value.enumerated.item[0]; in rx51_set_input()
178 ucontrol->value.enumerated.item[0] = rx51_jack_func; in rx51_get_jack()
188 if (rx51_jack_func == ucontrol->value.enumerated.item[0]) in rx51_set_jack()
191 rx51_jack_func = ucontrol->value.enumerated.item[0]; in rx51_set_jack()
/sound/soc/pxa/
Dtosa.c90 ucontrol->value.enumerated.item[0] = tosa_jack_func; in tosa_get_jack()
99 if (tosa_jack_func == ucontrol->value.enumerated.item[0]) in tosa_set_jack()
102 tosa_jack_func = ucontrol->value.enumerated.item[0]; in tosa_set_jack()
110 ucontrol->value.enumerated.item[0] = tosa_spk_func; in tosa_get_spk()
119 if (tosa_spk_func == ucontrol->value.enumerated.item[0]) in tosa_set_spk()
122 tosa_spk_func = ucontrol->value.enumerated.item[0]; in tosa_set_spk()
Dpoodle.c136 ucontrol->value.enumerated.item[0] = poodle_jack_func; in poodle_get_jack()
145 if (poodle_jack_func == ucontrol->value.enumerated.item[0]) in poodle_set_jack()
148 poodle_jack_func = ucontrol->value.enumerated.item[0]; in poodle_set_jack()
156 ucontrol->value.enumerated.item[0] = poodle_spk_func; in poodle_get_spk()
165 if (poodle_spk_func == ucontrol->value.enumerated.item[0]) in poodle_set_spk()
168 poodle_spk_func = ucontrol->value.enumerated.item[0]; in poodle_set_spk()
Dspitz.c162 ucontrol->value.enumerated.item[0] = spitz_jack_func; in spitz_get_jack()
171 if (spitz_jack_func == ucontrol->value.enumerated.item[0]) in spitz_set_jack()
174 spitz_jack_func = ucontrol->value.enumerated.item[0]; in spitz_set_jack()
182 ucontrol->value.enumerated.item[0] = spitz_spk_func; in spitz_get_spk()
191 if (spitz_spk_func == ucontrol->value.enumerated.item[0]) in spitz_set_spk()
194 spitz_spk_func = ucontrol->value.enumerated.item[0]; in spitz_set_spk()
Dcorgi.c162 ucontrol->value.enumerated.item[0] = corgi_jack_func; in corgi_get_jack()
171 if (corgi_jack_func == ucontrol->value.enumerated.item[0]) in corgi_set_jack()
174 corgi_jack_func = ucontrol->value.enumerated.item[0]; in corgi_set_jack()
182 ucontrol->value.enumerated.item[0] = corgi_spk_func; in corgi_get_spk()
191 if (corgi_spk_func == ucontrol->value.enumerated.item[0]) in corgi_set_spk()
194 corgi_spk_func = ucontrol->value.enumerated.item[0]; in corgi_set_spk()
/sound/pci/ac97/
Dac97_patch.c81 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get()
88 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put()
110 ucontrol->value.enumerated.item[0] = ac97->channel_mode; in ac97_channel_mode_get()
117 unsigned char mode = ucontrol->value.enumerated.item[0]; in ac97_channel_mode_put()
235 ucontrol->value.enumerated.item[0] = val; in snd_ac97_ymf7x3_get_speaker()
245 if (ucontrol->value.enumerated.item[0] > 2) in snd_ac97_ymf7x3_put_speaker()
247 val = (ucontrol->value.enumerated.item[0] + 1) << 10; in snd_ac97_ymf7x3_put_speaker()
277 ucontrol->value.enumerated.item[0] = (val >> 1) & 1; in snd_ac97_ymf7x3_spdif_source_get()
287 if (ucontrol->value.enumerated.item[0] > 1) in snd_ac97_ymf7x3_spdif_source_put()
289 val = ucontrol->value.enumerated.item[0] << 1; in snd_ac97_ymf7x3_spdif_source_put()
[all …]
/sound/drivers/pcsp/
Dpcsp_mixer.c52 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info()
53 uinfo->value.enumerated.item = chip->max_treble; in pcsp_treble_info()
55 (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); in pcsp_treble_info()
63 ucontrol->value.enumerated.item[0] = chip->treble; in pcsp_treble_get()
72 int treble = ucontrol->value.enumerated.item[0]; in pcsp_treble_put()
/sound/isa/sb/
Dsb_mixer.c188 ucontrol->value.enumerated.item[0] = 0; in snd_dt019x_input_sw_get()
191 ucontrol->value.enumerated.item[0] = 1; in snd_dt019x_input_sw_get()
194 ucontrol->value.enumerated.item[0] = 2; in snd_dt019x_input_sw_get()
197 ucontrol->value.enumerated.item[0] = 4; in snd_dt019x_input_sw_get()
207 ucontrol->value.enumerated.item[0] = 4; in snd_dt019x_input_sw_get()
220 if (ucontrol->value.enumerated.item[0] > 4) in snd_dt019x_input_sw_put()
222 switch (ucontrol->value.enumerated.item[0]) { in snd_dt019x_input_sw_put()
278 ucontrol->value.enumerated.item[0] = oval; in snd_als4k_mono_capture_route_get()
290 if (ucontrol->value.enumerated.item[0] > 2) in snd_als4k_mono_capture_route_put()
296 | (ucontrol->value.enumerated.item[0] << 6); in snd_als4k_mono_capture_route_put()
[all …]
/sound/soc/
Dsoc-ops.c64 unsigned int val, item; in snd_soc_get_enum_double() local
72 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double()
73 ucontrol->value.enumerated.item[0] = item; in snd_soc_get_enum_double()
76 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double()
77 ucontrol->value.enumerated.item[1] = item; in snd_soc_get_enum_double()
98 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_put_enum_double() local
102 if (item[0] >= e->items) in snd_soc_put_enum_double()
104 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_put_enum_double()
107 if (item[1] >= e->items) in snd_soc_put_enum_double()
109 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_put_enum_double()
[all …]
/sound/soc/atmel/
Dtse850-pcm5142.c67 ucontrol->value.enumerated.item[0] = tse850->loop1_cache; in tse850_get_mux1()
79 unsigned int val = ucontrol->value.enumerated.item[0]; in tse850_put_mux1()
97 ucontrol->value.enumerated.item[0] = tse850->loop2_cache; in tse850_get_mux2()
109 unsigned int val = ucontrol->value.enumerated.item[0]; in tse850_put_mux2()
127 ucontrol->value.enumerated.item[0] = tse850->add_cache; in tse850_get_mix()
182 ucontrol->value.enumerated.item[0] = ret; in tse850_get_ana()
194 unsigned int uV = ucontrol->value.enumerated.item[0]; in tse850_put_ana()
/sound/pci/oxygen/
Dxonar_dg_mixer.c66 value->value.enumerated.item[0] = data->output_sel; in output_select_get()
76 unsigned int new = value->value.enumerated.item[0]; in output_select_put()
286 value->value.enumerated.item[0] = data->input_sel; in input_sel_get()
299 if (value->value.enumerated.item[0] > 3) in input_sel_put()
303 changed = value->value.enumerated.item[0] != data->input_sel; in input_sel_put()
305 data->input_sel = value->value.enumerated.item[0]; in input_sel_put()
332 value->value.enumerated.item[0] = in hpf_get()
346 if (value->value.enumerated.item[0]) in hpf_put()
Dxonar_pcm179x.c750 value->value.enumerated.item[0] = in rolloff_get()
768 if (!value->value.enumerated.item[0]) in rolloff_put()
859 value->value.enumerated.item[0] = 0; in st_output_switch_get()
861 value->value.enumerated.item[0] = 1; in st_output_switch_get()
863 value->value.enumerated.item[0] = 2; in st_output_switch_get()
878 switch (value->value.enumerated.item[0]) { in st_output_switch_put()
914 value->value.enumerated.item[0] = 0; in st_hp_volume_offset_get()
916 value->value.enumerated.item[0] = 1; in st_hp_volume_offset_get()
918 value->value.enumerated.item[0] = 2; in st_hp_volume_offset_get()
920 value->value.enumerated.item[0] = 3; in st_hp_volume_offset_get()
[all …]
Doxygen.c442 value->value.enumerated.item[0] = in rolloff_get()
458 if (value->value.enumerated.item[0]) in rolloff_put()
493 value->value.enumerated.item[0] = in hpf_get()
507 if (value->value.enumerated.item[0]) in hpf_put()
545 value->value.enumerated.item[0] = in meridian_dig_source_get()
556 value->value.enumerated.item[0] = in claro_dig_source_get()
572 if (value->value.enumerated.item[0] == 0) in meridian_dig_source_put()
593 if (value->value.enumerated.item[0]) in claro_dig_source_put()
/sound/soc/intel/haswell/
Dsst-haswell-ipc.c1420 int ret, item; in sst_hsw_dx_set_state() local
1437 for (item = 0; item < dx->entries_no; item++) { in sst_hsw_dx_set_state()
1440 item, dx->mem_info[item].offset, in sst_hsw_dx_set_state()
1441 dx->mem_info[item].size, in sst_hsw_dx_set_state()
1442 dx->mem_info[item].source); in sst_hsw_dx_set_state()
1495 u32 item, offset, size; in sst_hsw_dx_state_dump() local
1519 for (item = 0; item < hsw->dx.entries_no; item++) { in sst_hsw_dx_state_dump()
1520 if (hsw->dx.mem_info[item].source == SST_HSW_DX_TYPE_MEMORY_DUMP in sst_hsw_dx_state_dump()
1521 && hsw->dx.mem_info[item].offset > DSP_DRAM_ADDR_OFFSET in sst_hsw_dx_state_dump()
1522 && hsw->dx.mem_info[item].offset < in sst_hsw_dx_state_dump()
[all …]
/sound/drivers/
Ddummy.c826 value->value.enumerated.item[0] = dummy->iobox; in snd_dummy_iobox_get()
836 if (value->value.enumerated.item[0] > 1) in snd_dummy_iobox_put()
839 changed = value->value.enumerated.item[0] != dummy->iobox; in snd_dummy_iobox_put()
841 dummy->iobox = value->value.enumerated.item[0]; in snd_dummy_iobox_put()
953 #define FIELD_ENTRY(item, fmt) { \ argument
954 .name = #item, \
956 .offset = offsetof(struct snd_pcm_hardware, item), \
957 .size = sizeof(dummy_pcm_hardware.item) }
1002 char item[20]; in dummy_proc_write() local
1007 ptr = snd_info_get_str(item, line, sizeof(item)); in dummy_proc_write()
[all …]
/sound/soc/codecs/
Dcpcap.c384 ucontrol->value.enumerated.item[0] = 3; in cpcap_output_mux_get_enum()
387 ucontrol->value.enumerated.item[0] = 2; in cpcap_output_mux_get_enum()
390 ucontrol->value.enumerated.item[0] = 1; in cpcap_output_mux_get_enum()
393 ucontrol->value.enumerated.item[0] = 0; in cpcap_output_mux_get_enum()
408 unsigned int muxval = ucontrol->value.enumerated.item[0]; in cpcap_output_mux_put_enum()
465 ucontrol->value.enumerated.item[0] = 4; in cpcap_input_right_mux_get_enum()
468 ucontrol->value.enumerated.item[0] = 3; in cpcap_input_right_mux_get_enum()
471 ucontrol->value.enumerated.item[0] = 2; in cpcap_input_right_mux_get_enum()
474 ucontrol->value.enumerated.item[0] = 1; in cpcap_input_right_mux_get_enum()
477 ucontrol->value.enumerated.item[0] = 0; in cpcap_input_right_mux_get_enum()
[all …]
Dwl1273.c164 ucontrol->value.enumerated.item[0] = wl1273->mode; in snd_wl1273_get_audio_route()
182 if (wl1273->mode == ucontrol->value.enumerated.item[0]) in snd_wl1273_set_audio_route()
189 if (ucontrol->value.enumerated.item[0] >= ARRAY_SIZE(wl1273_audio_route)) in snd_wl1273_set_audio_route()
192 wl1273->mode = ucontrol->value.enumerated.item[0]; in snd_wl1273_set_audio_route()
207 ucontrol->value.enumerated.item[0] = wl1273->core->audio_mode; in snd_wl1273_fm_audio_get()
221 val = ucontrol->value.enumerated.item[0]; in snd_wl1273_fm_audio_put()
/sound/soc/fsl/
Dfsl_audmix.c117 unsigned int *item = ucontrol->value.enumerated.item; in fsl_audmix_put_mix_clk_src() local
128 val = snd_soc_enum_item_to_val(e, item[0]); in fsl_audmix_put_mix_clk_src()
159 unsigned int *item = ucontrol->value.enumerated.item; in fsl_audmix_put_out_src() local
176 val = snd_soc_enum_item_to_val(e, item[0]); in fsl_audmix_put_out_src()
/sound/pci/asihpi/
Dasihpi.c1702 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_aesebu_format_get()
1707 ucontrol->value.enumerated.item[0] = 1; in snd_asihpi_aesebu_format_get()
1709 ucontrol->value.enumerated.item[0] = 2; in snd_asihpi_aesebu_format_get()
1723 if (ucontrol->value.enumerated.item[0] == 1) in snd_asihpi_aesebu_format_put()
1725 if (ucontrol->value.enumerated.item[0] == 2) in snd_asihpi_aesebu_format_put()
1935 ucontrol->value.enumerated.item[0] = -1; in snd_asihpi_tuner_band_get()
1938 ucontrol->value.enumerated.item[0] = idx; in snd_asihpi_tuner_band_get()
1960 idx = ucontrol->value.enumerated.item[0]; in snd_asihpi_tuner_band_put()
2194 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_mux_info()
2195 uinfo->value.enumerated.item = in snd_asihpi_mux_info()
[all …]
/sound/pci/hda/
Dhda_auto_parser.c124 struct auto_pin_cfg_item *item, in can_be_headset_mic() argument
129 if (item->type != AUTO_PIN_MIC) in can_be_headset_mic()
132 if (item->is_headset_mic || item->is_headphone_mic) in can_be_headset_mic()
135 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic()
479 const struct auto_pin_cfg_item *item, in hda_get_input_pin_label() argument
492 if (item && item->is_headset_mic) in hda_get_input_pin_label()
494 if (item && item->is_headphone_mic) in hda_get_input_pin_label()
/sound/usb/line6/
Dtoneport.c198 if (uinfo->value.enumerated.item >= size) in snd_toneport_source_info()
199 uinfo->value.enumerated.item = size - 1; in snd_toneport_source_info()
202 toneport_source_info[uinfo->value.enumerated.item].name); in snd_toneport_source_info()
214 ucontrol->value.enumerated.item[0] = toneport->source; in snd_toneport_source_get()
226 source = ucontrol->value.enumerated.item[0]; in snd_toneport_source_put()
/sound/pci/rme9652/
Dhdsp.c1675 ucontrol->value.enumerated.item[0] = hdsp_spdif_in(hdsp); in snd_hdsp_get_spdif_in()
1687 val = ucontrol->value.enumerated.item[0] % ((hdsp->io_type == H9632) ? 4 : 3); in snd_hdsp_put_spdif_in()
1781 ucontrol->value.enumerated.item[0] = 0; in snd_hdsp_get_spdif_sample_rate()
1784 ucontrol->value.enumerated.item[0] = 1; in snd_hdsp_get_spdif_sample_rate()
1787 ucontrol->value.enumerated.item[0] = 2; in snd_hdsp_get_spdif_sample_rate()
1790 ucontrol->value.enumerated.item[0] = 3; in snd_hdsp_get_spdif_sample_rate()
1793 ucontrol->value.enumerated.item[0] = 4; in snd_hdsp_get_spdif_sample_rate()
1796 ucontrol->value.enumerated.item[0] = 5; in snd_hdsp_get_spdif_sample_rate()
1799 ucontrol->value.enumerated.item[0] = 7; in snd_hdsp_get_spdif_sample_rate()
1802 ucontrol->value.enumerated.item[0] = 8; in snd_hdsp_get_spdif_sample_rate()
[all …]
Dhdspm.c2423 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2427 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2431 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2435 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2444 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2448 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2452 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2456 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2466 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2470 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
[all …]
/sound/soc/meson/
Dg12a-tohdmitx.c98 ucontrol->value.enumerated.item[0] = in g12a_tohdmitx_i2s_mux_get_enum()
112 unsigned int mux = ucontrol->value.enumerated.item[0]; in g12a_tohdmitx_i2s_mux_put_enum()
151 ucontrol->value.enumerated.item[0] = in g12a_tohdmitx_spdif_mux_get_enum()
165 unsigned int mux = ucontrol->value.enumerated.item[0]; in g12a_tohdmitx_spdif_mux_put_enum()

123456