Home
last modified time | relevance | path

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

12

/linux/sound/firewire/fireworks/
H A 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()
56 efw->tx_stream.flags |= CIP_WRONG_DBS; in init_stream()
59 efw->tx_stream.ctx_data.tx.dbc_interval = 8; in init_stream()
71 if (stream == &efw->tx_stream) in start_stream()
98 if (stream == &efw->tx_stream) in destroy_stream()
[all …]
H A 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()
H A 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()
/linux/sound/firewire/fireface/
H A 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()
H A 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()
H A Dff-protocol-former.c301 reg = cpu_to_le32(ff->tx_stream.data_block_quadlets); in allocate_tx_resources()
385 reg |= cpu_to_le32(ff->tx_stream.data_block_quadlets); in ff800_begin_session()
470 amdtp_stream_get_max_payload(&ff->tx_stream), in ff400_allocate_resources()
516 (ff->tx_stream.data_block_quadlets)); in ff400_begin_session()
/linux/sound/firewire/motu/
H A 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()
263 err = snd_motu_command_dsp_message_parser_init(motu, motu->tx_stream.sfc); in snd_motu_stream_start_duplex()
275 err = amdtp_domain_add_stream(&motu->domain, &motu->tx_stream, in snd_motu_stream_start_duplex()
338 if (s == &motu->tx_stream) { in init_stream()
361 if (s == &motu->tx_stream) in destroy_stream()
371 err = init_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
377 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
383 destroy_stream(motu, &motu->tx_stream); in snd_motu_stream_init_duplex()
[all …]
H A 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()
H A 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()
/linux/sound/firewire/digi00x/
H A 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()
H A 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()
H A 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()
/linux/sound/firewire/tascam/
H A 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 …]
H A 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()
/linux/sound/firewire/oxfw/
H A 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()
269 err = check_connection_used_by_others(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_reserve_duplex()
274 if (stream == &oxfw->tx_stream) in snd_oxfw_stream_reserve_duplex()
312 err = keep_resources(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_reserve_duplex()
340 amdtp_streaming_error(&oxfw->tx_stream)) { in snd_oxfw_stream_start_duplex()
360 !amdtp_stream_running(&oxfw->tx_stream)) { in snd_oxfw_stream_start_duplex()
361 err = start_stream(oxfw, &oxfw->tx_stream); in snd_oxfw_stream_start_duplex()
425 if (stream == &oxfw->tx_stream) in destroy_stream()
[all …]
H A 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()
H A 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()
/linux/sound/firewire/bebob/
H A 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 …]
H A 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()
H A 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()
/linux/sound/firewire/dice/
H A 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()
H A 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()
H A 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()
/linux/drivers/net/wireless/ath/carl9170/
H A Dusb.c718 struct ar9170_stream *tx_stream; in carl9170_usb_tx() local
729 if (ar->fw.tx_stream) { in carl9170_usb_tx()
730 tx_stream = (void *) (skb->data - sizeof(*tx_stream)); in carl9170_usb_tx()
732 len = skb->len + sizeof(*tx_stream); in carl9170_usb_tx()
733 tx_stream->length = cpu_to_le16(len); in carl9170_usb_tx()
734 tx_stream->tag = cpu_to_le16(AR9170_TX_STREAM_TAG); in carl9170_usb_tx()
735 data = tx_stream; in carl9170_usb_tx()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.h45 enum iwl_antenna_ok tx_stream; member

12