Home
last modified time | relevance | path

Searched refs:root (Results 1 – 12 of 12) sorted by relevance

/sound/firewire/digi00x/
Ddigi00x-proc.c71 struct snd_info_entry *root, *entry; in snd_dg00x_proc_init() local
77 root = snd_info_create_card_entry(dg00x->card, "firewire", in snd_dg00x_proc_init()
79 if (root == NULL) in snd_dg00x_proc_init()
82 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_dg00x_proc_init()
83 if (snd_info_register(root) < 0) { in snd_dg00x_proc_init()
84 snd_info_free_entry(root); in snd_dg00x_proc_init()
88 entry = snd_info_create_card_entry(dg00x->card, "clock", root); in snd_dg00x_proc_init()
90 snd_info_free_entry(root); in snd_dg00x_proc_init()
97 snd_info_free_entry(root); in snd_dg00x_proc_init()
/sound/firewire/tascam/
Dtascam-proc.c53 static void add_node(struct snd_tscm *tscm, struct snd_info_entry *root, in add_node() argument
60 entry = snd_info_create_card_entry(tscm->card, name, root); in add_node()
71 struct snd_info_entry *root; in snd_tscm_proc_init() local
77 root = snd_info_create_card_entry(tscm->card, "firewire", in snd_tscm_proc_init()
79 if (root == NULL) in snd_tscm_proc_init()
81 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_tscm_proc_init()
82 if (snd_info_register(root) < 0) { in snd_tscm_proc_init()
83 snd_info_free_entry(root); in snd_tscm_proc_init()
87 add_node(tscm, root, "firmware", proc_read_firmware); in snd_tscm_proc_init()
/sound/firewire/oxfw/
Doxfw-proc.c78 static void add_node(struct snd_oxfw *oxfw, struct snd_info_entry *root, in add_node() argument
85 entry = snd_info_create_card_entry(oxfw->card, name, root); in add_node()
96 struct snd_info_entry *root; in snd_oxfw_proc_init() local
102 root = snd_info_create_card_entry(oxfw->card, "firewire", in snd_oxfw_proc_init()
104 if (root == NULL) in snd_oxfw_proc_init()
106 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_oxfw_proc_init()
107 if (snd_info_register(root) < 0) { in snd_oxfw_proc_init()
108 snd_info_free_entry(root); in snd_oxfw_proc_init()
112 add_node(oxfw, root, "formation", proc_read_formation); in snd_oxfw_proc_init()
/sound/firewire/bebob/
Dbebob_proc.c160 add_node(struct snd_bebob *bebob, struct snd_info_entry *root, const char *name, in add_node() argument
165 entry = snd_info_create_card_entry(bebob->card, name, root); in add_node()
176 struct snd_info_entry *root; in snd_bebob_proc_init() local
182 root = snd_info_create_card_entry(bebob->card, "firewire", in snd_bebob_proc_init()
184 if (root == NULL) in snd_bebob_proc_init()
186 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_bebob_proc_init()
187 if (snd_info_register(root) < 0) { in snd_bebob_proc_init()
188 snd_info_free_entry(root); in snd_bebob_proc_init()
192 add_node(bebob, root, "clock", proc_read_clock); in snd_bebob_proc_init()
193 add_node(bebob, root, "firmware", proc_read_hw_info); in snd_bebob_proc_init()
[all …]
/sound/firewire/fireworks/
Dfireworks_proc.c196 add_node(struct snd_efw *efw, struct snd_info_entry *root, const char *name, in add_node() argument
201 entry = snd_info_create_card_entry(efw->card, name, root); in add_node()
212 struct snd_info_entry *root; in snd_efw_proc_init() local
218 root = snd_info_create_card_entry(efw->card, "firewire", in snd_efw_proc_init()
220 if (root == NULL) in snd_efw_proc_init()
222 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_efw_proc_init()
223 if (snd_info_register(root) < 0) { in snd_efw_proc_init()
224 snd_info_free_entry(root); in snd_efw_proc_init()
228 add_node(efw, root, "clock", proc_read_clock); in snd_efw_proc_init()
229 add_node(efw, root, "firmware", proc_read_hwinfo); in snd_efw_proc_init()
[all …]
/sound/hda/
Dhdac_sysfs.c13 struct kobject *root; member
332 kobject_put(tree->root); in widget_tree_free()
370 tree->root = kobject_create_and_add("widgets", &codec->dev.kobj); in widget_tree_create()
371 if (!tree->root) in widget_tree_create()
380 err = add_widget_node(tree->root, nid, &widget_node_group, in widget_tree_create()
387 err = add_widget_node(tree->root, codec->afg, in widget_tree_create()
393 kobject_uevent(tree->root, KOBJ_CHANGE); in widget_tree_create()
/sound/core/
Dinfo.c841 struct proc_dir_entry *root, *p = NULL; in snd_info_register() local
845 root = entry->parent == NULL ? snd_proc_root->p : entry->parent->p; in snd_info_register()
848 p = proc_mkdir_mode(entry->name, entry->mode, root); in snd_info_register()
859 p = proc_create_data(entry->name, entry->mode, root, in snd_info_register()
/sound/soc/codecs/
Dwm_adsp.c346 struct dentry *root = NULL; in wm_adsp2_init_debugfs() local
360 root = debugfs_create_dir(root_name, codec->component.debugfs_root); in wm_adsp2_init_debugfs()
363 if (!root) in wm_adsp2_init_debugfs()
366 if (!debugfs_create_bool("running", S_IRUGO, root, &dsp->running)) in wm_adsp2_init_debugfs()
369 if (!debugfs_create_x32("fw_id", S_IRUGO, root, &dsp->fw_id)) in wm_adsp2_init_debugfs()
372 if (!debugfs_create_x32("fw_version", S_IRUGO, root, in wm_adsp2_init_debugfs()
378 S_IRUGO, root, dsp, in wm_adsp2_init_debugfs()
383 dsp->debugfs_root = root; in wm_adsp2_init_debugfs()
387 debugfs_remove_recursive(root); in wm_adsp2_init_debugfs()
/sound/soc/fsl/
Dfsl_ssi.c1379 struct device_node *root; in fsl_ssi_probe() local
1516 root = of_find_node_by_path("/"); in fsl_ssi_probe()
1517 sprop = of_get_property(root, "compatible", NULL); in fsl_ssi_probe()
1518 of_node_put(root); in fsl_ssi_probe()
/sound/synth/emux/
Dsoundfont.c618 avp->root = 60; in init_voice_info()
1036 zone->v.root = note / 100; in load_guspatch()
1046 zone->v.root, zone->v.tune, zone->v.low, zone->v.high); in load_guspatch()
Demux_synth.c832 offset = (vp->reg.fixkey - vp->reg.root) * 4096 / 12; in calc_pitch()
834 offset = (vp->note - vp->reg.root) * 4096 / 12; in calc_pitch()
/sound/core/seq/
Dseq_clientmgr.c2055 if ((cptr = snd_seq_client_use_ptr(subs.root.client)) == NULL) in snd_seq_ioctl_query_subs()
2057 if ((port = snd_seq_port_use_ptr(cptr, subs.root.port)) == NULL) in snd_seq_ioctl_query_subs()