/sound/firewire/fireface/ |
D | ff-proc.c | 27 static void add_node(struct snd_ff *ff, struct snd_info_entry *root, in add_node() argument 34 entry = snd_info_create_card_entry(ff->card, name, root); in add_node() 45 struct snd_info_entry *root; in snd_ff_proc_init() local 51 root = snd_info_create_card_entry(ff->card, "firewire", in snd_ff_proc_init() 53 if (root == NULL) in snd_ff_proc_init() 55 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_ff_proc_init() 56 if (snd_info_register(root) < 0) { in snd_ff_proc_init() 57 snd_info_free_entry(root); in snd_ff_proc_init() 61 add_node(ff, root, "clock-config", proc_dump_clock_config); in snd_ff_proc_init() 62 add_node(ff, root, "sync-status", proc_dump_sync_status); in snd_ff_proc_init()
|
/sound/firewire/digi00x/ |
D | digi00x-proc.c | 71 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/motu/ |
D | motu-proc.c | 82 static void add_node(struct snd_motu *motu, struct snd_info_entry *root, in add_node() argument 89 entry = snd_info_create_card_entry(motu->card, name, root); in add_node() 100 struct snd_info_entry *root; in snd_motu_proc_init() local 106 root = snd_info_create_card_entry(motu->card, "firewire", in snd_motu_proc_init() 108 if (root == NULL) in snd_motu_proc_init() 110 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_motu_proc_init() 111 if (snd_info_register(root) < 0) { in snd_motu_proc_init() 112 snd_info_free_entry(root); in snd_motu_proc_init() 116 add_node(motu, root, "clock", proc_read_clock); in snd_motu_proc_init() 117 add_node(motu, root, "format", proc_read_format); in snd_motu_proc_init()
|
/sound/firewire/tascam/ |
D | tascam-proc.c | 53 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/ |
D | oxfw-proc.c | 78 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/ |
D | bebob_proc.c | 160 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/ |
D | fireworks_proc.c | 196 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/ |
D | hdac_sysfs.c | 14 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()
|
/sound/core/ |
D | info.c | 834 struct proc_dir_entry *root, *p = NULL; in snd_info_register() local 838 root = entry->parent == NULL ? snd_proc_root->p : entry->parent->p; in snd_info_register() 841 p = proc_mkdir_mode(entry->name, entry->mode, root); in snd_info_register() 852 p = proc_create_data(entry->name, entry->mode, root, in snd_info_register()
|
/sound/soc/fsl/ |
D | fsl_ssi.c | 1421 struct device_node *root; in fsl_ssi_probe() local 1609 root = of_find_node_by_path("/"); in fsl_ssi_probe() 1610 sprop = of_get_property(root, "compatible", NULL); in fsl_ssi_probe() 1611 of_node_put(root); in fsl_ssi_probe()
|
/sound/soc/codecs/ |
D | wm_adsp.c | 610 struct dentry *root = NULL; in wm_adsp2_init_debugfs() local 624 root = debugfs_create_dir(root_name, codec->component.debugfs_root); in wm_adsp2_init_debugfs() 627 if (!root) in wm_adsp2_init_debugfs() 630 if (!debugfs_create_bool("booted", S_IRUGO, root, &dsp->booted)) in wm_adsp2_init_debugfs() 633 if (!debugfs_create_bool("running", S_IRUGO, root, &dsp->running)) in wm_adsp2_init_debugfs() 636 if (!debugfs_create_x32("fw_id", S_IRUGO, root, &dsp->fw_id)) in wm_adsp2_init_debugfs() 639 if (!debugfs_create_x32("fw_version", S_IRUGO, root, in wm_adsp2_init_debugfs() 645 S_IRUGO, root, dsp, in wm_adsp2_init_debugfs() 650 dsp->debugfs_root = root; in wm_adsp2_init_debugfs() 654 debugfs_remove_recursive(root); in wm_adsp2_init_debugfs()
|
/sound/synth/emux/ |
D | soundfont.c | 618 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()
|
D | emux_synth.c | 832 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/ |
D | seq_clientmgr.c | 1946 if ((cptr = snd_seq_client_use_ptr(subs->root.client)) == NULL) in snd_seq_ioctl_query_subs() 1948 if ((port = snd_seq_port_use_ptr(cptr, subs->root.port)) == NULL) in snd_seq_ioctl_query_subs()
|