Lines Matching refs:dg00x
10 static int get_optical_iface_mode(struct snd_dg00x *dg00x, in get_optical_iface_mode() argument
16 err = snd_fw_transaction(dg00x->unit, TCODE_READ_QUADLET_REQUEST, in get_optical_iface_mode()
38 struct snd_dg00x *dg00x = entry->private_data; in proc_read_clock() local
44 if (get_optical_iface_mode(dg00x, &mode) < 0) in proc_read_clock()
46 if (snd_dg00x_stream_get_local_rate(dg00x, &rate) < 0) in proc_read_clock()
48 if (snd_dg00x_stream_get_clock(dg00x, &clock) < 0) in proc_read_clock()
58 if (snd_dg00x_stream_check_external_clock(dg00x, &detect) < 0) in proc_read_clock()
64 if (snd_dg00x_stream_get_external_rate(dg00x, &rate) >= 0) in proc_read_clock()
68 void snd_dg00x_proc_init(struct snd_dg00x *dg00x) in snd_dg00x_proc_init() argument
76 root = snd_info_create_card_entry(dg00x->card, "firewire", in snd_dg00x_proc_init()
77 dg00x->card->proc_root); in snd_dg00x_proc_init()
83 entry = snd_info_create_card_entry(dg00x->card, "clock", root); in snd_dg00x_proc_init()
85 snd_info_set_text_ops(entry, dg00x, proc_read_clock); in snd_dg00x_proc_init()