Lines Matching refs:bebob
38 struct snd_bebob *bebob = entry->private_data; in proc_read_hw_info() local
45 if (snd_bebob_read_block(bebob->unit, 0, in proc_read_hw_info()
74 struct snd_bebob *bebob = entry->private_data; in proc_read_meters() local
75 const struct snd_bebob_meter_spec *spec = bebob->spec->meter; in proc_read_meters()
88 if (spec->get(bebob, buf, size) < 0) in proc_read_meters()
107 struct snd_bebob *bebob = entry->private_data; in proc_read_formation() local
113 formation = bebob->tx_stream_formations; in proc_read_formation()
122 formation = bebob->rx_stream_formations; in proc_read_formation()
139 struct snd_bebob *bebob = entry->private_data; in proc_read_clock() local
140 const struct snd_bebob_rate_spec *rate_spec = bebob->spec->rate; in proc_read_clock()
141 const struct snd_bebob_clock_spec *clk_spec = bebob->spec->clock; in proc_read_clock()
145 if (rate_spec->get(bebob, &rate) >= 0) in proc_read_clock()
148 if (snd_bebob_stream_get_clock_src(bebob, &src) >= 0) { in proc_read_clock()
154 clk_labels[src], bebob->sync_input_plug); in proc_read_clock()
159 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()
166 snd_info_set_text_ops(entry, bebob, op); in add_node()
169 void snd_bebob_proc_init(struct snd_bebob *bebob) in snd_bebob_proc_init() argument
177 root = snd_info_create_card_entry(bebob->card, "firewire", in snd_bebob_proc_init()
178 bebob->card->proc_root); 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()
187 if (bebob->spec->meter != NULL) in snd_bebob_proc_init()
188 add_node(bebob, root, "meter", proc_read_meters); in snd_bebob_proc_init()