Searched refs:num_nodes (Results 1 – 7 of 7) sorted by relevance
/sound/hda/ |
D | hdac_sysfs.c | 377 tree->nodes = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), in widget_tree_create() 382 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in widget_tree_create() 425 hda_nid_t start_nid, int num_nodes) in hda_widget_sysfs_reinit() argument 428 hda_nid_t end_nid = start_nid + num_nodes; in hda_widget_sysfs_reinit() 439 tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); in hda_widget_sysfs_reinit() 446 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in hda_widget_sysfs_reinit() 453 for (i = 0, nid = start_nid; i < num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()
|
D | local.h | 33 int num_nodes);
|
D | hdac_device.c | 426 codec->num_nodes = nums; in snd_hdac_refresh_widgets()
|
/sound/pci/hda/ |
D | hda_hwdep.c | 45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl() 49 verb = array_index_nospec(verb, codec->core.num_nodes); in get_wcap_ioctl()
|
D | hda_local.h | 456 nid >= codec->core.start_nid + codec->core.num_nodes) in get_wcaps() 483 nid < codec->core.start_nid + codec->core.num_nodes) in snd_hda_override_wcaps()
|
D | hda_codec.c | 421 codec->wcaps = kmalloc_array(codec->core.num_nodes, 4, GFP_KERNEL); in read_widget_caps() 425 for (i = 0; i < codec->core.num_nodes; i++, nid++) in read_widget_caps()
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 1627 int i, num_nodes; in hdac_hdmi_parse_and_map_nid() local 1634 num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid); in hdac_hdmi_parse_and_map_nid() 1635 if (!nid || num_nodes <= 0) { in hdac_hdmi_parse_and_map_nid() 1640 for (i = 0; i < num_nodes; i++, nid++) { in hdac_hdmi_parse_and_map_nid()
|