/openbmc/linux/sound/firewire/fireface/ |
H A D | ff-stream.c | 78 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()
|
H A D | ff-pcm.c | 118 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()
|
/openbmc/linux/sound/firewire/fireworks/ |
H A D | fireworks_stream.c | 136 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()
|
H A D | fireworks_pcm.c | 146 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()
|
H A D | fireworks_midi.c | 72 amdtp_am824_midi_trigger(&efw->rx_stream, in midi_playback_trigger() 75 amdtp_am824_midi_trigger(&efw->rx_stream, in midi_playback_trigger()
|
/openbmc/linux/sound/firewire/digi00x/ |
H A D | digi00x-stream.c | 257 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() 269 destroy_stream(dg00x, &dg00x->rx_stream); in snd_dg00x_stream_init_duplex() 284 destroy_stream(dg00x, &dg00x->rx_stream); in snd_dg00x_stream_destroy_duplex() 313 err = keep_resources(dg00x, &dg00x->rx_stream, rate); in snd_dg00x_stream_reserve_duplex() 344 amdtp_streaming_error(&dg00x->rx_stream)) { in snd_dg00x_stream_start_duplex() 363 if (!amdtp_stream_running(&dg00x->rx_stream)) { in snd_dg00x_stream_start_duplex() 370 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->rx_stream, in snd_dg00x_stream_start_duplex() 419 amdtp_stream_update(&dg00x->rx_stream); in snd_dg00x_stream_update_duplex()
|
H A D | digi00x-pcm.c | 71 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()
|
H A D | digi00x-midi.c | 84 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()
|
/openbmc/linux/sound/firewire/oxfw/ |
H A D | oxfw-stream.c | 108 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 …]
|
H A D | oxfw-pcm.c | 123 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()
|
H A D | oxfw-midi.c | 48 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()
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-stream.c | 36 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()
|
H A D | motu-pcm.c | 110 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()
|
H A D | motu-midi.c | 76 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()
|
/openbmc/linux/sound/firewire/tascam/ |
H A D | tascam-pcm.c | 24 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()
|
H A D | tascam-stream.c | 352 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()
|
/openbmc/linux/sound/firewire/bebob/ |
H A D | bebob_pcm.c | 109 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()
|
H A D | bebob_stream.c | 411 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()
|
H A D | bebob_midi.c | 72 amdtp_am824_midi_trigger(&bebob->rx_stream, in midi_playback_trigger() 75 amdtp_am824_midi_trigger(&bebob->rx_stream, in midi_playback_trigger()
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-pcm.c | 142 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()
|
H A D | dice-stream.c | 226 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()
|
H A D | dice-midi.c | 76 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()
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 878 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()
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_qp_rx.c | 423 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()
|
H A D | siw_qp.c | 107 if (likely(!qp->rx_stream.rx_suspend && in siw_qp_llp_data_ready() 123 qp->rx_stream.rx_suspend); in siw_qp_llp_data_ready() 136 qp->rx_stream.rx_suspend = 1; in siw_qp_llp_close() 231 struct siw_rx_stream *c_rx = &qp->rx_stream; in siw_qp_enable_crc() 397 struct siw_rx_stream *srx = &qp->rx_stream; in siw_send_terminate() 670 qp->rx_stream.ddp_msn[RDMAP_UNTAGGED_QN_SEND] = 1; in siw_qp_nextstate_from_idle() 671 qp->rx_stream.ddp_msn[RDMAP_UNTAGGED_QN_RDMA_READ] = 1; in siw_qp_nextstate_from_idle() 672 qp->rx_stream.ddp_msn[RDMAP_UNTAGGED_QN_TERMINATE] = 1; in siw_qp_nextstate_from_idle()
|