Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 11 of 11) sorted by relevance

/sound/pci/hda/
Dhda_codec.c3473 uinfo->value.enumerated.items = imux->num_items; in snd_hda_input_mux_info()
3474 if (!imux->num_items) in snd_hda_input_mux_info()
3477 if (index >= imux->num_items) in snd_hda_input_mux_info()
3478 index = imux->num_items - 1; in snd_hda_input_mux_info()
3500 if (!imux->num_items) in snd_hda_input_mux_put()
3503 if (idx >= imux->num_items) in snd_hda_input_mux_put()
3504 idx = imux->num_items - 1; in snd_hda_input_mux_put()
3527 int num_items, const char * const *texts) in snd_hda_enum_helper_info() argument
3533 if (!texts || !num_items) { in snd_hda_enum_helper_info()
3534 num_items = 2; in snd_hda_enum_helper_info()
[all …]
Dhda_generic.c3173 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
3177 if (i >= imux->num_items) { in check_dyn_adc_switch()
3185 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
3204 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
3217 if (imux->num_items == 1 || in check_dyn_adc_switch()
3218 (imux->num_items == 2 && spec->hp_mic)) { in check_dyn_adc_switch()
3237 int imux_idx = imux->num_items; in parse_capture_source()
3256 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source()
3257 spec->imux_pins[imux->num_items] = pin; in parse_capture_source()
3456 for (i = 0; i < imux->num_items; i++) { in cap_put_caller()
[all …]
Dpatch_conexant.c324 .num_items = 3,
487 if (idx >= imux->num_items) in olpc_xo_dc_bias_enum_put()
488 idx = imux->num_items - 1; in olpc_xo_dc_bias_enum_put()
Dhda_local.h187 unsigned int num_items; member
Dpatch_cirrus.c364 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs_parse_auto_config()
Dpatch_realtek.c5298 for (i = 0; i < imux->num_items; i++) { in alc_fixup_dell_xps13()
/sound/pci/
Drme96.c1903 int num_items; in snd_rme96_info_inputtype_control() local
1908 num_items = 3; in snd_rme96_info_inputtype_control()
1911 num_items = 4; in snd_rme96_info_inputtype_control()
1916 num_items = 4; in snd_rme96_info_inputtype_control()
1920 num_items = 5; in snd_rme96_info_inputtype_control()
1927 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_rme96_info_inputtype_control()
Drme32.c1608 int num_items; in snd_rme32_info_inputtype_control() local
1613 num_items = 3; in snd_rme32_info_inputtype_control()
1616 num_items = 4; in snd_rme32_info_inputtype_control()
1622 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_rme32_info_inputtype_control()
/sound/soc/codecs/
Dhdac_hdmi.c976 int num_items = hdmi->num_cvt + 1; in hdac_hdmi_create_pin_port_muxs() local
1002 se->items = num_items; in hdac_hdmi_create_pin_port_muxs()
1019 (num_items * sizeof(char *)), GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
/sound/pci/rme9652/
Dhdsp.c2392 int num_items; in snd_hdsp_info_pref_sync_ref() local
2397 num_items = 6; in snd_hdsp_info_pref_sync_ref()
2400 num_items = 4; in snd_hdsp_info_pref_sync_ref()
2403 num_items = 3; in snd_hdsp_info_pref_sync_ref()
2409 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_hdsp_info_pref_sync_ref()
/sound/pci/ice1712/
Dice1712.c2012 int num_items = snd_ctl_get_ioffidx(kcontrol, &uinfo->id) < 2 ? 12 : 11; in snd_ice1712_pro_route_info() local
2013 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_ice1712_pro_route_info()