Home
last modified time | relevance | path

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

12

/linux-6.12.1/sound/firewire/
Damdtp-stream.h113 struct amdtp_stream;
114 typedef void (*amdtp_stream_process_ctx_payloads_t)(struct amdtp_stream *s,
120 struct amdtp_stream { struct
175 struct amdtp_stream *replay_target;
216 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, argument
221 void amdtp_stream_destroy(struct amdtp_stream *s);
223 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate,
225 unsigned int amdtp_stream_get_max_payload(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,
[all …]
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,
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()
148 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
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()
272 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
288 static void midi_rate_use_one_byte(struct amdtp_stream *s, unsigned int port) in midi_rate_use_one_byte()
[all …]
Damdtp-stream.c92 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
126 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
190 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
286 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
316 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s) in amdtp_stream_get_max_ctx_payload_size()
335 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
354 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
365 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_blocking_data_blocks()
383 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_nonblocking_data_blocks()
464 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_syt_offsets()
[all …]
/linux-6.12.1/sound/firewire/digi00x/
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()
224 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
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()
[all …]
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,
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-6.12.1/sound/firewire/fireface/
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()
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,
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-6.12.1/sound/firewire/tascam/
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()
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-6.12.1/sound/firewire/motu/
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,
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()
287 static void probe_tracepoints_events(struct amdtp_stream *s, const struct pkt_desc *desc, in probe_tracepoints_events()
331 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads()
[all …]
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),
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-6.12.1/sound/firewire/dice/
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()
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()
Ddice.h106 struct amdtp_stream tx_stream[MAX_STREAMS];
107 struct amdtp_stream rx_stream[MAX_STREAMS];
/linux-6.12.1/sound/firewire/oxfw/
Doxfw.h79 struct amdtp_stream tx_stream;
80 struct amdtp_stream rx_stream;
130 struct amdtp_stream *stream,
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-6.12.1/sound/firewire/fireworks/
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()
Dfireworks.h84 struct amdtp_stream tx_stream;
85 struct amdtp_stream rx_stream;
/linux-6.12.1/sound/firewire/bebob/
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()
Dbebob.h97 struct amdtp_stream tx_stream;
98 struct amdtp_stream rx_stream;

12