Home
last modified time | relevance | path

Searched refs:enumerated (Results 1 – 25 of 87) sorted by relevance

1234

/sound/pci/ac97/
Dac97_patch.c89 uinfo->value.enumerated.items = nums; in ac97_enum_text_info()
90 if (uinfo->value.enumerated.item > nums - 1) in ac97_enum_text_info()
91 uinfo->value.enumerated.item = nums - 1; in ac97_enum_text_info()
92 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in ac97_enum_text_info()
106 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get()
113 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put()
135 ucontrol->value.enumerated.item[0] = ac97->channel_mode; in ac97_channel_mode_get()
142 unsigned char mode = ucontrol->value.enumerated.item[0]; in ac97_channel_mode_put()
249 uinfo->value.enumerated.items = 3; in snd_ac97_ymf7x3_info_speaker()
250 if (uinfo->value.enumerated.item > 2) in snd_ac97_ymf7x3_info_speaker()
[all …]
/sound/firewire/bebob/
Dbebob_maudio.c357 einf->value.enumerated.items = ARRAY_SIZE(special_clk_labels); in special_clk_ctl_info()
359 if (einf->value.enumerated.item >= einf->value.enumerated.items) in special_clk_ctl_info()
360 einf->value.enumerated.item = einf->value.enumerated.items - 1; in special_clk_ctl_info()
362 strcpy(einf->value.enumerated.name, in special_clk_ctl_info()
363 special_clk_labels[einf->value.enumerated.item]); in special_clk_ctl_info()
372 uval->value.enumerated.item[0] = params->clk_src; in special_clk_ctl_get()
382 id = uval->value.enumerated.item[0]; in special_clk_ctl_put()
449 einf->value.enumerated.items = ARRAY_SIZE(special_dig_in_iface_labels); in special_dig_in_iface_ctl_info()
451 if (einf->value.enumerated.item >= einf->value.enumerated.items) in special_dig_in_iface_ctl_info()
452 einf->value.enumerated.item = einf->value.enumerated.items - 1; in special_dig_in_iface_ctl_info()
[all …]
/sound/isa/sb/
Dsb_mixer.c191 uinfo->value.enumerated.items = 5; in snd_dt019x_input_sw_info()
192 if (uinfo->value.enumerated.item > 4) in snd_dt019x_input_sw_info()
193 uinfo->value.enumerated.item = 4; in snd_dt019x_input_sw_info()
194 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_dt019x_input_sw_info()
209 ucontrol->value.enumerated.item[0] = 0; in snd_dt019x_input_sw_get()
212 ucontrol->value.enumerated.item[0] = 1; in snd_dt019x_input_sw_get()
215 ucontrol->value.enumerated.item[0] = 2; in snd_dt019x_input_sw_get()
218 ucontrol->value.enumerated.item[0] = 4; in snd_dt019x_input_sw_get()
228 ucontrol->value.enumerated.item[0] = 4; in snd_dt019x_input_sw_get()
241 if (ucontrol->value.enumerated.item[0] > 4) in snd_dt019x_input_sw_put()
[all …]
/sound/pci/rme9652/
Dhdsp.c1688 uinfo->value.enumerated.items = ((hdsp->io_type == H9632) ? 4 : 3); in snd_hdsp_info_spdif_in()
1689 if (uinfo->value.enumerated.item > ((hdsp->io_type == H9632) ? 3 : 2)) in snd_hdsp_info_spdif_in()
1690 uinfo->value.enumerated.item = ((hdsp->io_type == H9632) ? 3 : 2); in snd_hdsp_info_spdif_in()
1691 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_hdsp_info_spdif_in()
1699 ucontrol->value.enumerated.item[0] = hdsp_spdif_in(hdsp); in snd_hdsp_get_spdif_in()
1711 val = ucontrol->value.enumerated.item[0] % ((hdsp->io_type == H9632) ? 4 : 3); in snd_hdsp_put_spdif_in()
1794 uinfo->value.enumerated.items = (hdsp->io_type == H9632) ? 10 : 7; in snd_hdsp_info_spdif_sample_rate()
1795 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_hdsp_info_spdif_sample_rate()
1796 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_hdsp_info_spdif_sample_rate()
1797 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_hdsp_info_spdif_sample_rate()
[all …]
Drme9652.c927 uinfo->value.enumerated.items = 2; in snd_rme9652_info_adat1_in()
928 if (uinfo->value.enumerated.item > 1) in snd_rme9652_info_adat1_in()
929 uinfo->value.enumerated.item = 1; in snd_rme9652_info_adat1_in()
930 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_rme9652_info_adat1_in()
939 ucontrol->value.enumerated.item[0] = rme9652_adat1_in(rme9652); in snd_rme9652_get_adat1_in()
952 val = ucontrol->value.enumerated.item[0] % 2; in snd_rme9652_put_adat1_in()
998 uinfo->value.enumerated.items = 3; in snd_rme9652_info_spdif_in()
999 if (uinfo->value.enumerated.item > 2) in snd_rme9652_info_spdif_in()
1000 uinfo->value.enumerated.item = 2; in snd_rme9652_info_spdif_in()
1001 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_rme9652_info_spdif_in()
[all …]
/sound/pci/ca0106/
Dca0106_mixer.c194 uinfo->value.enumerated.items = 6; in snd_ca0106_capture_source_info()
195 if (uinfo->value.enumerated.item > 5) in snd_ca0106_capture_source_info()
196 uinfo->value.enumerated.item = 5; in snd_ca0106_capture_source_info()
197 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ca0106_capture_source_info()
206 ucontrol->value.enumerated.item[0] = emu->capture_source; in snd_ca0106_capture_source_get()
217 val = ucontrol->value.enumerated.item[0] ; in snd_ca0106_capture_source_put()
237 uinfo->value.enumerated.items = 4; in snd_ca0106_i2c_capture_source_info()
238 if (uinfo->value.enumerated.item > 3) in snd_ca0106_i2c_capture_source_info()
239 uinfo->value.enumerated.item = 3; in snd_ca0106_i2c_capture_source_info()
240 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ca0106_i2c_capture_source_info()
[all …]
/sound/pci/ice1712/
Dmaya44.c364 uinfo->value.enumerated.items = ARRAY_SIZE(texts); in maya_rec_src_info()
365 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in maya_rec_src_info()
366 uinfo->value.enumerated.item = in maya_rec_src_info()
367 uinfo->value.enumerated.items - 1; in maya_rec_src_info()
368 strcpy(uinfo->value.enumerated.name, in maya_rec_src_info()
369 texts[uinfo->value.enumerated.item]); in maya_rec_src_info()
383 ucontrol->value.enumerated.item[0] = sel; in maya_rec_src_get()
391 int sel = ucontrol->value.enumerated.item[0]; in maya_rec_src_put()
416 uinfo->value.enumerated.items = ARRAY_SIZE(texts); in maya_pb_route_info()
417 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in maya_pb_route_info()
[all …]
Dprodigy192.c289 uinfo->value.enumerated.items = 2; in stac9460_mic_sw_info()
291 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in stac9460_mic_sw_info()
292 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in stac9460_mic_sw_info()
293 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in stac9460_mic_sw_info()
306 ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; in stac9460_mic_sw_get()
317 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
568 uinfo->value.enumerated.items = 2; in ak4114_input_sw_info()
569 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in ak4114_input_sw_info()
570 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in ak4114_input_sw_info()
571 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in ak4114_input_sw_info()
[all …]
Daureon.c210 uinfo->value.enumerated.items = 3; in aureon_universe_inmux_info()
211 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in aureon_universe_inmux_info()
212 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in aureon_universe_inmux_info()
213 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in aureon_universe_inmux_info()
222 ucontrol->value.enumerated.item[0] = spec->pca9554_out; in aureon_universe_inmux_get()
234 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
1112 uinfo->value.enumerated.items = 8; in wm_adc_mux_info()
1113 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in wm_adc_mux_info()
1114 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in wm_adc_mux_info()
1115 strcpy(uinfo->value.enumerated.name, universe_texts[uinfo->value.enumerated.item]); in wm_adc_mux_info()
[all …]
Dews.c585 uinfo->value.enumerated.items = 2; in snd_ice1712_ewx_io_sense_info()
586 if (uinfo->value.enumerated.item >= 2) in snd_ice1712_ewx_io_sense_info()
587 uinfo->value.enumerated.item = 1; in snd_ice1712_ewx_io_sense_info()
588 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ice1712_ewx_io_sense_info()
598 ucontrol->value.enumerated.item[0] = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & mask ? 1 : 0; in snd_ice1712_ewx_io_sense_get()
611 nval = ucontrol->value.enumerated.item[0] ? mask : 0; in snd_ice1712_ewx_io_sense_put()
656 …ucontrol->value.enumerated.item[0] = data & ICE1712_EWS88MT_OUTPUT_SENSE ? 1 : 0; /* high = -10dBV… in snd_ice1712_ews88mt_output_sense_get()
672 …ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS… in snd_ice1712_ews88mt_output_sense_put()
698 ucontrol->value.enumerated.item[0] = data & (1 << channel) ? 0 : 1; in snd_ice1712_ews88mt_input_sense_get()
718 ndata = (data & ~(1 << channel)) | (ucontrol->value.enumerated.item[0] ? 0 : (1 << channel)); in snd_ice1712_ews88mt_input_sense_put()
[all …]
Dice1712.c1844 uinfo->value.enumerated.items = 14; in snd_ice1712_pro_internal_clock_info()
1845 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_ice1712_pro_internal_clock_info()
1846 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_ice1712_pro_internal_clock_info()
1847 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_ice1712_pro_internal_clock_info()
1862 ucontrol->value.enumerated.item[0] = 13; in snd_ice1712_pro_internal_clock_get()
1869 ucontrol->value.enumerated.item[0] = val; in snd_ice1712_pro_internal_clock_get()
1888 if (ucontrol->value.enumerated.item[0] == 13) { in snd_ice1712_pro_internal_clock_put()
1935 uinfo->value.enumerated.items = 13; in snd_ice1712_pro_internal_clock_default_info()
1936 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_ice1712_pro_internal_clock_default_info()
1937 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_ice1712_pro_internal_clock_default_info()
[all …]
Dquartet.c559 uinfo->value.enumerated.items = ARRAY_SIZE(texts); in qtet_ain12_enum_info()
561 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in qtet_ain12_enum_info()
562 uinfo->value.enumerated.item = in qtet_ain12_enum_info()
563 uinfo->value.enumerated.items - 1; in qtet_ain12_enum_info()
564 strcpy(uinfo->value.enumerated.name, in qtet_ain12_enum_info()
565 texts[uinfo->value.enumerated.item]); in qtet_ain12_enum_info()
711 uinfo->value.enumerated.items = ARRAY_SIZE(private.texts); in qtet_enum_info()
713 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in qtet_enum_info()
714 uinfo->value.enumerated.item = in qtet_enum_info()
715 uinfo->value.enumerated.items - 1; in qtet_enum_info()
[all …]
/sound/drivers/pcsp/
Dpcsp_mixer.c50 uinfo->value.enumerated.items = chip->max_treble + 1; in pcsp_treble_info()
51 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info()
52 uinfo->value.enumerated.item = chip->max_treble; in pcsp_treble_info()
53 sprintf(uinfo->value.enumerated.name, "%lu", in pcsp_treble_info()
54 (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); in pcsp_treble_info()
62 ucontrol->value.enumerated.item[0] = chip->treble; in pcsp_treble_get()
71 int treble = ucontrol->value.enumerated.item[0]; in pcsp_treble_put()
/sound/isa/msnd/
Dmsnd_pinnacle_mixer.c66 uinfo->value.enumerated.items = items; in snd_msndmix_info_mux()
67 if (uinfo->value.enumerated.item >= items) in snd_msndmix_info_mux()
68 uinfo->value.enumerated.item = items - 1; in snd_msndmix_info_mux()
69 strcpy(uinfo->value.enumerated.name, in snd_msndmix_info_mux()
70 texts[uinfo->value.enumerated.item]); in snd_msndmix_info_mux()
79 ucontrol->value.enumerated.item[0] = 0; in snd_msndmix_get_mux()
82 ucontrol->value.enumerated.item[0] = 1; in snd_msndmix_get_mux()
85 ucontrol->value.enumerated.item[0] = 2; in snd_msndmix_get_mux()
130 return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); in snd_msndmix_put_mux()
/sound/pci/asihpi/
Dasihpi.c1630 uinfo->value.enumerated.items = 3; in snd_asihpi_aesebu_format_info()
1632 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_aesebu_format_info()
1633 uinfo->value.enumerated.item = in snd_asihpi_aesebu_format_info()
1634 uinfo->value.enumerated.items - 1; in snd_asihpi_aesebu_format_info()
1636 strcpy(uinfo->value.enumerated.name, in snd_asihpi_aesebu_format_info()
1637 asihpi_aesebu_format_names[uinfo->value.enumerated.item]); in snd_asihpi_aesebu_format_info()
1652 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_aesebu_format_get()
1657 ucontrol->value.enumerated.item[0] = 1; in snd_asihpi_aesebu_format_get()
1659 ucontrol->value.enumerated.item[0] = 2; in snd_asihpi_aesebu_format_get()
1673 if (ucontrol->value.enumerated.item[0] == 1) in snd_asihpi_aesebu_format_put()
[all …]
/sound/pci/emu10k1/
Demumixer.c401 uinfo->value.enumerated.items = 49; in snd_emu1010_input_output_source_info()
404 uinfo->value.enumerated.items = 53; in snd_emu1010_input_output_source_info()
407 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_emu1010_input_output_source_info()
408 uinfo->value.enumerated.item = in snd_emu1010_input_output_source_info()
409 uinfo->value.enumerated.items - 1; in snd_emu1010_input_output_source_info()
410 strcpy(uinfo->value.enumerated.name, in snd_emu1010_input_output_source_info()
411 items[uinfo->value.enumerated.item]); in snd_emu1010_input_output_source_info()
427 ucontrol->value.enumerated.item[0] = emu->emu1010.output_source[channel]; in snd_emu1010_output_source_get()
438 val = ucontrol->value.enumerated.item[0]; in snd_emu1010_output_source_put()
471 ucontrol->value.enumerated.item[0] = emu->emu1010.input_source[channel]; in snd_emu1010_input_source_get()
[all …]
Dp16v.c767 uinfo->value.enumerated.items = 8; in snd_p16v_capture_source_info()
768 if (uinfo->value.enumerated.item > 7) in snd_p16v_capture_source_info()
769 uinfo->value.enumerated.item = 7; in snd_p16v_capture_source_info()
770 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_p16v_capture_source_info()
779 ucontrol->value.enumerated.item[0] = emu->p16v_capture_source; in snd_p16v_capture_source_get()
792 val = ucontrol->value.enumerated.item[0] ; in snd_p16v_capture_source_put()
812 uinfo->value.enumerated.items = 4; in snd_p16v_capture_channel_info()
813 if (uinfo->value.enumerated.item > 3) in snd_p16v_capture_channel_info()
814 uinfo->value.enumerated.item = 3; in snd_p16v_capture_channel_info()
815 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_p16v_capture_channel_info()
[all …]
/sound/drivers/vx/
Dvx_mixer.c485 uinfo->value.enumerated.items = 3; in vx_audio_src_info()
486 if (uinfo->value.enumerated.item > 2) in vx_audio_src_info()
487 uinfo->value.enumerated.item = 2; in vx_audio_src_info()
488 strcpy(uinfo->value.enumerated.name, in vx_audio_src_info()
489 texts_mic[uinfo->value.enumerated.item]); in vx_audio_src_info()
491 uinfo->value.enumerated.items = 2; in vx_audio_src_info()
492 if (uinfo->value.enumerated.item > 1) in vx_audio_src_info()
493 uinfo->value.enumerated.item = 1; in vx_audio_src_info()
494 strcpy(uinfo->value.enumerated.name, in vx_audio_src_info()
495 texts_vx2[uinfo->value.enumerated.item]); in vx_audio_src_info()
[all …]
/sound/core/
Dcontrol_compat.c88 } enumerated; member
111 if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) in snd_ctl_elem_info_compat()
145 if (copy_to_user(&data32->value.enumerated, in snd_ctl_elem_info_compat()
146 &data->value.enumerated, in snd_ctl_elem_info_compat()
147 sizeof(data->value.enumerated))) in snd_ctl_elem_info_compat()
421 if (copy_from_user(&data->value.enumerated, in snd_ctl_elem_add_compat()
422 &data32->value.enumerated, in snd_ctl_elem_add_compat()
423 sizeof(data->value.enumerated))) in snd_ctl_elem_add_compat()
425 data->value.enumerated.names_ptr = in snd_ctl_elem_add_compat()
426 (uintptr_t)compat_ptr(data->value.enumerated.names_ptr); in snd_ctl_elem_add_compat()
/sound/usb/6fire/
Dcontrol.c332 uinfo->value.enumerated.items = 2; in usb6fire_control_line_phono_info()
333 if (uinfo->value.enumerated.item > 1) in usb6fire_control_line_phono_info()
334 uinfo->value.enumerated.item = 1; in usb6fire_control_line_phono_info()
335 strcpy(uinfo->value.enumerated.name, in usb6fire_control_line_phono_info()
336 line_phono_texts[uinfo->value.enumerated.item]); in usb6fire_control_line_phono_info()
366 uinfo->value.enumerated.items = 2; in usb6fire_control_opt_coax_info()
367 if (uinfo->value.enumerated.item > 1) in usb6fire_control_opt_coax_info()
368 uinfo->value.enumerated.item = 1; in usb6fire_control_opt_coax_info()
369 strcpy(uinfo->value.enumerated.name, in usb6fire_control_opt_coax_info()
370 opt_coax_texts[uinfo->value.enumerated.item]); in usb6fire_control_opt_coax_info()
[all …]
/sound/pci/
Drme96.c1896 uinfo->value.enumerated.items = 3; in snd_rme96_info_inputtype_control()
1899 uinfo->value.enumerated.items = 4; in snd_rme96_info_inputtype_control()
1904 uinfo->value.enumerated.items = 4; in snd_rme96_info_inputtype_control()
1908 uinfo->value.enumerated.items = 5; in snd_rme96_info_inputtype_control()
1915 if (uinfo->value.enumerated.item > uinfo->value.enumerated.items - 1) { in snd_rme96_info_inputtype_control()
1916 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_rme96_info_inputtype_control()
1918 strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]); in snd_rme96_info_inputtype_control()
1928 ucontrol->value.enumerated.item[0] = snd_rme96_getinputtype(rme96); in snd_rme96_get_inputtype_control()
1941 if (ucontrol->value.enumerated.item[0] == RME96_INPUT_ANALOG) { in snd_rme96_get_inputtype_control()
1942 ucontrol->value.enumerated.item[0] = RME96_INPUT_XLR; in snd_rme96_get_inputtype_control()
[all …]
/sound/i2c/other/
Dak4xxx-adda.c473 uinfo->value.enumerated.items = 4; in snd_akm4xxx_deemphasis_info()
474 if (uinfo->value.enumerated.item >= 4) in snd_akm4xxx_deemphasis_info()
475 uinfo->value.enumerated.item = 3; in snd_akm4xxx_deemphasis_info()
476 strcpy(uinfo->value.enumerated.name, in snd_akm4xxx_deemphasis_info()
477 texts[uinfo->value.enumerated.item]); in snd_akm4xxx_deemphasis_info()
488 ucontrol->value.enumerated.item[0] = in snd_akm4xxx_deemphasis_get()
500 unsigned char nval = ucontrol->value.enumerated.item[0] & 3; in snd_akm4xxx_deemphasis_put()
581 uinfo->value.enumerated.items = num_names; in ak4xxx_capture_source_info()
582 idx = uinfo->value.enumerated.item; in ak4xxx_capture_source_info()
586 strlcpy(uinfo->value.enumerated.name, input_names[idx], in ak4xxx_capture_source_info()
[all …]
/sound/pci/pcxhr/
Dpcxhr_mixer.c665 uinfo->value.enumerated.items = i; in pcxhr_audio_src_info()
666 if (uinfo->value.enumerated.item > (i-1)) in pcxhr_audio_src_info()
667 uinfo->value.enumerated.item = i-1; in pcxhr_audio_src_info()
668 strcpy(uinfo->value.enumerated.name, in pcxhr_audio_src_info()
669 texts[uinfo->value.enumerated.item]); in pcxhr_audio_src_info()
677 ucontrol->value.enumerated.item[0] = chip->audio_capture_source; in pcxhr_audio_src_get()
692 if (ucontrol->value.enumerated.item[0] >= i) in pcxhr_audio_src_put()
695 if (chip->audio_capture_source != ucontrol->value.enumerated.item[0]) { in pcxhr_audio_src_put()
696 chip->audio_capture_source = ucontrol->value.enumerated.item[0]; in pcxhr_audio_src_put()
761 uinfo->value.enumerated.items = clock_items; in pcxhr_clock_type_info()
[all …]
/sound/pci/oxygen/
Dxonar_pcm179x.c741 value->value.enumerated.item[0] = in rolloff_get()
759 if (!value->value.enumerated.item[0]) in rolloff_put()
807 value->value.enumerated.item[0] = 0; in st_output_switch_get()
809 value->value.enumerated.item[0] = 1; in st_output_switch_get()
811 value->value.enumerated.item[0] = 2; in st_output_switch_get()
826 switch (value->value.enumerated.item[0]) { in st_output_switch_put()
862 value->value.enumerated.item[0] = 0; in st_hp_volume_offset_get()
864 value->value.enumerated.item[0] = 1; in st_hp_volume_offset_get()
866 value->value.enumerated.item[0] = 2; in st_hp_volume_offset_get()
868 value->value.enumerated.item[0] = 3; in st_hp_volume_offset_get()
[all …]
Dxonar_dg_mixer.c76 value->value.enumerated.item[0] = data->output_sel; in output_select_get()
86 unsigned int new = value->value.enumerated.item[0]; in output_select_put()
296 value->value.enumerated.item[0] = data->input_sel; in input_sel_get()
309 if (value->value.enumerated.item[0] > 3) in input_sel_put()
313 changed = value->value.enumerated.item[0] != data->input_sel; in input_sel_put()
315 data->input_sel = value->value.enumerated.item[0]; in input_sel_put()
342 value->value.enumerated.item[0] = in hpf_get()
356 if (value->value.enumerated.item[0]) in hpf_put()

1234