Home
last modified time | relevance | path

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

12

/sound/firewire/fireworks/
Dfireworks_stream.c18 if (stream == &efw->tx_stream) { in init_stream()
39 if (stream == &efw->tx_stream) { in init_stream()
41 efw->tx_stream.flags |= CIP_EMPTY_WITH_TAG0; in init_stream()
43 efw->tx_stream.flags |= CIP_DBC_IS_END_EVENT; in init_stream()
45 efw->tx_stream.flags |= CIP_SKIP_DBC_ZERO_CHECK; in init_stream()
52 efw->tx_stream.flags |= CIP_UNALIGHED_DBC; in init_stream()
55 efw->tx_stream.flags |= CIP_WRONG_DBS; in init_stream()
58 efw->tx_stream.ctx_data.tx.dbc_interval = 8; in init_stream()
70 if (stream == &efw->tx_stream) in start_stream()
97 if (stream == &efw->tx_stream) in destroy_stream()
[all …]
Dfireworks_pcm.c142 s = &efw->tx_stream; in pcm_init_hw_params()
197 amdtp_stream_pcm_running(&efw->tx_stream) || in pcm_open()
268 amdtp_stream_pcm_prepare(&efw->tx_stream); in pcm_capture_prepare()
290 amdtp_stream_pcm_trigger(&efw->tx_stream, substream); in pcm_capture_trigger()
293 amdtp_stream_pcm_trigger(&efw->tx_stream, NULL); in pcm_capture_trigger()
322 return amdtp_stream_pcm_pointer(&efw->tx_stream); in pcm_capture_pointer()
334 return amdtp_stream_pcm_ack(&efw->tx_stream); in pcm_capture_ack()
Dfireworks_midi.c55 amdtp_am824_midi_trigger(&efw->tx_stream, in midi_capture_trigger()
58 amdtp_am824_midi_trigger(&efw->tx_stream, in midi_capture_trigger()
/sound/firewire/fireface/
Dff-stream.c45 if (s == &ff->tx_stream) { in init_stream()
68 if (s == &ff->tx_stream) in destroy_stream()
82 err = init_stream(ff, &ff->tx_stream); in snd_ff_stream_init_duplex()
91 destroy_stream(ff, &ff->tx_stream); in snd_ff_stream_init_duplex()
106 destroy_stream(ff, &ff->tx_stream); in snd_ff_stream_destroy_duplex()
140 err = amdtp_ff_set_parameters(&ff->tx_stream, rate, in snd_ff_stream_reserve_duplex()
165 if (amdtp_streaming_error(&ff->tx_stream) || in snd_ff_stream_start_duplex()
187 err = amdtp_domain_add_stream(&ff->domain, &ff->tx_stream, in snd_ff_stream_start_duplex()
198 !amdtp_stream_wait_callback(&ff->tx_stream, in snd_ff_stream_start_duplex()
233 amdtp_stream_pcm_abort(&ff->tx_stream); in snd_ff_stream_update_duplex()
Dff-pcm.c114 s = &ff->tx_stream; in pcm_init_hw_params()
176 amdtp_stream_pcm_running(&ff->tx_stream)) { in pcm_open()
251 amdtp_stream_pcm_prepare(&ff->tx_stream); in pcm_capture_prepare()
281 amdtp_stream_pcm_trigger(&ff->tx_stream, substream); in pcm_capture_trigger()
284 amdtp_stream_pcm_trigger(&ff->tx_stream, NULL); in pcm_capture_trigger()
315 return amdtp_stream_pcm_pointer(&ff->tx_stream); in pcm_capture_pointer()
329 return amdtp_stream_pcm_ack(&ff->tx_stream); in pcm_capture_ack()
Dff-protocol-former.c303 reg = cpu_to_le32(ff->tx_stream.data_block_quadlets); in allocate_tx_resources()
387 reg |= cpu_to_le32(ff->tx_stream.data_block_quadlets); in ff800_begin_session()
472 amdtp_stream_get_max_payload(&ff->tx_stream), in ff400_allocate_resources()
518 (ff->tx_stream.data_block_quadlets)); in ff400_begin_session()
/sound/firewire/oxfw/
Doxfw-stream.c66 if (s == &oxfw->tx_stream) { in set_stream_format()
134 if (stream == &oxfw->tx_stream) in check_connection_used_by_others()
158 if (stream == &oxfw->tx_stream) { in init_stream()
184 if (stream == &oxfw->tx_stream) { in init_stream()
185 oxfw->tx_stream.flags |= CIP_JUMBO_PAYLOAD; in init_stream()
187 oxfw->tx_stream.flags |= CIP_WRONG_DBS; in init_stream()
259 err = check_connection_used_by_others(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_reserve_duplex()
264 if (stream == &oxfw->tx_stream) in snd_oxfw_stream_reserve_duplex()
302 err = keep_resources(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_reserve_duplex()
321 amdtp_streaming_error(&oxfw->tx_stream)) { in snd_oxfw_stream_start_duplex()
[all …]
Doxfw-pcm.c119 stream = &oxfw->tx_stream; in init_hw_params()
187 if (amdtp_stream_pcm_running(&oxfw->tx_stream) || in pcm_open()
226 err = snd_oxfw_stream_reserve_duplex(oxfw, &oxfw->tx_stream, in pcm_capture_hw_params()
303 amdtp_stream_pcm_prepare(&oxfw->tx_stream); in pcm_capture_prepare()
338 amdtp_stream_pcm_trigger(&oxfw->tx_stream, pcm); in pcm_capture_trigger()
364 return amdtp_stream_pcm_pointer(&oxfw->tx_stream); in pcm_capture_pointer()
377 return amdtp_stream_pcm_ack(&oxfw->tx_stream); in pcm_capture_ack()
Doxfw-midi.c21 err = snd_oxfw_stream_reserve_duplex(oxfw, &oxfw->tx_stream, 0, 0); in midi_capture_open()
100 amdtp_am824_midi_trigger(&oxfw->tx_stream, in midi_capture_trigger()
103 amdtp_am824_midi_trigger(&oxfw->tx_stream, in midi_capture_trigger()
Doxfw.h53 struct amdtp_stream tx_stream; member
/sound/firewire/digi00x/
Ddigi00x-stream.c203 if (stream == &dg00x->tx_stream) in keep_resources()
224 if (s == &dg00x->tx_stream) { in init_stream()
247 if (s == &dg00x->tx_stream) in destroy_stream()
261 err = init_stream(dg00x, &dg00x->tx_stream); in snd_dg00x_stream_init_duplex()
270 destroy_stream(dg00x, &dg00x->tx_stream); in snd_dg00x_stream_init_duplex()
285 destroy_stream(dg00x, &dg00x->tx_stream); in snd_dg00x_stream_destroy_duplex()
315 err = keep_resources(dg00x, &dg00x->tx_stream, rate); in snd_dg00x_stream_reserve_duplex()
333 if (amdtp_streaming_error(&dg00x->tx_stream) || in snd_dg00x_stream_start_duplex()
365 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->tx_stream, in snd_dg00x_stream_start_duplex()
376 !amdtp_stream_wait_callback(&dg00x->tx_stream, in snd_dg00x_stream_start_duplex()
[all …]
Ddigi00x-pcm.c68 s = &dg00x->tx_stream; in pcm_init_hw_params()
132 amdtp_stream_pcm_running(&dg00x->tx_stream)) { in pcm_open()
206 amdtp_stream_pcm_prepare(&dg00x->tx_stream); in pcm_capture_prepare()
237 amdtp_stream_pcm_trigger(&dg00x->tx_stream, substream); in pcm_capture_trigger()
240 amdtp_stream_pcm_trigger(&dg00x->tx_stream, NULL); in pcm_capture_trigger()
271 return amdtp_stream_pcm_pointer(&dg00x->tx_stream); in pcm_capture_pointer()
285 return amdtp_stream_pcm_ack(&dg00x->tx_stream); in pcm_capture_ack()
Ddigi00x-midi.c62 amdtp_dot_midi_trigger(&dg00x->tx_stream, port, substream); in midi_capture_trigger()
64 amdtp_dot_midi_trigger(&dg00x->tx_stream, port, NULL); in midi_capture_trigger()
Ddigi00x.h43 struct amdtp_stream tx_stream; member
/sound/firewire/tascam/
Dtascam-stream.c287 if (stream == &tscm->tx_stream) in keep_resources()
308 if (s == &tscm->tx_stream) { in init_stream()
338 if (s == &tscm->tx_stream) in destroy_stream()
348 err = init_stream(tscm, &tscm->tx_stream); in snd_tscm_stream_init_duplex()
354 destroy_stream(tscm, &tscm->tx_stream); in snd_tscm_stream_init_duplex()
360 destroy_stream(tscm, &tscm->tx_stream); in snd_tscm_stream_init_duplex()
372 amdtp_stream_pcm_abort(&tscm->tx_stream); in snd_tscm_stream_update_duplex()
383 destroy_stream(tscm, &tscm->tx_stream); in snd_tscm_stream_destroy_duplex()
407 err = keep_resources(tscm, rate, &tscm->tx_stream); in snd_tscm_stream_reserve_duplex()
430 amdtp_streaming_error(&tscm->tx_stream)) { in snd_tscm_stream_start_duplex()
[all …]
Dtascam-pcm.c20 stream = &tscm->tx_stream; in pcm_init_hw_params()
64 amdtp_stream_pcm_running(&tscm->tx_stream)) { in pcm_open()
139 amdtp_stream_pcm_prepare(&tscm->tx_stream); in pcm_capture_prepare()
169 amdtp_stream_pcm_trigger(&tscm->tx_stream, substream); in pcm_capture_trigger()
172 amdtp_stream_pcm_trigger(&tscm->tx_stream, NULL); in pcm_capture_trigger()
203 return amdtp_stream_pcm_pointer(&tscm->tx_stream); in pcm_capture_pointer()
217 return amdtp_stream_pcm_ack(&tscm->tx_stream); in pcm_capture_ack()
/sound/firewire/motu/
Dmotu-stream.c165 err = keep_resources(motu, rate, &motu->tx_stream); in snd_motu_stream_reserve_duplex()
214 amdtp_streaming_error(&motu->tx_stream)) { in snd_motu_stream_start_duplex()
243 err = amdtp_domain_add_stream(&motu->domain, &motu->tx_stream, in snd_motu_stream_start_duplex()
257 if (!amdtp_stream_wait_callback(&motu->tx_stream, in snd_motu_stream_start_duplex()
298 if (s == &motu->tx_stream) { in init_stream()
321 if (s == &motu->tx_stream) in destroy_stream()
331 err = init_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
337 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
343 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
357 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_destroy_duplex()
Dmotu-pcm.c109 stream = &motu->tx_stream; in init_hw_info()
163 amdtp_stream_pcm_running(&motu->tx_stream) || in pcm_open()
241 amdtp_stream_pcm_prepare(&motu->tx_stream); in capture_prepare()
265 amdtp_stream_pcm_trigger(&motu->tx_stream, substream); in capture_trigger()
268 amdtp_stream_pcm_trigger(&motu->tx_stream, NULL); in capture_trigger()
298 return amdtp_stream_pcm_pointer(&motu->tx_stream); in capture_pointer()
311 return amdtp_stream_pcm_ack(&motu->tx_stream); in capture_ack()
Dmotu-midi.c59 amdtp_motu_midi_trigger(&motu->tx_stream, substrm->number, in midi_capture_trigger()
62 amdtp_motu_midi_trigger(&motu->tx_stream, substrm->number, in midi_capture_trigger()
/sound/firewire/bebob/
Dbebob_stream.c272 if (s == &bebob->tx_stream) in map_data_channels()
384 if (s == &bebob->tx_stream) in check_connection_used_by_others()
462 if (stream == &bebob->tx_stream) { in init_stream()
482 if (stream == &bebob->tx_stream) { in init_stream()
488 bebob->tx_stream.flags |= CIP_EMPTY_HAS_WRONG_DBC | in init_stream()
495 bebob->tx_stream.flags |= CIP_EMPTY_HAS_WRONG_DBC; in init_stream()
505 if (stream == &bebob->tx_stream) in destroy_stream()
515 err = init_stream(bebob, &bebob->tx_stream); in snd_bebob_stream_init_duplex()
521 destroy_stream(bebob, &bebob->tx_stream); in snd_bebob_stream_init_duplex()
527 destroy_stream(bebob, &bebob->tx_stream); in snd_bebob_stream_init_duplex()
[all …]
Dbebob_pcm.c105 s = &bebob->tx_stream; in pcm_init_hw_params()
158 amdtp_stream_pcm_running(&bebob->tx_stream) || in pcm_open()
235 amdtp_stream_pcm_prepare(&bebob->tx_stream); in pcm_capture_prepare()
259 amdtp_stream_pcm_trigger(&bebob->tx_stream, substream); in pcm_capture_trigger()
262 amdtp_stream_pcm_trigger(&bebob->tx_stream, NULL); in pcm_capture_trigger()
293 return amdtp_stream_pcm_pointer(&bebob->tx_stream); in pcm_capture_pointer()
306 return amdtp_stream_pcm_ack(&bebob->tx_stream); in pcm_capture_ack()
Dbebob_midi.c55 amdtp_am824_midi_trigger(&bebob->tx_stream, in midi_capture_trigger()
58 amdtp_am824_midi_trigger(&bebob->tx_stream, in midi_capture_trigger()
/sound/firewire/dice/
Ddice-pcm.c138 stream = &dice->tx_stream[index]; in init_hw_info()
203 amdtp_stream_pcm_running(&dice->tx_stream[0]) || in pcm_open()
204 amdtp_stream_pcm_running(&dice->tx_stream[1]) || in pcm_open()
276 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_prepare()
305 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_trigger()
342 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_pointer()
357 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_ack()
Ddice-stream.c232 stream = &dice->tx_stream[i]; in keep_dual_resources()
348 stream = dice->tx_stream + i; in start_streams()
409 if (amdtp_streaming_error(&dice->tx_stream[i]) || in snd_dice_stream_start_duplex()
435 !amdtp_stream_running(&dice->tx_stream[i])) in snd_dice_stream_start_duplex()
464 !amdtp_stream_wait_callback(&dice->tx_stream[i], in snd_dice_stream_start_duplex()
508 stream = &dice->tx_stream[index]; in init_stream()
541 stream = &dice->tx_stream[index]; in destroy_stream()
Ddice-midi.c59 amdtp_am824_midi_trigger(&dice->tx_stream[0], in midi_capture_trigger()
62 amdtp_am824_midi_trigger(&dice->tx_stream[0], in midi_capture_trigger()

12