Searched refs:num_items (Results 1 – 11 of 11) sorted by relevance
/sound/pci/hda/ |
D | hda_codec.c | 3505 uinfo->value.enumerated.items = imux->num_items; in snd_hda_input_mux_info() 3506 if (!imux->num_items) in snd_hda_input_mux_info() 3509 if (index >= imux->num_items) in snd_hda_input_mux_info() 3510 index = imux->num_items - 1; in snd_hda_input_mux_info() 3532 if (!imux->num_items) in snd_hda_input_mux_put() 3535 if (idx >= imux->num_items) in snd_hda_input_mux_put() 3536 idx = imux->num_items - 1; in snd_hda_input_mux_put() 3559 int num_items, const char * const *texts) in snd_hda_enum_helper_info() argument 3565 if (!texts || !num_items) { in snd_hda_enum_helper_info() 3566 num_items = 2; in snd_hda_enum_helper_info() [all …]
|
D | hda_generic.c | 3136 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch() 3140 if (i >= imux->num_items) { in check_dyn_adc_switch() 3148 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch() 3167 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch() 3180 if (imux->num_items == 1 || in check_dyn_adc_switch() 3181 (imux->num_items == 2 && spec->hp_mic)) { in check_dyn_adc_switch() 3200 int imux_idx = imux->num_items; in parse_capture_source() 3219 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source() 3220 spec->imux_pins[imux->num_items] = pin; in parse_capture_source() 3419 for (i = 0; i < imux->num_items; i++) { in cap_put_caller() [all …]
|
D | patch_conexant.c | 360 .num_items = 3, 523 if (idx >= imux->num_items) in olpc_xo_dc_bias_enum_put() 524 idx = imux->num_items - 1; in olpc_xo_dc_bias_enum_put()
|
D | patch_cirrus.c | 377 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs_parse_auto_config()
|
D | hda_local.h | 261 unsigned int num_items; member
|
D | patch_realtek.c | 4527 for (i = 0; i < imux->num_items; i++) { in alc_fixup_dell_xps13()
|
/sound/pci/ |
D | rme96.c | 1902 int num_items; in snd_rme96_info_inputtype_control() local 1907 num_items = 3; in snd_rme96_info_inputtype_control() 1910 num_items = 4; in snd_rme96_info_inputtype_control() 1915 num_items = 4; in snd_rme96_info_inputtype_control() 1919 num_items = 5; in snd_rme96_info_inputtype_control() 1926 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_rme96_info_inputtype_control()
|
D | rme32.c | 1613 int num_items; in snd_rme32_info_inputtype_control() local 1618 num_items = 3; in snd_rme32_info_inputtype_control() 1621 num_items = 4; in snd_rme32_info_inputtype_control() 1627 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_rme32_info_inputtype_control()
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 834 int num_items = hdmi->num_cvt + 1; in hdac_hdmi_create_pin_muxs() local 859 se->items = num_items; in hdac_hdmi_create_pin_muxs() 876 (num_items * sizeof(char *)), GFP_KERNEL); in hdac_hdmi_create_pin_muxs()
|
/sound/pci/rme9652/ |
D | hdsp.c | 2409 int num_items; in snd_hdsp_info_pref_sync_ref() local 2414 num_items = 6; in snd_hdsp_info_pref_sync_ref() 2417 num_items = 4; in snd_hdsp_info_pref_sync_ref() 2420 num_items = 3; in snd_hdsp_info_pref_sync_ref() 2426 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_hdsp_info_pref_sync_ref()
|
/sound/pci/ice1712/ |
D | ice1712.c | 2029 int num_items = snd_ctl_get_ioffidx(kcontrol, &uinfo->id) < 2 ? 12 : 11; in snd_ice1712_pro_route_info() local 2030 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_ice1712_pro_route_info()
|