Home
last modified time | relevance | path

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

12

/linux-6.6.21/sound/firewire/
Damdtp-stream.h109 struct amdtp_stream;
110 typedef void (*amdtp_stream_process_ctx_payloads_t)(struct amdtp_stream *s,
116 struct amdtp_stream { struct
171 struct amdtp_stream *replay_target;
211 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, argument
216 void amdtp_stream_destroy(struct amdtp_stream *s);
218 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate,
220 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s);
222 void amdtp_stream_update(struct amdtp_stream *s);
224 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.c90 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
123 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
184 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
280 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
310 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s) in amdtp_stream_get_max_ctx_payload_size()
329 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
348 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
358 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_blocking_data_blocks()
376 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_nonblocking_data_blocks()
457 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_syt_offsets()
[all …]
/linux-6.6.21/sound/firewire/digi00x/
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,
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-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.6.21/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.6.21/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.6.21/sound/firewire/motu/
Dmotu.h63 struct amdtp_stream tx_stream;
64 struct amdtp_stream rx_stream;
147 int amdtp_motu_init(struct amdtp_stream *s, struct fw_unit *unit,
151 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate,
154 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s,
156 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port,
282 void snd_motu_register_dsp_message_parser_parse(const struct amdtp_stream *s,
293 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.6.21/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.h106 struct amdtp_stream tx_stream[MAX_STREAMS];
107 struct amdtp_stream rx_stream[MAX_STREAMS];
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-6.6.21/sound/firewire/oxfw/
Doxfw.h74 struct amdtp_stream tx_stream;
75 struct amdtp_stream rx_stream;
125 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()
199 static int keep_resources(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in keep_resources()
252 struct amdtp_stream *stream, in snd_oxfw_stream_reserve_duplex()
419 static void destroy_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in destroy_stream()
/linux-6.6.21/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.6.21/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