Home
last modified time | relevance | path

Searched refs:bebob (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/sound/firewire/bebob/
H A Dbebob_stream.c8 #include "./bebob.h"
64 snd_bebob_stream_get_rate(struct snd_bebob *bebob, unsigned int *curr_rate) in snd_bebob_stream_get_rate() argument
71 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate()
79 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate()
90 err = avc_general_set_sig_fmt(bebob->unit, rx_rate, in snd_bebob_stream_get_rate()
97 snd_bebob_stream_set_rate(struct snd_bebob *bebob, unsigned int rate) in snd_bebob_stream_set_rate() argument
101 err = avc_general_set_sig_fmt(bebob->unit, rate, in snd_bebob_stream_set_rate()
106 err = avc_general_set_sig_fmt(bebob->unit, rate, in snd_bebob_stream_set_rate()
120 int snd_bebob_stream_get_clock_src(struct snd_bebob *bebob, in snd_bebob_stream_get_clock_src() argument
123 const struct snd_bebob_clock_spec *clk_spec = bebob in snd_bebob_stream_get_clock_src()
255 map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s) map_data_channels() argument
378 check_connection_used_by_others(struct snd_bebob *bebob, struct amdtp_stream *s) check_connection_used_by_others() argument
401 break_both_connections(struct snd_bebob *bebob) break_both_connections() argument
413 start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) start_stream() argument
438 init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) init_stream() argument
484 destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) destroy_stream() argument
494 snd_bebob_stream_init_duplex(struct snd_bebob *bebob) snd_bebob_stream_init_duplex() argument
517 keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, unsigned int rate, unsigned int index) keep_resources() argument
542 snd_bebob_stream_reserve_duplex(struct snd_bebob *bebob, unsigned int rate, unsigned int frames_per_period, unsigned int frames_per_buffer) snd_bebob_stream_reserve_duplex() argument
610 snd_bebob_stream_start_duplex(struct snd_bebob *bebob) snd_bebob_stream_start_duplex() argument
703 snd_bebob_stream_stop_duplex(struct snd_bebob *bebob) snd_bebob_stream_stop_duplex() argument
718 snd_bebob_stream_destroy_duplex(struct snd_bebob *bebob) snd_bebob_stream_destroy_duplex() argument
802 fill_stream_formations(struct snd_bebob *bebob, enum avc_bridgeco_plug_dir dir, unsigned short pid) fill_stream_formations() argument
850 seek_msu_sync_input_plug(struct snd_bebob *bebob) seek_msu_sync_input_plug() argument
887 snd_bebob_stream_discover(struct snd_bebob *bebob) snd_bebob_stream_discover() argument
982 snd_bebob_stream_lock_changed(struct snd_bebob *bebob) snd_bebob_stream_lock_changed() argument
988 snd_bebob_stream_lock_try(struct snd_bebob *bebob) snd_bebob_stream_lock_try() argument
1009 snd_bebob_stream_lock_release(struct snd_bebob *bebob) snd_bebob_stream_lock_release() argument
[all...]
H A Dbebob_midi.c8 #include "bebob.h"
12 struct snd_bebob *bebob = substream->rmidi->private_data; in midi_open() local
15 err = snd_bebob_stream_lock_try(bebob); in midi_open()
19 mutex_lock(&bebob->mutex); in midi_open()
20 err = snd_bebob_stream_reserve_duplex(bebob, 0, 0, 0); in midi_open()
22 ++bebob->substreams_counter; in midi_open()
23 err = snd_bebob_stream_start_duplex(bebob); in midi_open()
25 --bebob->substreams_counter; in midi_open()
27 mutex_unlock(&bebob->mutex); in midi_open()
29 snd_bebob_stream_lock_release(bebob); in midi_open()
36 struct snd_bebob *bebob = substream->rmidi->private_data; midi_close() local
49 struct snd_bebob *bebob = substrm->rmidi->private_data; midi_capture_trigger() local
66 struct snd_bebob *bebob = substrm->rmidi->private_data; midi_playback_trigger() local
81 set_midi_substream_names(struct snd_bebob *bebob, struct snd_rawmidi_str *str) set_midi_substream_names() argument
93 snd_bebob_create_midi_devices(struct snd_bebob *bebob) snd_bebob_create_midi_devices() argument
[all...]
H A Dbebob_hwdep.c16 #include "bebob.h"
22 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read() local
26 spin_lock_irq(&bebob->lock); in hwdep_read()
28 while (!bebob->dev_lock_changed) { in hwdep_read()
29 prepare_to_wait(&bebob->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
30 spin_unlock_irq(&bebob->lock); in hwdep_read()
32 finish_wait(&bebob->hwdep_wait, &wait); in hwdep_read()
35 spin_lock_irq(&bebob->lock); in hwdep_read()
40 if (bebob->dev_lock_changed) { in hwdep_read()
42 event.lock_status.status = (bebob in hwdep_read()
57 struct snd_bebob *bebob = hwdep->private_data; hwdep_poll() local
73 hwdep_get_info(struct snd_bebob *bebob, void __user *arg) hwdep_get_info() argument
93 hwdep_lock(struct snd_bebob *bebob) hwdep_lock() argument
112 hwdep_unlock(struct snd_bebob *bebob) hwdep_unlock() argument
133 struct snd_bebob *bebob = hwdep->private_data; hwdep_release() local
147 struct snd_bebob *bebob = hwdep->private_data; hwdep_ioctl() local
173 snd_bebob_create_hwdep_device(struct snd_bebob *bebob) snd_bebob_create_hwdep_device() argument
[all...]
H A Dbebob_pcm.c8 #include "./bebob.h"
95 pcm_init_hw_params(struct snd_bebob *bebob, in pcm_init_hw_params() argument
105 s = &bebob->tx_stream; in pcm_init_hw_params()
106 formations = bebob->tx_stream_formations; in pcm_init_hw_params()
109 s = &bebob->rx_stream; in pcm_init_hw_params()
110 formations = bebob->rx_stream_formations; in pcm_init_hw_params()
134 struct snd_bebob *bebob = substream->private_data; in pcm_open() local
135 const struct snd_bebob_rate_spec *spec = bebob->spec->rate; in pcm_open()
136 struct amdtp_domain *d = &bebob->domain; in pcm_open()
140 err = snd_bebob_stream_lock_try(bebob); in pcm_open()
206 struct snd_bebob *bebob = substream->private_data; pcm_close() local
214 struct snd_bebob *bebob = substream->private_data; pcm_hw_params() local
235 struct snd_bebob *bebob = substream->private_data; pcm_hw_free() local
252 struct snd_bebob *bebob = substream->private_data; pcm_capture_prepare() local
264 struct snd_bebob *bebob = substream->private_data; pcm_playback_prepare() local
277 struct snd_bebob *bebob = substream->private_data; pcm_capture_trigger() local
295 struct snd_bebob *bebob = substream->private_data; pcm_playback_trigger() local
313 struct snd_bebob *bebob = sbstrm->private_data; pcm_capture_pointer() local
320 struct snd_bebob *bebob = sbstrm->private_data; pcm_playback_pointer() local
328 struct snd_bebob *bebob = substream->private_data; pcm_capture_ack() local
335 struct snd_bebob *bebob = substream->private_data; pcm_playback_ack() local
340 snd_bebob_create_pcm_devices(struct snd_bebob *bebob) snd_bebob_create_pcm_devices() argument
[all...]
H A Dbebob_maudio.c8 #include "./bebob.h"
138 get_meter(struct snd_bebob *bebob, void *buf, unsigned int size) in get_meter() argument
140 return snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST, in get_meter()
146 check_clk_sync(struct snd_bebob *bebob, unsigned int size, bool *sync) in check_clk_sync() argument
155 err = get_meter(bebob, buf, size); in check_clk_sync()
171 avc_maudio_set_special_clk(struct snd_bebob *bebob, unsigned int clk_src, in avc_maudio_set_special_clk() argument
175 struct special_params *params = bebob->maudio_special_quirk; in avc_maudio_set_special_clk()
179 if (amdtp_stream_running(&bebob->rx_stream) || in avc_maudio_set_special_clk()
180 amdtp_stream_running(&bebob->tx_stream)) in avc_maudio_set_special_clk()
200 err = fcp_avc_transaction(bebob in avc_maudio_set_special_clk()
228 special_stream_formation_set(struct snd_bebob *bebob) special_stream_formation_set() argument
258 snd_bebob_maudio_special_discover(struct snd_bebob *bebob, bool is1814) snd_bebob_maudio_special_discover() argument
302 special_get_rate(struct snd_bebob *bebob, unsigned int *rate) special_get_rate() argument
314 special_set_rate(struct snd_bebob *bebob, unsigned int rate) special_set_rate() argument
349 special_clk_get(struct snd_bebob *bebob, unsigned int *id) special_clk_get() argument
370 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_clk_ctl_get() local
378 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_clk_ctl_put() local
422 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_sync_ctl_get() local
454 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_in_iface_ctl_get() local
484 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_in_iface_ctl_set() local
547 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_out_iface_ctl_get() local
557 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_out_iface_ctl_set() local
589 add_special_controls(struct snd_bebob *bebob) add_special_controls() argument
629 special_meter_get(struct snd_bebob *bebob, u32 *target, unsigned int size) special_meter_get() argument
688 normal_meter_get(struct snd_bebob *bebob, u32 *buf, unsigned int size) normal_meter_get() argument
[all...]
H A Dbebob.c3 * bebob.c - a part of driver for BeBoB based devices
14 #include "bebob.h"
70 name_device(struct snd_bebob *bebob) in name_device() argument
72 struct fw_device *fw_dev = fw_parent_device(bebob->unit); in name_device()
88 err = fw_csr_string(bebob->unit->directory, CSR_MODEL, in name_device()
94 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_HW_MODEL_ID, in name_device()
100 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_HW_MODEL_REVISION, in name_device()
106 err = snd_bebob_read_block(bebob->unit, INFO_OFFSET_GUID, in name_device()
111 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_BEBOB_VERSION, in name_device()
115 bebob in name_device()
132 struct snd_bebob *bebob = card->private_data; bebob_card_free() local
169 struct snd_bebob *bebob = do_registration() local
250 struct snd_bebob *bebob; bebob_probe() local
329 struct snd_bebob *bebob = dev_get_drvdata(&unit->device); bebob_update() local
343 struct snd_bebob *bebob = dev_get_drvdata(&unit->device); bebob_remove() local
[all...]
H A Dbebob_proc.c8 #include "./bebob.h"
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 in proc_read_clock() local
159 add_node(struct snd_bebob *bebob, struct snd_info_entry *root, const char *name, void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) add_node() argument
169 snd_bebob_proc_init(struct snd_bebob *bebob) snd_bebob_proc_init() argument
[all...]
H A Dbebob.h3 * bebob.h - a part of driver for BeBoB based devices
61 int (*get)(struct snd_bebob *bebob, unsigned int *id);
64 int (*get)(struct snd_bebob *bebob, unsigned int *rate);
65 int (*set)(struct snd_bebob *bebob, unsigned int rate);
70 int (*get)(struct snd_bebob *bebob, u32 *target, unsigned int size);
214 int snd_bebob_stream_get_rate(struct snd_bebob *bebob, unsigned int *rate);
215 int snd_bebob_stream_set_rate(struct snd_bebob *bebob, unsigned int rate);
216 int snd_bebob_stream_get_clock_src(struct snd_bebob *bebob,
218 int snd_bebob_stream_discover(struct snd_bebob *bebob);
219 int snd_bebob_stream_init_duplex(struct snd_bebob *bebob);
[all...]
H A Dbebob_focusrite.c8 #include "./bebob.h"
61 saffire_read_block(struct snd_bebob *bebob, u64 offset, in saffire_read_block() argument
68 err = snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST, in saffire_read_block()
81 saffire_read_quad(struct snd_bebob *bebob, u64 offset, u32 *value) in saffire_read_quad() argument
86 err = snd_fw_transaction(bebob->unit, TCODE_READ_QUADLET_REQUEST, in saffire_read_quad()
98 saffire_write_quad(struct snd_bebob *bebob, u64 offset, u32 value) in saffire_write_quad() argument
102 return snd_fw_transaction(bebob->unit, TCODE_WRITE_QUADLET_REQUEST, in saffire_write_quad()
142 saffirepro_both_clk_freq_get(struct snd_bebob *bebob, unsigned int *rate) in saffirepro_both_clk_freq_get() argument
147 err = saffire_read_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, &id); in saffirepro_both_clk_freq_get()
158 saffirepro_both_clk_freq_set(struct snd_bebob *bebob, unsigne argument
177 saffirepro_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) saffirepro_both_clk_src_get() argument
211 saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) saffire_both_clk_src_get() argument
232 saffire_meter_get(struct snd_bebob *bebob, u32 *buf, unsigned int size) saffire_meter_get() argument
[all...]
H A DMakefile2 snd-bebob-objs := bebob_command.o bebob_stream.o bebob_proc.o bebob_midi.o \
5 bebob.o
6 obj-$(CONFIG_SND_BEBOB) += snd-bebob.o
H A Dbebob_terratec.c8 #include "./bebob.h"
16 phase88_rack_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in phase88_rack_clk_src_get() argument
21 err = avc_audio_get_selector(bebob->unit, 0, 9, &enable_ext); in phase88_rack_clk_src_get()
24 err = avc_audio_get_selector(bebob->unit, 0, 8, &enable_word); in phase88_rack_clk_src_get()
H A Dbebob_yamaha_terratec.c8 #include "./bebob.h"
38 clk_src_get(struct snd_bebob *bebob, unsigned int *id) in clk_src_get() argument
42 err = avc_audio_get_selector(bebob->unit, 0, 4, id); in clk_src_get()
/kernel/linux/linux-6.6/sound/firewire/bebob/
H A Dbebob_stream.c8 #include "./bebob.h"
63 snd_bebob_stream_get_rate(struct snd_bebob *bebob, unsigned int *curr_rate) in snd_bebob_stream_get_rate() argument
70 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate()
78 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate()
89 err = avc_general_set_sig_fmt(bebob->unit, rx_rate, in snd_bebob_stream_get_rate()
96 snd_bebob_stream_set_rate(struct snd_bebob *bebob, unsigned int rate) in snd_bebob_stream_set_rate() argument
100 err = avc_general_set_sig_fmt(bebob->unit, rate, in snd_bebob_stream_set_rate()
105 err = avc_general_set_sig_fmt(bebob->unit, rate, in snd_bebob_stream_set_rate()
119 int snd_bebob_stream_get_clock_src(struct snd_bebob *bebob, in snd_bebob_stream_get_clock_src() argument
122 const struct snd_bebob_clock_spec *clk_spec = bebob in snd_bebob_stream_get_clock_src()
254 map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s) map_data_channels() argument
377 check_connection_used_by_others(struct snd_bebob *bebob, struct amdtp_stream *s) check_connection_used_by_others() argument
400 break_both_connections(struct snd_bebob *bebob) break_both_connections() argument
406 start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) start_stream() argument
431 init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) init_stream() argument
467 destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) destroy_stream() argument
477 snd_bebob_stream_init_duplex(struct snd_bebob *bebob) snd_bebob_stream_init_duplex() argument
500 keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, unsigned int rate, unsigned int index) keep_resources() argument
525 snd_bebob_stream_reserve_duplex(struct snd_bebob *bebob, unsigned int rate, unsigned int frames_per_period, unsigned int frames_per_buffer) snd_bebob_stream_reserve_duplex() argument
593 snd_bebob_stream_start_duplex(struct snd_bebob *bebob) snd_bebob_stream_start_duplex() argument
676 snd_bebob_stream_stop_duplex(struct snd_bebob *bebob) snd_bebob_stream_stop_duplex() argument
691 snd_bebob_stream_destroy_duplex(struct snd_bebob *bebob) snd_bebob_stream_destroy_duplex() argument
774 fill_stream_formations(struct snd_bebob *bebob, u8 addr[AVC_BRIDGECO_ADDR_BYTES], enum avc_bridgeco_plug_dir plug_dir, unsigned int plug_id, struct snd_bebob_stream_formation *formations) fill_stream_formations() argument
822 detect_midi_ports(struct snd_bebob *bebob, const struct snd_bebob_stream_formation *formats, u8 addr[AVC_BRIDGECO_ADDR_BYTES], enum avc_bridgeco_plug_dir plug_dir, unsigned int plug_count, unsigned int *midi_ports) detect_midi_ports() argument
871 seek_msu_sync_input_plug(struct snd_bebob *bebob) seek_msu_sync_input_plug() argument
908 snd_bebob_stream_discover(struct snd_bebob *bebob) snd_bebob_stream_discover() argument
959 snd_bebob_stream_lock_changed(struct snd_bebob *bebob) snd_bebob_stream_lock_changed() argument
965 snd_bebob_stream_lock_try(struct snd_bebob *bebob) snd_bebob_stream_lock_try() argument
986 snd_bebob_stream_lock_release(struct snd_bebob *bebob) snd_bebob_stream_lock_release() argument
[all...]
H A Dbebob_midi.c8 #include "bebob.h"
12 struct snd_bebob *bebob = substream->rmidi->private_data; in midi_open() local
15 err = snd_bebob_stream_lock_try(bebob); in midi_open()
19 mutex_lock(&bebob->mutex); in midi_open()
20 err = snd_bebob_stream_reserve_duplex(bebob, 0, 0, 0); in midi_open()
22 ++bebob->substreams_counter; in midi_open()
23 err = snd_bebob_stream_start_duplex(bebob); in midi_open()
25 --bebob->substreams_counter; in midi_open()
27 mutex_unlock(&bebob->mutex); in midi_open()
29 snd_bebob_stream_lock_release(bebob); in midi_open()
36 struct snd_bebob *bebob = substream->rmidi->private_data; midi_close() local
49 struct snd_bebob *bebob = substrm->rmidi->private_data; midi_capture_trigger() local
66 struct snd_bebob *bebob = substrm->rmidi->private_data; midi_playback_trigger() local
81 set_midi_substream_names(struct snd_bebob *bebob, struct snd_rawmidi_str *str) set_midi_substream_names() argument
93 snd_bebob_create_midi_devices(struct snd_bebob *bebob) snd_bebob_create_midi_devices() argument
[all...]
H A Dbebob_pcm.c8 #include "./bebob.h"
95 pcm_init_hw_params(struct snd_bebob *bebob, in pcm_init_hw_params() argument
105 s = &bebob->tx_stream; in pcm_init_hw_params()
106 formations = bebob->tx_stream_formations; in pcm_init_hw_params()
109 s = &bebob->rx_stream; in pcm_init_hw_params()
110 formations = bebob->rx_stream_formations; in pcm_init_hw_params()
134 struct snd_bebob *bebob = substream->private_data; in pcm_open() local
135 const struct snd_bebob_rate_spec *spec = bebob->spec->rate; in pcm_open()
136 struct amdtp_domain *d = &bebob->domain; in pcm_open()
140 err = snd_bebob_stream_lock_try(bebob); in pcm_open()
206 struct snd_bebob *bebob = substream->private_data; pcm_close() local
214 struct snd_bebob *bebob = substream->private_data; pcm_hw_params() local
235 struct snd_bebob *bebob = substream->private_data; pcm_hw_free() local
252 struct snd_bebob *bebob = substream->private_data; pcm_capture_prepare() local
264 struct snd_bebob *bebob = substream->private_data; pcm_playback_prepare() local
277 struct snd_bebob *bebob = substream->private_data; pcm_capture_trigger() local
295 struct snd_bebob *bebob = substream->private_data; pcm_playback_trigger() local
313 struct snd_bebob *bebob = sbstrm->private_data; pcm_capture_pointer() local
320 struct snd_bebob *bebob = sbstrm->private_data; pcm_playback_pointer() local
328 struct snd_bebob *bebob = substream->private_data; pcm_capture_ack() local
335 struct snd_bebob *bebob = substream->private_data; pcm_playback_ack() local
340 snd_bebob_create_pcm_devices(struct snd_bebob *bebob) snd_bebob_create_pcm_devices() argument
[all...]
H A Dbebob_hwdep.c16 #include "bebob.h"
22 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read() local
26 spin_lock_irq(&bebob->lock); in hwdep_read()
28 while (!bebob->dev_lock_changed) { in hwdep_read()
29 prepare_to_wait(&bebob->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
30 spin_unlock_irq(&bebob->lock); in hwdep_read()
32 finish_wait(&bebob->hwdep_wait, &wait); in hwdep_read()
35 spin_lock_irq(&bebob->lock); in hwdep_read()
41 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read()
42 bebob in hwdep_read()
55 struct snd_bebob *bebob = hwdep->private_data; hwdep_poll() local
71 hwdep_get_info(struct snd_bebob *bebob, void __user *arg) hwdep_get_info() argument
91 hwdep_lock(struct snd_bebob *bebob) hwdep_lock() argument
110 hwdep_unlock(struct snd_bebob *bebob) hwdep_unlock() argument
131 struct snd_bebob *bebob = hwdep->private_data; hwdep_release() local
145 struct snd_bebob *bebob = hwdep->private_data; hwdep_ioctl() local
171 snd_bebob_create_hwdep_device(struct snd_bebob *bebob) snd_bebob_create_hwdep_device() argument
[all...]
H A Dbebob_maudio.c8 #include "./bebob.h"
138 get_meter(struct snd_bebob *bebob, void *buf, unsigned int size) in get_meter() argument
140 return snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST, in get_meter()
146 check_clk_sync(struct snd_bebob *bebob, unsigned int size, bool *sync) in check_clk_sync() argument
155 err = get_meter(bebob, buf, size); in check_clk_sync()
171 avc_maudio_set_special_clk(struct snd_bebob *bebob, unsigned int clk_src, in avc_maudio_set_special_clk() argument
175 struct special_params *params = bebob->maudio_special_quirk; in avc_maudio_set_special_clk()
179 if (amdtp_stream_running(&bebob->rx_stream) || in avc_maudio_set_special_clk()
180 amdtp_stream_running(&bebob->tx_stream)) in avc_maudio_set_special_clk()
200 err = fcp_avc_transaction(bebob in avc_maudio_set_special_clk()
228 special_stream_formation_set(struct snd_bebob *bebob) special_stream_formation_set() argument
258 snd_bebob_maudio_special_discover(struct snd_bebob *bebob, bool is1814) snd_bebob_maudio_special_discover() argument
302 special_get_rate(struct snd_bebob *bebob, unsigned int *rate) special_get_rate() argument
314 special_set_rate(struct snd_bebob *bebob, unsigned int rate) special_set_rate() argument
349 special_clk_get(struct snd_bebob *bebob, unsigned int *id) special_clk_get() argument
370 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_clk_ctl_get() local
378 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_clk_ctl_put() local
422 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_sync_ctl_get() local
454 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_in_iface_ctl_get() local
484 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_in_iface_ctl_set() local
547 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_out_iface_ctl_get() local
557 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); special_dig_out_iface_ctl_set() local
589 add_special_controls(struct snd_bebob *bebob) add_special_controls() argument
629 special_meter_get(struct snd_bebob *bebob, u32 *target, unsigned int size) special_meter_get() argument
688 normal_meter_get(struct snd_bebob *bebob, u32 *buf, unsigned int size) normal_meter_get() argument
[all...]
H A Dbebob.c3 * bebob.c - a part of driver for BeBoB based devices
14 #include "bebob.h"
68 name_device(struct snd_bebob *bebob) in name_device() argument
70 struct fw_device *fw_dev = fw_parent_device(bebob->unit); in name_device()
85 err = fw_csr_string(bebob->unit->directory, CSR_MODEL, in name_device()
91 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_HW_MODEL_ID, in name_device()
97 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_HW_MODEL_REVISION, in name_device()
103 err = snd_bebob_read_block(bebob->unit, INFO_OFFSET_GUID, in name_device()
108 strcpy(bebob->card->driver, "BeBoB"); in name_device()
109 strcpy(bebob in name_device()
123 struct snd_bebob *bebob = card->private_data; bebob_card_free() local
160 detect_quirks(struct snd_bebob *bebob, const struct ieee1394_device_id *entry) detect_quirks() argument
188 struct snd_bebob *bebob; bebob_probe() local
321 struct snd_bebob *bebob = dev_get_drvdata(&unit->device); bebob_update() local
331 struct snd_bebob *bebob = dev_get_drvdata(&unit->device); bebob_remove() local
[all...]
H A Dbebob_proc.c8 #include "./bebob.h"
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 in proc_read_clock() local
159 add_node(struct snd_bebob *bebob, struct snd_info_entry *root, const char *name, void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) add_node() argument
169 snd_bebob_proc_init(struct snd_bebob *bebob) snd_bebob_proc_init() argument
[all...]
H A Dbebob.h3 * bebob.h - a part of driver for BeBoB based devices
61 int (*get)(struct snd_bebob *bebob, unsigned int *id);
64 int (*get)(struct snd_bebob *bebob, unsigned int *rate);
65 int (*set)(struct snd_bebob *bebob, unsigned int rate);
70 int (*get)(struct snd_bebob *bebob, u32 *target, unsigned int size);
215 int snd_bebob_stream_get_rate(struct snd_bebob *bebob, unsigned int *rate);
216 int snd_bebob_stream_set_rate(struct snd_bebob *bebob, unsigned int rate);
217 int snd_bebob_stream_get_clock_src(struct snd_bebob *bebob,
219 int snd_bebob_stream_discover(struct snd_bebob *bebob);
220 int snd_bebob_stream_init_duplex(struct snd_bebob *bebob);
[all...]
H A Dbebob_focusrite.c8 #include "./bebob.h"
61 saffire_read_block(struct snd_bebob *bebob, u64 offset, in saffire_read_block() argument
68 err = snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST, in saffire_read_block()
81 saffire_read_quad(struct snd_bebob *bebob, u64 offset, u32 *value) in saffire_read_quad() argument
86 err = snd_fw_transaction(bebob->unit, TCODE_READ_QUADLET_REQUEST, in saffire_read_quad()
98 saffire_write_quad(struct snd_bebob *bebob, u64 offset, u32 value) in saffire_write_quad() argument
102 return snd_fw_transaction(bebob->unit, TCODE_WRITE_QUADLET_REQUEST, in saffire_write_quad()
142 saffirepro_both_clk_freq_get(struct snd_bebob *bebob, unsigned int *rate) in saffirepro_both_clk_freq_get() argument
147 err = saffire_read_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, &id); in saffirepro_both_clk_freq_get()
158 saffirepro_both_clk_freq_set(struct snd_bebob *bebob, unsigne argument
177 saffirepro_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) saffirepro_both_clk_src_get() argument
211 saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) saffire_both_clk_src_get() argument
232 saffire_meter_get(struct snd_bebob *bebob, u32 *buf, unsigned int size) saffire_meter_get() argument
[all...]
H A DMakefile2 snd-bebob-objs := bebob_command.o bebob_stream.o bebob_proc.o bebob_midi.o \
5 bebob.o
6 obj-$(CONFIG_SND_BEBOB) += snd-bebob.o
H A Dbebob_terratec.c8 #include "./bebob.h"
16 phase88_rack_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in phase88_rack_clk_src_get() argument
21 err = avc_audio_get_selector(bebob->unit, 0, 9, &enable_ext); in phase88_rack_clk_src_get()
24 err = avc_audio_get_selector(bebob->unit, 0, 8, &enable_word); in phase88_rack_clk_src_get()
H A Dbebob_yamaha_terratec.c8 #include "./bebob.h"
38 clk_src_get(struct snd_bebob *bebob, unsigned int *id) in clk_src_get() argument
42 err = avc_audio_get_selector(bebob->unit, 0, 4, id); in clk_src_get()
/kernel/linux/linux-5.10/sound/firewire/
H A DMakefile14 obj-$(CONFIG_SND_BEBOB) += bebob/

Completed in 11 milliseconds

12