Lines Matching refs:motu
30 struct snd_motu *motu = entry->private_data; in proc_read_clock() local
34 if (snd_motu_protocol_get_clock_rate(motu, &rate) < 0) in proc_read_clock()
36 if (snd_motu_protocol_get_clock_source(motu, &source) < 0) in proc_read_clock()
46 struct snd_motu *motu = entry->private_data; in proc_read_format() local
51 if (snd_motu_protocol_cache_packet_formats(motu) < 0) in proc_read_format()
58 formats = &motu->tx_packet_formats; in proc_read_format()
63 motu->spec->tx_fixed_pcm_chunks[mode], in proc_read_format()
71 formats = &motu->rx_packet_formats; in proc_read_format()
76 motu->spec->rx_fixed_pcm_chunks[mode], in proc_read_format()
81 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()
90 snd_info_set_text_ops(entry, motu, op); in add_node()
93 void snd_motu_proc_init(struct snd_motu *motu) in snd_motu_proc_init() argument
101 root = snd_info_create_card_entry(motu->card, "firewire", in snd_motu_proc_init()
102 motu->card->proc_root); 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()