Home
last modified time | relevance | path

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

12

/sound/firewire/
Damdtp-stream.h105 struct amdtp_stream;
107 struct amdtp_stream *s,
111 struct amdtp_stream { struct
180 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, argument
185 void amdtp_stream_destroy(struct amdtp_stream *s);
187 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate,
189 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s);
191 void amdtp_stream_update(struct amdtp_stream *s);
193 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s,
196 void amdtp_stream_pcm_prepare(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.c55 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_am824_set_parameters()
124 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, in amdtp_am824_set_pcm_position()
140 void amdtp_am824_set_midi_position(struct amdtp_stream *s, in amdtp_am824_set_midi_position()
149 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
180 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
210 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
229 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_am824_add_pcm_hw_constraints()
253 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_am824_midi_trigger()
273 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
289 static void midi_rate_use_one_byte(struct amdtp_stream *s, unsigned int port) in midi_rate_use_one_byte()
[all …]
Damdtp-stream.c80 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
118 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
179 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
255 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
295 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
316 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
324 static unsigned int calculate_data_blocks(struct amdtp_stream *s, in calculate_data_blocks()
368 static unsigned int calculate_syt(struct amdtp_stream *s, in calculate_syt()
412 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
432 struct amdtp_stream *s = (void *)data; in pcm_period_tasklet()
[all …]
/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.h43 struct amdtp_stream tx_stream;
46 struct amdtp_stream rx_stream;
118 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
120 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate,
122 void amdtp_dot_reset(struct amdtp_stream *s);
123 int amdtp_dot_add_pcm_hw_constraints(struct amdtp_stream *s,
125 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()
/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 unsigned int process_it_ctx_payloads(struct amdtp_stream *s, in process_it_ctx_payloads()
139 static unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, in process_ir_ctx_payloads()
161 int amdtp_ff_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_ff_init()
Dff.h86 struct amdtp_stream tx_stream;
87 struct amdtp_stream rx_stream;
131 int amdtp_ff_set_parameters(struct amdtp_stream *s, unsigned int rate,
133 int amdtp_ff_add_pcm_hw_constraints(struct amdtp_stream *s,
135 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()
/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 unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, in process_ir_ctx_payloads()
203 static unsigned int process_it_ctx_payloads(struct amdtp_stream *s, in process_it_ctx_payloads()
227 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_tscm_init()
Dtascam.h79 struct amdtp_stream tx_stream;
80 struct amdtp_stream rx_stream;
159 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit,
161 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate);
162 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s,
/sound/firewire/motu/
Dmotu.h58 struct amdtp_stream tx_stream;
59 struct amdtp_stream rx_stream;
135 int amdtp_motu_init(struct amdtp_stream *s, struct fw_unit *unit,
138 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate,
141 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s,
143 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port,
Damdtp-motu.c46 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_motu_set_parameters()
120 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
156 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
193 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
216 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_motu_add_pcm_hw_constraints()
229 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_motu_midi_trigger()
238 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
264 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
313 static void probe_tracepoints_events(struct amdtp_stream *s, in probe_tracepoints_events()
329 static unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, 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()
292 static int init_stream(struct snd_motu *motu, struct amdtp_stream *s) in init_stream()
317 static void destroy_stream(struct snd_motu *motu, struct amdtp_stream *s) in destroy_stream()
/sound/firewire/dice/
Ddice-pcm.c132 struct amdtp_stream *stream; in init_hw_info()
276 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_prepare()
290 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_prepare()
305 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_trigger()
323 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_trigger()
342 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_pointer()
349 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_pointer()
357 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_ack()
365 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_ack()
Ddice.h110 struct amdtp_stream tx_stream[MAX_STREAMS];
111 struct amdtp_stream rx_stream[MAX_STREAMS];
Ddice-stream.c168 static int keep_resources(struct snd_dice *dice, struct amdtp_stream *stream, in keep_resources()
224 struct amdtp_stream *stream; in keep_dual_resources()
343 struct amdtp_stream *stream; in start_streams()
504 struct amdtp_stream *stream; in init_stream()
538 struct amdtp_stream *stream; in destroy_stream()
/sound/firewire/oxfw/
Doxfw.h53 struct amdtp_stream tx_stream;
54 struct amdtp_stream rx_stream;
105 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()
193 static int keep_resources(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in keep_resources()
246 struct amdtp_stream *stream, in snd_oxfw_stream_reserve_duplex()
393 static void destroy_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in destroy_stream()
/sound/firewire/fireworks/
Dfireworks_stream.c11 static int init_stream(struct snd_efw *efw, struct amdtp_stream *stream) in init_stream()
64 static int start_stream(struct snd_efw *efw, struct amdtp_stream *stream, in start_stream()
93 static void destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream) in destroy_stream()
104 check_connection_used_by_others(struct snd_efw *efw, struct amdtp_stream *s) in check_connection_used_by_others()
158 static int keep_resources(struct snd_efw *efw, struct amdtp_stream *stream, in keep_resources()
Dfireworks.h87 struct amdtp_stream tx_stream;
88 struct amdtp_stream rx_stream;
/sound/firewire/bebob/
Dbebob_stream.c255 static int map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s) in map_data_channels()
378 check_connection_used_by_others(struct snd_bebob *bebob, struct amdtp_stream *s) in check_connection_used_by_others()
431 start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in start_stream()
455 static int init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in init_stream()
501 static void destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in destroy_stream()
534 static int keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, in keep_resources()
Dbebob.h95 struct amdtp_stream tx_stream;
96 struct amdtp_stream rx_stream;

12