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()
292 amdtp_stream_pcm_prepare(&efw->tx_stream); in pcm_capture_prepare()
314 amdtp_stream_pcm_trigger(&efw->tx_stream, substream); in pcm_capture_trigger()
317 amdtp_stream_pcm_trigger(&efw->tx_stream, NULL); in pcm_capture_trigger()
347 return amdtp_domain_stream_pcm_pointer(&efw->domain, &efw->tx_stream); in pcm_capture_pointer()
360 return amdtp_domain_stream_pcm_ack(&efw->domain, &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()
142 err = amdtp_ff_set_parameters(&ff->tx_stream, rate, in snd_ff_stream_reserve_duplex()
175 if (amdtp_streaming_error(&ff->tx_stream) || in snd_ff_stream_start_duplex()
197 err = amdtp_domain_add_stream(&ff->domain, &ff->tx_stream, in snd_ff_stream_start_duplex()
244 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()
275 amdtp_stream_pcm_prepare(&ff->tx_stream); in pcm_capture_prepare()
305 amdtp_stream_pcm_trigger(&ff->tx_stream, substream); in pcm_capture_trigger()
308 amdtp_stream_pcm_trigger(&ff->tx_stream, NULL); in pcm_capture_trigger()
339 return amdtp_domain_stream_pcm_pointer(&ff->domain, &ff->tx_stream); in pcm_capture_pointer()
353 return amdtp_domain_stream_pcm_ack(&ff->domain, &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/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()
317 err = keep_resources(dg00x, &dg00x->tx_stream, rate); in snd_dg00x_stream_reserve_duplex()
343 if (amdtp_streaming_error(&dg00x->tx_stream) || in snd_dg00x_stream_start_duplex()
375 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->tx_stream, in snd_dg00x_stream_start_duplex()
418 amdtp_stream_update(&dg00x->tx_stream); in snd_dg00x_stream_update_duplex()
Ddigi00x-pcm.c68 s = &dg00x->tx_stream; in pcm_init_hw_params()
234 amdtp_stream_pcm_prepare(&dg00x->tx_stream); in pcm_capture_prepare()
265 amdtp_stream_pcm_trigger(&dg00x->tx_stream, substream); in pcm_capture_trigger()
268 amdtp_stream_pcm_trigger(&dg00x->tx_stream, NULL); in pcm_capture_trigger()
299 return amdtp_domain_stream_pcm_pointer(&dg00x->domain, &dg00x->tx_stream); in pcm_capture_pointer()
313 return amdtp_domain_stream_pcm_ack(&dg00x->domain, &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.h40 struct amdtp_stream tx_stream; member
/sound/firewire/motu/
Dmotu-stream.c170 err = keep_resources(motu, rate, &motu->tx_stream); in snd_motu_stream_reserve_duplex()
188 motu->cache.size = motu->tx_stream.syt_interval * frames_per_buffer; in snd_motu_stream_reserve_duplex()
236 amdtp_streaming_error(&motu->tx_stream)) { in snd_motu_stream_start_duplex()
265 err = amdtp_domain_add_stream(&motu->domain, &motu->tx_stream, in snd_motu_stream_start_duplex()
328 if (s == &motu->tx_stream) { in init_stream()
351 if (s == &motu->tx_stream) in destroy_stream()
361 err = init_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
367 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
373 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
387 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_destroy_duplex()
Dmotu-pcm.c106 stream = &motu->tx_stream; in init_hw_info()
254 amdtp_stream_pcm_prepare(&motu->tx_stream); in capture_prepare()
278 amdtp_stream_pcm_trigger(&motu->tx_stream, substream); in capture_trigger()
281 amdtp_stream_pcm_trigger(&motu->tx_stream, NULL); in capture_trigger()
311 return amdtp_domain_stream_pcm_pointer(&motu->domain, &motu->tx_stream); in capture_pointer()
324 return amdtp_domain_stream_pcm_ack(&motu->domain, &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/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()
171 if (stream == &oxfw->tx_stream) { in init_stream()
267 err = check_connection_used_by_others(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_reserve_duplex()
272 if (stream == &oxfw->tx_stream) in snd_oxfw_stream_reserve_duplex()
310 err = keep_resources(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_reserve_duplex()
338 amdtp_streaming_error(&oxfw->tx_stream)) { in snd_oxfw_stream_start_duplex()
358 !amdtp_stream_running(&oxfw->tx_stream)) { in snd_oxfw_stream_start_duplex()
359 err = start_stream(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_start_duplex()
423 if (stream == &oxfw->tx_stream) in destroy_stream()
[all …]
Doxfw-pcm.c119 stream = &oxfw->tx_stream; in init_hw_params()
249 err = snd_oxfw_stream_reserve_duplex(oxfw, &oxfw->tx_stream, in pcm_capture_hw_params()
325 amdtp_stream_pcm_prepare(&oxfw->tx_stream); in pcm_capture_prepare()
360 amdtp_stream_pcm_trigger(&oxfw->tx_stream, pcm); in pcm_capture_trigger()
386 return amdtp_domain_stream_pcm_pointer(&oxfw->domain, &oxfw->tx_stream); in pcm_capture_pointer()
399 return amdtp_domain_stream_pcm_ack(&oxfw->domain, &oxfw->tx_stream); in pcm_capture_ack()
Doxfw-midi.c21 err = snd_oxfw_stream_reserve_duplex(oxfw, &oxfw->tx_stream, 0, 0, 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.h74 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()
409 err = keep_resources(tscm, rate, &tscm->tx_stream); in snd_tscm_stream_reserve_duplex()
442 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()
164 amdtp_stream_pcm_prepare(&tscm->tx_stream); in pcm_capture_prepare()
194 amdtp_stream_pcm_trigger(&tscm->tx_stream, substream); in pcm_capture_trigger()
197 amdtp_stream_pcm_trigger(&tscm->tx_stream, NULL); in pcm_capture_trigger()
228 return amdtp_domain_stream_pcm_pointer(&tscm->domain, &tscm->tx_stream); in pcm_capture_pointer()
242 return amdtp_domain_stream_pcm_ack(&tscm->domain, &tscm->tx_stream); in pcm_capture_ack()
/sound/firewire/bebob/
Dbebob_stream.c271 if (s == &bebob->tx_stream) in map_data_channels()
383 if (s == &bebob->tx_stream) in check_connection_used_by_others()
439 if (stream == &bebob->tx_stream) { in init_stream()
449 if (stream == &bebob->tx_stream) { in init_stream()
471 if (stream == &bebob->tx_stream) in destroy_stream()
481 err = init_stream(bebob, &bebob->tx_stream); in snd_bebob_stream_init_duplex()
487 destroy_stream(bebob, &bebob->tx_stream); in snd_bebob_stream_init_duplex()
493 destroy_stream(bebob, &bebob->tx_stream); in snd_bebob_stream_init_duplex()
508 if (stream == &bebob->tx_stream) { in keep_resources()
571 err = keep_resources(bebob, &bebob->tx_stream, rate, index); in snd_bebob_stream_reserve_duplex()
[all …]
Dbebob_pcm.c105 s = &bebob->tx_stream; in pcm_init_hw_params()
257 amdtp_stream_pcm_prepare(&bebob->tx_stream); in pcm_capture_prepare()
281 amdtp_stream_pcm_trigger(&bebob->tx_stream, substream); in pcm_capture_trigger()
284 amdtp_stream_pcm_trigger(&bebob->tx_stream, NULL); in pcm_capture_trigger()
316 &bebob->tx_stream); in pcm_capture_pointer()
330 return amdtp_domain_stream_pcm_ack(&bebob->domain, &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()
309 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_prepare()
338 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_trigger()
375 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_pointer()
390 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_ack()
Ddice-stream.c218 stream = &dice->tx_stream[i]; in keep_dual_resources()
339 stream = dice->tx_stream + i; in start_streams()
400 if (amdtp_streaming_error(&dice->tx_stream[i]) || in snd_dice_stream_start_duplex()
426 !amdtp_stream_running(&dice->tx_stream[i])) in snd_dice_stream_start_duplex()
496 stream = &dice->tx_stream[index]; in init_stream()
529 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