Home
last modified time | relevance | path

Searched refs:nums (Results 1 – 9 of 9) sorted by relevance

/sound/pci/hda/
Dhda_generic.c241 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() argument
244 for (i = 0; i < nums; i++) in find_idx_in_nid_list()
390 int i, nums; in __parse_nid_path() local
397 nums = snd_hda_get_conn_list(codec, to_nid, &conn); in __parse_nid_path()
398 for (i = 0; i < nums; i++) { in __parse_nid_path()
414 for (i = 0; i < nums; i++) { in __parse_nid_path()
429 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX) in __parse_nid_path()
787 int n, nums, idx; in activate_amp_in() local
791 nums = snd_hda_get_conn_list(codec, nid, &conn); in activate_amp_in()
792 if (nums < 0) in activate_amp_in()
[all …]
Dpatch_via.c816 int i, nums; in add_secret_dac_path() local
822 nums = snd_hda_get_connections(codec, spec->gen.mixer_nid, conn, in add_secret_dac_path()
824 if (nums < 0) in add_secret_dac_path()
825 return nums; in add_secret_dac_path()
827 for (i = 0; i < nums; i++) { in add_secret_dac_path()
837 conn[nums++] = nid; in add_secret_dac_path()
840 nums, conn); in add_secret_dac_path()
Dhda_auto_parser.c93 static void reorder_outputs(unsigned int nums, hda_nid_t *pins) in reorder_outputs() argument
97 switch (nums) { in reorder_outputs()
593 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() argument
596 for (i = 0; i < nums; i++) in find_idx_in_nid_list()
Dhda_codec.c268 int i, nums; in snd_hda_get_conn_index() local
270 nums = snd_hda_get_conn_list(codec, mux, &conn); in snd_hda_get_conn_index()
271 for (i = 0; i < nums; i++) in snd_hda_get_conn_index()
281 for (i = 0; i < nums; i++) { in snd_hda_get_conn_index()
1588 int nums, step; in snd_hda_set_vmaster_tlv() local
1591 nums = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; in snd_hda_set_vmaster_tlv()
1596 tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = -nums * step; in snd_hda_set_vmaster_tlv()
Dpatch_hdmi.c2457 static void hdmi_array_init(struct hdmi_spec *spec, int nums) in hdmi_array_init() argument
2459 snd_array_init(&spec->pins, sizeof(struct hdmi_spec_per_pin), nums); in hdmi_array_init()
2460 snd_array_init(&spec->cvts, sizeof(struct hdmi_spec_per_cvt), nums); in hdmi_array_init()
Dpatch_realtek.c741 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() argument
744 for (i = 0; i < nums; i++) in find_idx_in_nid_list()
750 static bool found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in found_in_nid_list() argument
752 return find_idx_in_nid_list(nid, list, nums) >= 0; in found_in_nid_list()
/sound/hda/
Dhdac_device.c407 int nums, err = 0; in snd_hdac_refresh_widgets() local
414 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets()
415 if (!start_nid || nums <= 0 || nums >= 0xff) { in snd_hdac_refresh_widgets()
422 err = hda_widget_sysfs_reinit(codec, start_nid, nums); in snd_hdac_refresh_widgets()
426 codec->num_nodes = nums; in snd_hdac_refresh_widgets()
428 codec->end_nid = start_nid + nums; in snd_hdac_refresh_widgets()
/sound/pci/cs46xx/
Dcs46xx_lib.c387 unsigned int nums, fwlen, fwsize; in load_firmware() local
413 nums = module->symbol_table.nsymbols = le32_to_cpu(fwdat[fwlen++]); in load_firmware()
414 if (nums >= 40) in load_firmware()
417 kcalloc(nums, sizeof(struct dsp_symbol_entry), GFP_KERNEL); in load_firmware()
420 for (i = 0; i < nums; i++) { in load_firmware()
433 nums = module->nsegments = le32_to_cpu(fwdat[fwlen++]); in load_firmware()
434 if (nums > 10) in load_firmware()
437 kcalloc(nums, sizeof(struct dsp_segment_desc), GFP_KERNEL); in load_firmware()
440 for (i = 0; i < nums; i++) { in load_firmware()
/sound/ppc/
Dawacs.c702 static int build_mixers(struct snd_pmac *chip, int nums, in build_mixers() argument
707 for (i = 0; i < nums; i++) { in build_mixers()