Home
last modified time | relevance | path

Searched refs:amdtp_stream (Results 1 – 25 of 36) sorted by relevance

12

/linux/sound/firewire/
H A Damdtp-stream.h113 struct amdtp_stream;
120 struct amdtp_stream { struct
175 struct amdtp_stream *replay_target;
221 void amdtp_stream_destroy(struct amdtp_stream *s);
227 void amdtp_stream_update(struct amdtp_stream *s);
229 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s,
232 void amdtp_stream_pcm_prepare(struct amdtp_stream *s);
233 void amdtp_stream_pcm_abort(struct amdtp_stream *s);
313 struct amdtp_stream *irq_target;
348 struct amdtp_stream *s);
[all …]
H A Damdtp-am824.h30 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate,
35 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index,
38 void amdtp_am824_set_midi_position(struct amdtp_stream *s,
41 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s,
44 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port,
47 int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit,
H A Damdtp-am824.c53 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_am824_set_parameters()
123 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, in amdtp_am824_set_pcm_position()
139 void amdtp_am824_set_midi_position(struct amdtp_stream *s, in amdtp_am824_set_midi_position()
179 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
209 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
228 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_am824_add_pcm_hw_constraints()
252 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_am824_midi_trigger()
288 static void midi_rate_use_one_byte(struct amdtp_stream *s, unsigned int port) in midi_rate_use_one_byte()
295 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
323 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
[all …]
H A Damdtp-stream.c644 struct amdtp_stream *s = container_of(work, struct amdtp_stream, in pcm_period_work()
1552 struct amdtp_stream *s; in process_ctxs_in_domain()
1606 struct amdtp_stream *rx; in irq_target_callback_skip()
1609 struct amdtp_stream *tx; in irq_target_callback_skip()
1880 struct amdtp_stream *s) in amdtp_domain_stream_pcm_pointer()
2014 struct amdtp_stream *tmp; in amdtp_domain_add_stream()
2036 struct amdtp_stream *rx; in make_association()
2042 struct amdtp_stream *tx = NULL; in make_association()
2043 struct amdtp_stream *s; in make_association()
2093 struct amdtp_stream *s; in amdtp_domain_start()
[all …]
/linux/sound/firewire/digi00x/
H A Ddigi00x.h40 struct amdtp_stream tx_stream;
43 struct amdtp_stream rx_stream;
115 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
117 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate,
119 void amdtp_dot_reset(struct amdtp_stream *s);
120 int amdtp_dot_add_pcm_hw_constraints(struct amdtp_stream *s,
122 void amdtp_dot_midi_trigger(struct amdtp_stream *s, unsigned int port,
H A Damdtp-dot.c113 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_dot_set_parameters()
145 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
177 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
208 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
240 static inline void midi_use_bytes(struct amdtp_stream *s, in midi_use_bytes()
248 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
292 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
322 int amdtp_dot_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_dot_add_pcm_hw_constraints()
335 void amdtp_dot_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_dot_midi_trigger()
389 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_dot_init()
[all …]
H A Ddigi00x-stream.c188 static int keep_resources(struct snd_dg00x *dg00x, struct amdtp_stream *stream, in keep_resources()
218 static int init_stream(struct snd_dg00x *dg00x, struct amdtp_stream *s) in init_stream()
243 static void destroy_stream(struct snd_dg00x *dg00x, struct amdtp_stream *s) in destroy_stream()
/linux/sound/firewire/fireface/
H A Damdtp-ff.c15 int amdtp_ff_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_ff_set_parameters()
30 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
60 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
90 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
103 int amdtp_ff_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_ff_add_pcm_hw_constraints()
115 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads()
136 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads()
155 int amdtp_ff_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_ff_init()
H A Dff.h90 struct amdtp_stream tx_stream;
91 struct amdtp_stream rx_stream;
140 int amdtp_ff_set_parameters(struct amdtp_stream *s, unsigned int rate,
142 int amdtp_ff_add_pcm_hw_constraints(struct amdtp_stream *s,
144 int amdtp_ff_init(struct amdtp_stream *s, struct fw_unit *unit,
H A Dff-stream.c39 static int init_stream(struct snd_ff *ff, struct amdtp_stream *s) in init_stream()
64 static void destroy_stream(struct snd_ff *ff, struct amdtp_stream *s) in destroy_stream()
/linux/sound/firewire/tascam/
H A Damdtp-tascam.c18 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate) in amdtp_tscm_set_parameters()
35 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
65 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
98 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
113 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_tscm_add_pcm_hw_constraints()
129 static void read_status_messages(struct amdtp_stream *s, in read_status_messages()
179 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads()
200 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads()
221 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_tscm_init()
H A Dtascam.h77 struct amdtp_stream tx_stream;
78 struct amdtp_stream rx_stream;
158 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit,
160 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate);
161 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s,
/linux/sound/firewire/motu/
H A Dmotu.h63 struct amdtp_stream tx_stream;
64 struct amdtp_stream rx_stream;
148 int amdtp_motu_init(struct amdtp_stream *s, struct fw_unit *unit,
152 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate,
155 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s,
157 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port,
283 void snd_motu_register_dsp_message_parser_parse(const struct amdtp_stream *s,
294 void snd_motu_command_dsp_message_parser_parse(const struct amdtp_stream *s,
H A Damdtp-motu.c48 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_motu_set_parameters()
93 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
129 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
166 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
189 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_motu_add_pcm_hw_constraints()
202 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_motu_midi_trigger()
211 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
237 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
331 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads()
395 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads()
[all …]
H A Damdtp-motu-trace.h22 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer),
51 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer),
H A Dmotu-stream.c29 struct amdtp_stream *stream) in keep_resources()
332 static int init_stream(struct snd_motu *motu, struct amdtp_stream *s) in init_stream()
357 static void destroy_stream(struct snd_motu *motu, struct amdtp_stream *s) in destroy_stream()
/linux/sound/firewire/dice/
H A Ddice-pcm.c132 struct amdtp_stream *stream; in init_hw_info()
309 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_prepare()
323 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_prepare()
338 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_trigger()
356 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_trigger()
375 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_pointer()
382 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_pointer()
390 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_ack()
398 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_ack()
H A Ddice.h106 struct amdtp_stream tx_stream[MAX_STREAMS];
107 struct amdtp_stream rx_stream[MAX_STREAMS];
H A Ddice-stream.c155 static int keep_resources(struct snd_dice *dice, struct amdtp_stream *stream, in keep_resources()
211 struct amdtp_stream *stream; in keep_dual_resources()
334 struct amdtp_stream *stream; in start_streams()
491 struct amdtp_stream *stream; in init_stream()
525 struct amdtp_stream *stream; in destroy_stream()
/linux/sound/firewire/oxfw/
H A Doxfw.h79 struct amdtp_stream tx_stream;
80 struct amdtp_stream rx_stream;
130 struct amdtp_stream *stream,
H A Doxfw-stream.c57 static int set_stream_format(struct snd_oxfw *oxfw, struct amdtp_stream *s, in set_stream_format()
103 static int start_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in start_stream()
128 struct amdtp_stream *stream) in check_connection_used_by_others()
151 static int init_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in init_stream()
201 static int keep_resources(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in keep_resources()
254 struct amdtp_stream *stream, in snd_oxfw_stream_reserve_duplex()
421 static void destroy_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in destroy_stream()
/linux/sound/firewire/fireworks/
H A Dfireworks_stream.c11 static int init_stream(struct snd_efw *efw, struct amdtp_stream *stream) in init_stream()
65 static int start_stream(struct snd_efw *efw, struct amdtp_stream *stream, in start_stream()
94 static void destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream) in destroy_stream()
105 check_connection_used_by_others(struct snd_efw *efw, struct amdtp_stream *s) in check_connection_used_by_others()
159 static int keep_resources(struct snd_efw *efw, struct amdtp_stream *stream, in keep_resources()
H A Dfireworks.h84 struct amdtp_stream tx_stream;
85 struct amdtp_stream rx_stream;
/linux/sound/firewire/bebob/
H A Dbebob_stream.c254 static int map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s) in map_data_channels()
377 check_connection_used_by_others(struct snd_bebob *bebob, struct amdtp_stream *s) in check_connection_used_by_others()
406 static int start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in start_stream()
431 static int init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in init_stream()
467 static void destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in destroy_stream()
500 static int keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, in keep_resources()
H A Dbebob.h97 struct amdtp_stream tx_stream;
98 struct amdtp_stream rx_stream;

12