/sound/pci/lola/ |
D | lola_clock.c | 141 chip->clock.items = val & 0xff; in lola_init_clock_widget() 143 chip->clock.items); in lola_init_clock_widget() 144 if (chip->clock.items > MAX_SAMPLE_CLOCK_COUNT) { in lola_init_clock_widget() 146 chip->clock.items); in lola_init_clock_widget() 150 nitems = chip->clock.items; in lola_init_clock_widget() 156 unsigned short items[4]; in lola_init_clock_widget() local 165 items[0] = val & 0xfff; in lola_init_clock_widget() 166 items[1] = (val >> 16) & 0xfff; in lola_init_clock_widget() 167 items[2] = res_ex & 0xfff; in lola_init_clock_widget() 168 items[3] = (res_ex >> 16) & 0xfff; in lola_init_clock_widget() [all …]
|
D | lola_proc.c | 72 unsigned short items[4]; in print_clock_widget() local 77 items[0] = val & 0xfff; in print_clock_widget() 78 items[1] = (val >> 16) & 0xfff; in print_clock_widget() 79 items[2] = res_ex & 0xfff; in print_clock_widget() 80 items[3] = (res_ex >> 16) & 0xfff; in print_clock_widget() 82 unsigned char type = items[j] >> 8; in print_clock_widget() 83 unsigned int freq = items[j] & 0xff; in print_clock_widget()
|
/sound/isa/msnd/ |
D | msnd_pinnacle_mixer.c | 62 unsigned items = test_bit(F_HAVEDIGITAL, &chip->flags) ? 3 : 2; in snd_msndmix_info_mux() local 66 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()
|
/sound/pci/ |
D | rme96.c | 1841 uinfo->value.enumerated.items = 3; in snd_rme96_info_inputtype_control() 1844 uinfo->value.enumerated.items = 4; in snd_rme96_info_inputtype_control() 1849 uinfo->value.enumerated.items = 4; in snd_rme96_info_inputtype_control() 1853 uinfo->value.enumerated.items = 5; in snd_rme96_info_inputtype_control() 1860 if (uinfo->value.enumerated.item > uinfo->value.enumerated.items - 1) { in snd_rme96_info_inputtype_control() 1861 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_rme96_info_inputtype_control() 1870 unsigned int items = 3; in snd_rme96_get_inputtype_control() local 1878 items = 3; in snd_rme96_get_inputtype_control() 1881 items = 4; in snd_rme96_get_inputtype_control() 1889 items = 4; in snd_rme96_get_inputtype_control() [all …]
|
D | rme32.c | 1617 uinfo->value.enumerated.items = 3; in snd_rme32_info_inputtype_control() 1620 uinfo->value.enumerated.items = 4; in snd_rme32_info_inputtype_control() 1627 uinfo->value.enumerated.items - 1) { in snd_rme32_info_inputtype_control() 1629 uinfo->value.enumerated.items - 1; in snd_rme32_info_inputtype_control() 1640 unsigned int items = 3; in snd_rme32_get_inputtype_control() local 1648 items = 3; in snd_rme32_get_inputtype_control() 1651 items = 4; in snd_rme32_get_inputtype_control() 1657 if (ucontrol->value.enumerated.item[0] >= items) { in snd_rme32_get_inputtype_control() 1658 ucontrol->value.enumerated.item[0] = items - 1; in snd_rme32_get_inputtype_control() 1670 int change, items = 3; in snd_rme32_put_inputtype_control() local [all …]
|
/sound/pci/rme9652/ |
D | hdsp.c | 1684 uinfo->value.enumerated.items = ((hdsp->io_type == H9632) ? 4 : 3); in snd_hdsp_info_spdif_in() 1790 uinfo->value.enumerated.items = (hdsp->io_type == H9632) ? 10 : 7; in snd_hdsp_info_spdif_sample_rate() 1791 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_hdsp_info_spdif_sample_rate() 1792 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_hdsp_info_spdif_sample_rate() 1874 uinfo->value.enumerated.items = (hdsp->io_type == H9632) ? 10 : 7 ; in snd_hdsp_info_autosync_sample_rate() 1875 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_hdsp_info_autosync_sample_rate() 1876 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_hdsp_info_autosync_sample_rate() 1943 uinfo->value.enumerated.items = 2; in snd_hdsp_info_system_clock_mode() 1944 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_hdsp_info_system_clock_mode() 1945 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_hdsp_info_system_clock_mode() [all …]
|
D | rme9652.c | 928 uinfo->value.enumerated.items = 2; in snd_rme9652_info_adat1_in() 999 uinfo->value.enumerated.items = 3; in snd_rme9652_info_spdif_in() 1148 uinfo->value.enumerated.items = 3; in snd_rme9652_info_sync_mode() 1240 uinfo->value.enumerated.items = rme9652->ss_channels == RME9652_NCHANNELS ? 4 : 3; in snd_rme9652_info_sync_pref() 1241 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_rme9652_info_sync_pref() 1242 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_rme9652_info_sync_pref() 1400 uinfo->value.enumerated.items = 4; in snd_rme9652_info_adat_sync() 1401 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_rme9652_info_adat_sync() 1402 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_rme9652_info_adat_sync()
|
/sound/pci/ice1712/ |
D | maya44.c | 364 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() 367 uinfo->value.enumerated.items - 1; in maya_rec_src_info() 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() 419 uinfo->value.enumerated.items - 1; in maya_pb_route_info()
|
D | prodigy192.c | 289 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() 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()
|
D | aureon.c | 210 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() 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() 1117 uinfo->value.enumerated.items = 5; in wm_adc_mux_info() 1118 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in wm_adc_mux_info() 1119 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in wm_adc_mux_info() 1172 uinfo->value.enumerated.items = 2; in aureon_cs8415_mux_info() [all …]
|
D | quartet.c | 557 uinfo->value.enumerated.items = ARRAY_SIZE(texts); in qtet_ain12_enum_info() 559 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in qtet_ain12_enum_info() 561 uinfo->value.enumerated.items - 1; in qtet_ain12_enum_info() 709 uinfo->value.enumerated.items = ARRAY_SIZE(private.texts); in qtet_enum_info() 711 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in qtet_enum_info() 713 uinfo->value.enumerated.items - 1; in qtet_enum_info()
|
D | phase.c | 728 uinfo->value.enumerated.items = 2; in phase28_oversampling_info() 730 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in phase28_oversampling_info() 731 uinfo->value.enumerated.item = uinfo->value.enumerated.items - in phase28_oversampling_info()
|
D | pontis.c | 422 uinfo->value.enumerated.items = 3; in cs_source_info() 423 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in cs_source_info() 424 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in cs_source_info()
|
/sound/pci/emu10k1/ |
D | emumixer.c | 396 char **items; in snd_emu1010_input_output_source_info() local 401 uinfo->value.enumerated.items = 49; in snd_emu1010_input_output_source_info() 402 items = emu1616_src_texts; in snd_emu1010_input_output_source_info() 404 uinfo->value.enumerated.items = 53; in snd_emu1010_input_output_source_info() 405 items = emu1010_src_texts; in snd_emu1010_input_output_source_info() 407 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_emu1010_input_output_source_info() 409 uinfo->value.enumerated.items - 1; in snd_emu1010_input_output_source_info() 411 items[uinfo->value.enumerated.item]); in snd_emu1010_input_output_source_info() 708 uinfo->value.enumerated.items = 4; in snd_emu1010_internal_clock_info() 709 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_emu1010_internal_clock_info() [all …]
|
/sound/pci/ac97/ |
D | ac97_patch.c | 89 uinfo->value.enumerated.items = nums; in ac97_enum_text_info() 249 uinfo->value.enumerated.items = 3; in snd_ac97_ymf7x3_info_speaker() 300 uinfo->value.enumerated.items = 2; in snd_ac97_ymf7x3_spdif_source_info() 408 uinfo->value.enumerated.items = 3; in snd_ac97_ymf753_spdif_output_pin_info() 1111 uinfo->value.enumerated.items = 5; in snd_ac97_stac9758_output_jack_info() 1155 uinfo->value.enumerated.items = 7; in snd_ac97_stac9758_input_jack_info() 1188 uinfo->value.enumerated.items = 3; in snd_ac97_stac9758_phonesel_info() 1811 uinfo->value.enumerated.items = 2; in snd_ac97_ad198x_spdif_source_info() 2001 uinfo->value.enumerated.items = 3; in snd_ac97_ad1888_downmix_info() 2160 uinfo->value.enumerated.items = 4; in snd_ac97_ad1985_vrefout_info() [all …]
|
/sound/pci/asihpi/ |
D | asihpi.c | 1626 uinfo->value.enumerated.items = 3; in snd_asihpi_aesebu_format_info() 1628 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_aesebu_format_info() 1630 uinfo->value.enumerated.items - 1; in snd_asihpi_aesebu_format_info() 1864 uinfo->value.enumerated.items = num_bands; in snd_asihpi_tuner_band_info() 1868 uinfo->value.enumerated.items) in snd_asihpi_tuner_band_info() 1870 uinfo->value.enumerated.items - 1; in snd_asihpi_tuner_band_info() 2148 uinfo->value.enumerated.items = in snd_asihpi_mux_info() 2151 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_mux_info() 2153 uinfo->value.enumerated.items - 1; in snd_asihpi_mux_info() 2266 uinfo->value.enumerated.items = valid_modes; in snd_asihpi_cmode_info() [all …]
|
/sound/pci/hda/ |
D | patch_analog.c | 664 .items = { 806 .items = { 815 .items = { 1441 .items = { 1458 uinfo->value.enumerated.items = 2; in ad1983_spdif_route_info() 1760 .items = { 1965 .items = { 2070 .items = { 2459 .items = { 2470 .items = { [all …]
|
D | patch_conexant.c | 658 .items = { 666 .items = { 676 .items = { 889 .items = { 1169 .items = { 1322 .items = { 2000 .items = { 2014 cxt5066_olpc_dc_bias.items[spec->dc_input_bias].index); in cxt5066_set_olpc_dc_bias() 2286 .items = { 2301 cxt5066_analog_mic_boost.items[spec->mic_boost].index); in cxt5066_set_mic_boost() [all …]
|
D | hda_codec.c | 2442 struct hda_nid_item *items = codec->mixers.list; in snd_hda_ctls_clear() local 2444 snd_ctl_remove(codec->bus->card, items[i].kctl); in snd_hda_ctls_clear() 2568 struct hda_nid_item *items; in map_slaves() local 2572 items = codec->mixers.list; in map_slaves() 2574 struct snd_kcontrol *sctl = items[i].kctl; in map_slaves() 2724 uinfo->value.enumerated.items = 3; in vmaster_mute_mode_info() 4967 uinfo->value.enumerated.items = num_chmodes; in snd_hda_ch_mode_info() 5035 uinfo->value.enumerated.items = imux->num_items; in snd_hda_input_mux_info() 5041 strcpy(uinfo->value.enumerated.name, imux->items[index].label); in snd_hda_input_mux_info() 5065 imux->items[idx].index); in snd_hda_input_mux_put() [all …]
|
D | patch_cmedia.c | 232 .items = { 242 .items = {
|
/sound/core/ |
D | control.c | 1022 item = min(item, uinfo->value.enumerated.items - 1); in snd_ctl_elem_user_enum_info() 1105 for (i = 0; i < ue->info.value.enumerated.items; ++i) { in snd_ctl_elem_init_enum_names() 1187 if (info->count > 128 || info->value.enumerated.items == 0) in snd_ctl_elem_add() 1713 unsigned int items, const char *const names[]) in snd_ctl_enum_info() argument 1717 info->value.enumerated.items = items; in snd_ctl_enum_info() 1718 if (info->value.enumerated.item >= items) in snd_ctl_enum_info() 1719 info->value.enumerated.item = items - 1; in snd_ctl_enum_info()
|
/sound/pci/aw2/ |
D | aw2-alsa.c | 736 uinfo->value.enumerated.items = 2; in snd_aw2_control_switch_capture_info() 737 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) { in snd_aw2_control_switch_capture_info() 739 uinfo->value.enumerated.items - 1; in snd_aw2_control_switch_capture_info()
|
/sound/pci/ca0106/ |
D | ca0106_mixer.c | 194 uinfo->value.enumerated.items = 6; in snd_ca0106_capture_source_info() 237 uinfo->value.enumerated.items = 4; in snd_ca0106_i2c_capture_source_info() 280 uinfo->value.enumerated.items = 2; in snd_ca0106_capture_line_in_side_out_info() 294 uinfo->value.enumerated.items = 2; in snd_ca0106_capture_mic_line_in_info()
|
/sound/drivers/pcsp/ |
D | pcsp_mixer.c | 50 uinfo->value.enumerated.items = chip->max_treble + 1; in pcsp_treble_info()
|
/sound/soc/s6000/ |
D | s6105-ipcam.c | 87 uinfo->value.enumerated.items = 2; in output_type_info()
|