Home
last modified time | relevance | path

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

/sound/firewire/fireface/
Dff-proc.c35 static void add_node(struct snd_ff *ff, struct snd_info_entry *root, in add_node() argument
42 entry = snd_info_create_card_entry(ff->card, name, root); in add_node()
49 struct snd_info_entry *root; in snd_ff_proc_init() local
55 root = snd_info_create_card_entry(ff->card, "firewire", in snd_ff_proc_init()
57 if (root == NULL) in snd_ff_proc_init()
59 root->mode = S_IFDIR | 0555; in snd_ff_proc_init()
61 add_node(ff, root, "status", proc_dump_status); in snd_ff_proc_init()
/sound/firewire/motu/
Dmotu-proc.c81 static void add_node(struct snd_motu *motu, struct snd_info_entry *root, in add_node() argument
88 entry = snd_info_create_card_entry(motu->card, name, root); in add_node()
95 struct snd_info_entry *root; in snd_motu_proc_init() local
101 root = snd_info_create_card_entry(motu->card, "firewire", in snd_motu_proc_init()
103 if (root == NULL) in snd_motu_proc_init()
105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init()
107 add_node(motu, root, "clock", proc_read_clock); in snd_motu_proc_init()
108 add_node(motu, root, "format", proc_read_format); in snd_motu_proc_init()
/sound/firewire/tascam/
Dtascam-proc.c52 static void add_node(struct snd_tscm *tscm, struct snd_info_entry *root, in add_node() argument
59 entry = snd_info_create_card_entry(tscm->card, name, root); in add_node()
66 struct snd_info_entry *root; in snd_tscm_proc_init() local
72 root = snd_info_create_card_entry(tscm->card, "firewire", in snd_tscm_proc_init()
74 if (root == NULL) in snd_tscm_proc_init()
76 root->mode = S_IFDIR | 0555; in snd_tscm_proc_init()
78 add_node(tscm, root, "firmware", proc_read_firmware); in snd_tscm_proc_init()
/sound/firewire/oxfw/
Doxfw-proc.c77 static void add_node(struct snd_oxfw *oxfw, struct snd_info_entry *root, in add_node() argument
84 entry = snd_info_create_card_entry(oxfw->card, name, root); in add_node()
91 struct snd_info_entry *root; in snd_oxfw_proc_init() local
97 root = snd_info_create_card_entry(oxfw->card, "firewire", in snd_oxfw_proc_init()
99 if (root == NULL) in snd_oxfw_proc_init()
101 root->mode = S_IFDIR | 0555; in snd_oxfw_proc_init()
103 add_node(oxfw, root, "formation", proc_read_formation); in snd_oxfw_proc_init()
/sound/firewire/bebob/
Dbebob_proc.c159 add_node(struct snd_bebob *bebob, struct snd_info_entry *root, const char *name, in add_node() argument
164 entry = snd_info_create_card_entry(bebob->card, name, root); in add_node()
171 struct snd_info_entry *root; in snd_bebob_proc_init() local
177 root = snd_info_create_card_entry(bebob->card, "firewire", in snd_bebob_proc_init()
179 if (root == NULL) in snd_bebob_proc_init()
181 root->mode = S_IFDIR | 0555; in snd_bebob_proc_init()
183 add_node(bebob, root, "clock", proc_read_clock); in snd_bebob_proc_init()
184 add_node(bebob, root, "firmware", proc_read_hw_info); in snd_bebob_proc_init()
185 add_node(bebob, root, "formation", proc_read_formation); in snd_bebob_proc_init()
188 add_node(bebob, root, "meter", proc_read_meters); in snd_bebob_proc_init()
/sound/firewire/fireworks/
Dfireworks_proc.c195 add_node(struct snd_efw *efw, struct snd_info_entry *root, const char *name, in add_node() argument
200 entry = snd_info_create_card_entry(efw->card, name, root); in add_node()
207 struct snd_info_entry *root; in snd_efw_proc_init() local
213 root = snd_info_create_card_entry(efw->card, "firewire", in snd_efw_proc_init()
215 if (root == NULL) in snd_efw_proc_init()
217 root->mode = S_IFDIR | 0555; in snd_efw_proc_init()
219 add_node(efw, root, "clock", proc_read_clock); in snd_efw_proc_init()
220 add_node(efw, root, "firmware", proc_read_hwinfo); in snd_efw_proc_init()
221 add_node(efw, root, "meters", proc_read_phys_meters); in snd_efw_proc_init()
222 add_node(efw, root, "queues", proc_read_queues_state); in snd_efw_proc_init()
/sound/firewire/digi00x/
Ddigi00x-proc.c70 struct snd_info_entry *root, *entry; in snd_dg00x_proc_init() local
76 root = snd_info_create_card_entry(dg00x->card, "firewire", in snd_dg00x_proc_init()
78 if (root == NULL) in snd_dg00x_proc_init()
81 root->mode = S_IFDIR | 0555; in snd_dg00x_proc_init()
83 entry = snd_info_create_card_entry(dg00x->card, "clock", root); in snd_dg00x_proc_init()
/sound/firewire/dice/
Ddice-proc.c279 static void add_node(struct snd_dice *dice, struct snd_info_entry *root, in add_node() argument
286 entry = snd_info_create_card_entry(dice->card, name, root); in add_node()
293 struct snd_info_entry *root; in snd_dice_create_proc() local
299 root = snd_info_create_card_entry(dice->card, "firewire", in snd_dice_create_proc()
301 if (!root) in snd_dice_create_proc()
303 root->mode = S_IFDIR | 0555; in snd_dice_create_proc()
305 add_node(dice, root, "dice", dice_proc_read); in snd_dice_create_proc()
306 add_node(dice, root, "formation", dice_proc_read_formation); in snd_dice_create_proc()
/sound/hda/
Dhdac_sysfs.c14 struct kobject *root; member
333 kobject_put(tree->root); in widget_tree_free()
371 tree->root = kobject_create_and_add("widgets", &codec->dev.kobj); in widget_tree_create()
372 if (!tree->root) in widget_tree_create()
381 err = add_widget_node(tree->root, nid, &widget_node_group, in widget_tree_create()
388 err = add_widget_node(tree->root, codec->afg, in widget_tree_create()
394 kobject_uevent(tree->root, KOBJ_CHANGE); in widget_tree_create()
453 add_widget_node(tree->root, nid, &widget_node_group, in hda_widget_sysfs_reinit()
465 kobject_uevent(tree->root, KOBJ_CHANGE); in hda_widget_sysfs_reinit()
/sound/core/
Dinfo.c798 struct proc_dir_entry *root, *p = NULL; in __snd_info_register() local
802 root = entry->parent == NULL ? snd_proc_root->p : entry->parent->p; in __snd_info_register()
804 if (entry->p || !root) in __snd_info_register()
807 p = proc_mkdir_mode(entry->name, entry->mode, root); in __snd_info_register()
818 p = proc_create_data(entry->name, entry->mode, root, in __snd_info_register()
/sound/synth/emux/
Dsoundfont.c605 avp->root = 60; in init_voice_info()
1025 zone->v.root = note / 100; in load_guspatch()
1035 zone->v.root, zone->v.tune, zone->v.low, zone->v.high); in load_guspatch()
Demux_synth.c818 offset = (vp->reg.fixkey - vp->reg.root) * 4096 / 12; in calc_pitch()
820 offset = (vp->note - vp->reg.root) * 4096 / 12; in calc_pitch()
/sound/soc/fsl/
Dfsl_ssi.c1442 struct device_node *root = of_find_node_by_path("/"); in fsl_ssi_probe_from_dt() local
1444 sprop = of_get_property(root, "compatible", NULL); in fsl_ssi_probe_from_dt()
1445 of_node_put(root); in fsl_ssi_probe_from_dt()
/sound/soc/codecs/
Dwm_adsp.c728 struct dentry *root = NULL; in wm_adsp2_init_debugfs() local
731 root = debugfs_create_dir(dsp->name, component->debugfs_root); in wm_adsp2_init_debugfs()
733 debugfs_create_bool("booted", 0444, root, &dsp->booted); in wm_adsp2_init_debugfs()
734 debugfs_create_bool("running", 0444, root, &dsp->running); in wm_adsp2_init_debugfs()
735 debugfs_create_x32("fw_id", 0444, root, &dsp->fw_id); in wm_adsp2_init_debugfs()
736 debugfs_create_x32("fw_version", 0444, root, &dsp->fw_id_version); in wm_adsp2_init_debugfs()
739 debugfs_create_file(wm_adsp_debugfs_fops[i].name, 0444, root, in wm_adsp2_init_debugfs()
742 dsp->debugfs_root = root; in wm_adsp2_init_debugfs()
/sound/core/seq/
Dseq_clientmgr.c1959 if ((cptr = snd_seq_client_use_ptr(subs->root.client)) == NULL) in snd_seq_ioctl_query_subs()
1961 if ((port = snd_seq_port_use_ptr(cptr, subs->root.port)) == NULL) in snd_seq_ioctl_query_subs()