Home
last modified time | relevance | path

Searched refs:rx_stream (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/sound/firewire/fireface/
Dff-stream.c78 err = init_stream(ff, &ff->rx_stream); in snd_ff_stream_init_duplex()
84 destroy_stream(ff, &ff->rx_stream); in snd_ff_stream_init_duplex()
90 destroy_stream(ff, &ff->rx_stream); in snd_ff_stream_init_duplex()
105 destroy_stream(ff, &ff->rx_stream); in snd_ff_stream_destroy_duplex()
147 err = amdtp_ff_set_parameters(&ff->rx_stream, rate, in snd_ff_stream_reserve_duplex()
176 amdtp_streaming_error(&ff->rx_stream)) { in snd_ff_stream_start_duplex()
185 if (!amdtp_stream_running(&ff->rx_stream)) { in snd_ff_stream_start_duplex()
192 err = amdtp_domain_add_stream(&ff->domain, &ff->rx_stream, in snd_ff_stream_start_duplex()
245 amdtp_stream_pcm_abort(&ff->rx_stream); in snd_ff_stream_update_duplex()
Dff-pcm.c118 s = &ff->rx_stream; in pcm_init_hw_params()
185 rate = amdtp_rate_table[ff->rx_stream.sfc]; in pcm_open()
292 amdtp_stream_pcm_prepare(&ff->rx_stream); in pcm_playback_prepare()
323 amdtp_stream_pcm_trigger(&ff->rx_stream, substream); in pcm_playback_trigger()
326 amdtp_stream_pcm_trigger(&ff->rx_stream, NULL); in pcm_playback_trigger()
346 return amdtp_domain_stream_pcm_pointer(&ff->domain, &ff->rx_stream); in pcm_playback_pointer()
360 return amdtp_domain_stream_pcm_ack(&ff->domain, &ff->rx_stream); in pcm_playback_ack()
Dff-protocol-former.c354 amdtp_stream_get_max_payload(&ff->rx_stream), in ff800_allocate_resources()
362 data = ff->rx_stream.data_block_quadlets << 3; in ff800_allocate_resources()
478 amdtp_stream_get_max_payload(&ff->rx_stream), in ff400_allocate_resources()
504 reg = cpu_to_le32(((ff->rx_stream.data_block_quadlets << 3) << 8) | in ff400_begin_session()
/linux-6.1.9/sound/firewire/fireworks/
Dfireworks_stream.c136 err = init_stream(efw, &efw->rx_stream); in snd_efw_stream_init_duplex()
145 destroy_stream(efw, &efw->rx_stream); in snd_efw_stream_init_duplex()
153 destroy_stream(efw, &efw->rx_stream); in snd_efw_stream_init_duplex()
194 err = check_connection_used_by_others(efw, &efw->rx_stream); in snd_efw_stream_reserve_duplex()
229 err = keep_resources(efw, &efw->rx_stream, rate, mode); in snd_efw_stream_reserve_duplex()
256 if (amdtp_streaming_error(&efw->rx_stream) || in snd_efw_stream_start_duplex()
267 if (!amdtp_stream_running(&efw->rx_stream)) { in snd_efw_stream_start_duplex()
277 err = start_stream(efw, &efw->rx_stream, rate); in snd_efw_stream_start_duplex()
328 amdtp_stream_pcm_abort(&efw->rx_stream); in snd_efw_stream_update_duplex()
336 destroy_stream(efw, &efw->rx_stream); in snd_efw_stream_destroy_duplex()
Dfireworks_pcm.c146 s = &efw->rx_stream; in pcm_init_hw_params()
303 amdtp_stream_pcm_prepare(&efw->rx_stream); in pcm_playback_prepare()
331 amdtp_stream_pcm_trigger(&efw->rx_stream, substream); in pcm_playback_trigger()
334 amdtp_stream_pcm_trigger(&efw->rx_stream, NULL); in pcm_playback_trigger()
353 return amdtp_domain_stream_pcm_pointer(&efw->domain, &efw->rx_stream); in pcm_playback_pointer()
367 return amdtp_domain_stream_pcm_ack(&efw->domain, &efw->rx_stream); in pcm_playback_ack()
Dfireworks_midi.c72 amdtp_am824_midi_trigger(&efw->rx_stream, in midi_playback_trigger()
75 amdtp_am824_midi_trigger(&efw->rx_stream, in midi_playback_trigger()
/linux-6.1.9/sound/firewire/digi00x/
Ddigi00x-stream.c257 err = init_stream(dg00x, &dg00x->rx_stream); in snd_dg00x_stream_init_duplex()
263 destroy_stream(dg00x, &dg00x->rx_stream); in snd_dg00x_stream_init_duplex()
267 destroy_stream(dg00x, &dg00x->rx_stream); in snd_dg00x_stream_init_duplex()
282 destroy_stream(dg00x, &dg00x->rx_stream); in snd_dg00x_stream_destroy_duplex()
311 err = keep_resources(dg00x, &dg00x->rx_stream, rate); in snd_dg00x_stream_reserve_duplex()
342 amdtp_streaming_error(&dg00x->rx_stream)) { in snd_dg00x_stream_start_duplex()
361 if (!amdtp_stream_running(&dg00x->rx_stream)) { in snd_dg00x_stream_start_duplex()
368 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->rx_stream, in snd_dg00x_stream_start_duplex()
417 amdtp_stream_update(&dg00x->rx_stream); in snd_dg00x_stream_update_duplex()
Ddigi00x-pcm.c71 s = &dg00x->rx_stream; in pcm_init_hw_params()
250 amdtp_stream_pcm_prepare(&dg00x->rx_stream); in pcm_playback_prepare()
251 amdtp_dot_reset(&dg00x->rx_stream); in pcm_playback_prepare()
283 amdtp_stream_pcm_trigger(&dg00x->rx_stream, substream); in pcm_playback_trigger()
286 amdtp_stream_pcm_trigger(&dg00x->rx_stream, NULL); in pcm_playback_trigger()
306 return amdtp_domain_stream_pcm_pointer(&dg00x->domain, &dg00x->rx_stream); in pcm_playback_pointer()
320 return amdtp_domain_stream_pcm_ack(&dg00x->domain, &dg00x->rx_stream); in pcm_playback_ack()
Ddigi00x-midi.c84 amdtp_dot_midi_trigger(&dg00x->rx_stream, port, substream); in midi_playback_trigger()
86 amdtp_dot_midi_trigger(&dg00x->rx_stream, port, NULL); in midi_playback_trigger()
/linux-6.1.9/sound/firewire/oxfw/
Doxfw-stream.c108 if (stream == &oxfw->rx_stream) in start_stream()
208 if (stream == &oxfw->rx_stream) { in keep_resources()
263 err = check_connection_used_by_others(oxfw, &oxfw->rx_stream); in snd_oxfw_stream_reserve_duplex()
305 err = keep_resources(oxfw, &oxfw->rx_stream); in snd_oxfw_stream_reserve_duplex()
337 if (amdtp_streaming_error(&oxfw->rx_stream) || in snd_oxfw_stream_start_duplex()
346 if (!amdtp_stream_running(&oxfw->rx_stream)) { in snd_oxfw_stream_start_duplex()
350 err = start_stream(oxfw, &oxfw->rx_stream); in snd_oxfw_stream_start_duplex()
436 err = init_stream(oxfw, &oxfw->rx_stream); in snd_oxfw_stream_init_duplex()
443 destroy_stream(oxfw, &oxfw->rx_stream); in snd_oxfw_stream_init_duplex()
450 destroy_stream(oxfw, &oxfw->rx_stream); in snd_oxfw_stream_init_duplex()
[all …]
Doxfw-pcm.c123 stream = &oxfw->rx_stream; in init_hw_params()
272 err = snd_oxfw_stream_reserve_duplex(oxfw, &oxfw->rx_stream, in pcm_playback_hw_params()
340 amdtp_stream_pcm_prepare(&oxfw->rx_stream); in pcm_playback_prepare()
378 amdtp_stream_pcm_trigger(&oxfw->rx_stream, pcm); in pcm_playback_trigger()
392 return amdtp_domain_stream_pcm_pointer(&oxfw->domain, &oxfw->rx_stream); in pcm_playback_pointer()
406 return amdtp_domain_stream_pcm_ack(&oxfw->domain, &oxfw->rx_stream); in pcm_playback_ack()
Doxfw-midi.c48 err = snd_oxfw_stream_reserve_duplex(oxfw, &oxfw->rx_stream, 0, 0, 0, 0); in midi_playback_open()
117 amdtp_am824_midi_trigger(&oxfw->rx_stream, in midi_playback_trigger()
120 amdtp_am824_midi_trigger(&oxfw->rx_stream, in midi_playback_trigger()
/linux-6.1.9/sound/firewire/tascam/
Dtascam-pcm.c24 stream = &tscm->rx_stream; in pcm_init_hw_params()
181 amdtp_stream_pcm_prepare(&tscm->rx_stream); in pcm_playback_prepare()
212 amdtp_stream_pcm_trigger(&tscm->rx_stream, substream); in pcm_playback_trigger()
215 amdtp_stream_pcm_trigger(&tscm->rx_stream, NULL); in pcm_playback_trigger()
235 return amdtp_domain_stream_pcm_pointer(&tscm->domain, &tscm->rx_stream); in pcm_playback_pointer()
249 return amdtp_domain_stream_pcm_ack(&tscm->domain, &tscm->rx_stream); in pcm_playback_ack()
Dtascam-stream.c352 err = init_stream(tscm, &tscm->rx_stream); in snd_tscm_stream_init_duplex()
361 destroy_stream(tscm, &tscm->rx_stream); in snd_tscm_stream_init_duplex()
373 amdtp_stream_pcm_abort(&tscm->rx_stream); in snd_tscm_stream_update_duplex()
382 destroy_stream(tscm, &tscm->rx_stream); in snd_tscm_stream_destroy_duplex()
413 err = keep_resources(tscm, rate, &tscm->rx_stream); in snd_tscm_stream_reserve_duplex()
441 if (amdtp_streaming_error(&tscm->rx_stream) || in snd_tscm_stream_start_duplex()
457 if (!amdtp_stream_running(&tscm->rx_stream)) { in snd_tscm_stream_start_duplex()
469 err = amdtp_domain_add_stream(&tscm->domain, &tscm->rx_stream, in snd_tscm_stream_start_duplex()
/linux-6.1.9/sound/firewire/motu/
Dmotu-stream.c36 if (stream == &motu->rx_stream) { in keep_resources()
174 err = keep_resources(motu, rate, &motu->rx_stream); in snd_motu_stream_reserve_duplex()
235 if (amdtp_streaming_error(&motu->rx_stream) || in snd_motu_stream_start_duplex()
251 if (!amdtp_stream_running(&motu->rx_stream)) { in snd_motu_stream_start_duplex()
280 err = amdtp_domain_add_stream(&motu->domain, &motu->rx_stream, in snd_motu_stream_start_duplex()
375 err = init_stream(motu, &motu->rx_stream); in snd_motu_stream_init_duplex()
384 destroy_stream(motu, &motu->rx_stream); in snd_motu_stream_init_duplex()
396 destroy_stream(motu, &motu->rx_stream); in snd_motu_stream_destroy_duplex()
Dmotu-pcm.c110 stream = &motu->rx_stream; in init_hw_info()
267 amdtp_stream_pcm_prepare(&motu->rx_stream); in playback_prepare()
295 amdtp_stream_pcm_trigger(&motu->rx_stream, substream); in playback_trigger()
298 amdtp_stream_pcm_trigger(&motu->rx_stream, NULL); in playback_trigger()
317 return amdtp_domain_stream_pcm_pointer(&motu->domain, &motu->rx_stream); in playback_pointer()
331 return amdtp_domain_stream_pcm_ack(&motu->domain, &motu->rx_stream); in playback_ack()
Dmotu-midi.c76 amdtp_motu_midi_trigger(&motu->rx_stream, substrm->number, in midi_playback_trigger()
79 amdtp_motu_midi_trigger(&motu->rx_stream, substrm->number, in midi_playback_trigger()
/linux-6.1.9/sound/firewire/bebob/
Dbebob_pcm.c109 s = &bebob->rx_stream; in pcm_init_hw_params()
269 amdtp_stream_pcm_prepare(&bebob->rx_stream); in pcm_playback_prepare()
299 amdtp_stream_pcm_trigger(&bebob->rx_stream, substream); in pcm_playback_trigger()
302 amdtp_stream_pcm_trigger(&bebob->rx_stream, NULL); in pcm_playback_trigger()
323 &bebob->rx_stream); in pcm_playback_pointer()
337 return amdtp_domain_stream_pcm_ack(&bebob->domain, &bebob->rx_stream); in pcm_playback_ack()
Dbebob_stream.c411 if (stream == &bebob->rx_stream) in start_stream()
485 err = init_stream(bebob, &bebob->rx_stream); in snd_bebob_stream_init_duplex()
494 destroy_stream(bebob, &bebob->rx_stream); in snd_bebob_stream_init_duplex()
534 err = check_connection_used_by_others(bebob, &bebob->rx_stream); in snd_bebob_stream_reserve_duplex()
575 err = keep_resources(bebob, &bebob->rx_stream, rate, index); in snd_bebob_stream_reserve_duplex()
602 if (amdtp_streaming_error(&bebob->rx_stream) || in snd_bebob_stream_start_duplex()
608 if (!amdtp_stream_running(&bebob->rx_stream)) { in snd_bebob_stream_start_duplex()
623 err = start_stream(bebob, &bebob->rx_stream); in snd_bebob_stream_start_duplex()
696 destroy_stream(bebob, &bebob->rx_stream); in snd_bebob_stream_destroy_duplex()
Dbebob_midi.c72 amdtp_am824_midi_trigger(&bebob->rx_stream, in midi_playback_trigger()
75 amdtp_am824_midi_trigger(&bebob->rx_stream, in midi_playback_trigger()
/linux-6.1.9/sound/firewire/dice/
Ddice-pcm.c142 stream = &dice->rx_stream[index]; in init_hw_info()
323 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_prepare()
356 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_trigger()
382 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_pointer()
398 struct amdtp_stream *stream = &dice->rx_stream[substream->pcm->device]; in playback_ack()
Ddice-stream.c226 stream = &dice->rx_stream[i]; in keep_dual_resources()
342 stream = dice->rx_stream + i; in start_streams()
401 amdtp_streaming_error(&dice->rx_stream[i])) { in snd_dice_stream_start_duplex()
429 !amdtp_stream_running(&dice->rx_stream[i])) in snd_dice_stream_start_duplex()
499 stream = &dice->rx_stream[index]; in init_stream()
532 stream = &dice->rx_stream[index]; in destroy_stream()
Ddice-midi.c76 amdtp_am824_midi_trigger(&dice->rx_stream[0], in midi_playback_trigger()
79 amdtp_am824_midi_trigger(&dice->rx_stream[0], in midi_playback_trigger()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Drx.c878 struct ar9170_stream *rx_stream; in carl9170_rx_stream() local
885 rx_stream = (void *) tbuf; in carl9170_rx_stream()
886 clen = le16_to_cpu(rx_stream->length); in carl9170_rx_stream()
890 if (rx_stream->tag != cpu_to_le16(AR9170_RX_STREAM_TAG)) { in carl9170_rx_stream()
966 __carl9170_rx(ar, rx_stream->payload, clen); in carl9170_rx_stream()
1009 if (ar->fw.rx_stream) in carl9170_rx()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c423 struct siw_rx_stream *srx = &qp->rx_stream; in siw_proc_send()
542 struct siw_rx_stream *srx = &qp->rx_stream; in siw_proc_write()
633 struct siw_rx_stream *srx = &qp->rx_stream; in siw_proc_rreq()
788 struct siw_rx_stream *srx = &qp->rx_stream; in siw_proc_rresp()
886 struct siw_rx_stream *srx = &qp->rx_stream; in siw_proc_terminate()
900 qp->rx_stream.ddp_msn[RDMAP_UNTAGGED_QN_TERMINATE] || in siw_proc_terminate()
995 crc_in, crc_own, qp->rx_stream.rdmap_op); in siw_get_trailer()
1221 struct siw_rx_stream *srx = &qp->rx_stream; in siw_rdmap_complete()
1360 struct siw_rx_stream *srx = &qp->rx_stream; in siw_tcp_rx_data()
1411 rv = iwarp_pktinfo[qp->rx_stream.rdmap_op].rx_data(qp); in siw_tcp_rx_data()

12