/Linux-v4.19/sound/firewire/fireworks/ |
D | fireworks_stream.c | 20 if (stream == &efw->tx_stream) { in init_stream() 49 if (stream == &efw->tx_stream) in stop_stream() 66 if (stream == &efw->tx_stream) { in start_stream() 114 if (stream == &efw->tx_stream) in destroy_stream() 130 if (s == &efw->tx_stream) in check_connection_used_by_others() 151 err = init_stream(efw, &efw->tx_stream); in snd_efw_stream_init_duplex() 155 efw->tx_stream.flags |= CIP_EMPTY_WITH_TAG0; in snd_efw_stream_init_duplex() 157 efw->tx_stream.flags |= CIP_DBC_IS_END_EVENT; in snd_efw_stream_init_duplex() 159 efw->tx_stream.flags |= CIP_SKIP_DBC_ZERO_CHECK; in snd_efw_stream_init_duplex() 168 efw->tx_stream.tx_first_dbc = 0x02; in snd_efw_stream_init_duplex() [all …]
|
D | fireworks_pcm.c | 143 s = &efw->tx_stream; in pcm_init_hw_params() 198 amdtp_stream_pcm_running(&efw->tx_stream) || in pcm_open() 298 amdtp_stream_pcm_prepare(&efw->tx_stream); in pcm_capture_prepare() 321 amdtp_stream_pcm_trigger(&efw->tx_stream, substream); in pcm_capture_trigger() 324 amdtp_stream_pcm_trigger(&efw->tx_stream, NULL); in pcm_capture_trigger() 353 return amdtp_stream_pcm_pointer(&efw->tx_stream); in pcm_capture_pointer() 365 return amdtp_stream_pcm_ack(&efw->tx_stream); in pcm_capture_ack()
|
D | fireworks_midi.c | 84 amdtp_am824_midi_trigger(&efw->tx_stream, in midi_capture_trigger() 87 amdtp_am824_midi_trigger(&efw->tx_stream, in midi_capture_trigger()
|
/Linux-v4.19/sound/firewire/fireface/ |
D | ff-stream.c | 44 err = amdtp_ff_set_parameters(&ff->tx_stream, rate, in keep_resources() 50 amdtp_stream_get_max_payload(&ff->tx_stream), in keep_resources() 90 stream = &ff->tx_stream; in init_stream() 110 amdtp_stream_destroy(&ff->tx_stream); in destroy_stream() 156 amdtp_streaming_error(&ff->tx_stream) || in snd_ff_stream_start_duplex() 160 amdtp_stream_stop(&ff->tx_stream); in snd_ff_stream_start_duplex() 196 if (!amdtp_stream_running(&ff->tx_stream)) { in snd_ff_stream_start_duplex() 197 err = amdtp_stream_start(&ff->tx_stream, in snd_ff_stream_start_duplex() 203 if (!amdtp_stream_wait_callback(&ff->tx_stream, in snd_ff_stream_start_duplex() 212 amdtp_stream_stop(&ff->tx_stream); in snd_ff_stream_start_duplex() [all …]
|
D | ff-pcm.c | 104 s = &ff->tx_stream; in pcm_init_hw_params() 166 amdtp_stream_pcm_running(&ff->tx_stream)) { in pcm_open() 273 amdtp_stream_pcm_prepare(&ff->tx_stream); in pcm_capture_prepare() 303 amdtp_stream_pcm_trigger(&ff->tx_stream, substream); in pcm_capture_trigger() 306 amdtp_stream_pcm_trigger(&ff->tx_stream, NULL); in pcm_capture_trigger() 337 return amdtp_stream_pcm_pointer(&ff->tx_stream); in pcm_capture_pointer() 351 return amdtp_stream_pcm_ack(&ff->tx_stream); in pcm_capture_ack()
|
/Linux-v4.19/sound/firewire/digi00x/ |
D | digi00x-stream.c | 212 err = amdtp_dot_set_parameters(&dg00x->tx_stream, rate, in keep_resources() 217 amdtp_stream_get_max_payload(&dg00x->tx_stream), in keep_resources() 253 err = amdtp_dot_init(&dg00x->tx_stream, dg00x->unit, AMDTP_IN_STREAM); in snd_dg00x_stream_init_duplex() 272 amdtp_stream_destroy(&dg00x->tx_stream); in snd_dg00x_stream_destroy_duplex() 291 amdtp_streaming_error(&dg00x->tx_stream) || in snd_dg00x_stream_start_duplex() 295 amdtp_stream_stop(&dg00x->tx_stream); in snd_dg00x_stream_start_duplex() 334 if (!amdtp_stream_running(&dg00x->tx_stream)) { in snd_dg00x_stream_start_duplex() 335 err = amdtp_stream_start(&dg00x->tx_stream, in snd_dg00x_stream_start_duplex() 341 if (!amdtp_stream_wait_callback(&dg00x->tx_stream, in snd_dg00x_stream_start_duplex() 352 amdtp_stream_stop(&dg00x->tx_stream); in snd_dg00x_stream_start_duplex() [all …]
|
D | digi00x-pcm.c | 69 s = &dg00x->tx_stream; in pcm_init_hw_params() 133 amdtp_stream_pcm_running(&dg00x->tx_stream)) { in pcm_open() 240 amdtp_stream_pcm_prepare(&dg00x->tx_stream); in pcm_capture_prepare() 272 amdtp_stream_pcm_trigger(&dg00x->tx_stream, substream); in pcm_capture_trigger() 275 amdtp_stream_pcm_trigger(&dg00x->tx_stream, NULL); in pcm_capture_trigger() 306 return amdtp_stream_pcm_pointer(&dg00x->tx_stream); in pcm_capture_pointer() 320 return amdtp_stream_pcm_ack(&dg00x->tx_stream); in pcm_capture_ack()
|
D | digi00x-midi.c | 58 amdtp_dot_midi_trigger(&dg00x->tx_stream, port, substream); in midi_capture_trigger() 60 amdtp_dot_midi_trigger(&dg00x->tx_stream, port, NULL); in midi_capture_trigger()
|
/Linux-v4.19/sound/firewire/tascam/ |
D | tascam-stream.c | 264 err = amdtp_tscm_set_parameters(&tscm->tx_stream, rate); in keep_resources() 268 amdtp_stream_get_max_payload(&tscm->tx_stream), in keep_resources() 341 err = amdtp_tscm_init(&tscm->tx_stream, tscm->unit, AMDTP_IN_STREAM, in snd_tscm_stream_init_duplex() 352 amdtp_stream_pcm_abort(&tscm->tx_stream); in snd_tscm_stream_update_duplex() 353 amdtp_stream_stop(&tscm->tx_stream); in snd_tscm_stream_update_duplex() 366 amdtp_stream_destroy(&tscm->tx_stream); in snd_tscm_stream_destroy_duplex() 385 amdtp_streaming_error(&tscm->tx_stream)) { in snd_tscm_stream_start_duplex() 389 amdtp_stream_stop(&tscm->tx_stream); in snd_tscm_stream_start_duplex() 420 if (!amdtp_stream_running(&tscm->tx_stream)) { in snd_tscm_stream_start_duplex() 421 err = amdtp_stream_start(&tscm->tx_stream, in snd_tscm_stream_start_duplex() [all …]
|
D | tascam-pcm.c | 21 stream = &tscm->tx_stream; in pcm_init_hw_params() 62 amdtp_stream_pcm_running(&tscm->tx_stream)) { in pcm_open() 169 amdtp_stream_pcm_prepare(&tscm->tx_stream); in pcm_capture_prepare() 199 amdtp_stream_pcm_trigger(&tscm->tx_stream, substream); in pcm_capture_trigger() 202 amdtp_stream_pcm_trigger(&tscm->tx_stream, NULL); in pcm_capture_trigger() 233 return amdtp_stream_pcm_pointer(&tscm->tx_stream); in pcm_capture_pointer() 247 return amdtp_stream_pcm_ack(&tscm->tx_stream); in pcm_capture_ack()
|
/Linux-v4.19/sound/firewire/bebob/ |
D | bebob_stream.c | 274 if (s == &bebob->tx_stream) in map_data_channels() 404 if (s == &bebob->tx_stream) in check_connection_used_by_others() 435 err = amdtp_am824_set_parameters(&bebob->tx_stream, rate, in make_both_connections() 451 amdtp_stream_get_max_payload(&bebob->tx_stream)); in make_both_connections() 521 err = amdtp_am824_init(&bebob->tx_stream, bebob->unit, in snd_bebob_stream_init_duplex() 524 amdtp_stream_destroy(&bebob->tx_stream); in snd_bebob_stream_init_duplex() 536 bebob->tx_stream.flags |= CIP_EMPTY_HAS_WRONG_DBC | in snd_bebob_stream_init_duplex() 545 bebob->tx_stream.flags |= CIP_EMPTY_HAS_WRONG_DBC; in snd_bebob_stream_init_duplex() 550 amdtp_stream_destroy(&bebob->tx_stream); in snd_bebob_stream_init_duplex() 584 if (amdtp_streaming_error(&bebob->tx_stream)) in snd_bebob_stream_start_duplex() [all …]
|
D | bebob_pcm.c | 106 s = &bebob->tx_stream; in pcm_init_hw_params() 159 amdtp_stream_pcm_running(&bebob->tx_stream) || in pcm_open() 269 amdtp_stream_pcm_prepare(&bebob->tx_stream); in pcm_capture_prepare() 294 amdtp_stream_pcm_trigger(&bebob->tx_stream, substream); in pcm_capture_trigger() 297 amdtp_stream_pcm_trigger(&bebob->tx_stream, NULL); in pcm_capture_trigger() 328 return amdtp_stream_pcm_pointer(&bebob->tx_stream); in pcm_capture_pointer() 341 return amdtp_stream_pcm_ack(&bebob->tx_stream); in pcm_capture_ack()
|
D | bebob_midi.c | 83 amdtp_am824_midi_trigger(&bebob->tx_stream, in midi_capture_trigger() 86 amdtp_am824_midi_trigger(&bebob->tx_stream, in midi_capture_trigger()
|
/Linux-v4.19/sound/firewire/motu/ |
D | motu-stream.c | 52 err = amdtp_motu_set_parameters(&motu->tx_stream, rate, midi_ports, in start_both_streams() 65 amdtp_stream_get_max_payload(&motu->tx_stream), in start_both_streams() 215 amdtp_streaming_error(&motu->tx_stream)) { in snd_motu_stream_start_duplex() 217 amdtp_stream_stop(&motu->tx_stream); in snd_motu_stream_start_duplex() 236 amdtp_stream_stop(&motu->tx_stream); in snd_motu_stream_start_duplex() 274 if (!amdtp_stream_running(&motu->tx_stream) && in snd_motu_stream_start_duplex() 276 err = start_isoc_ctx(motu, &motu->tx_stream); in snd_motu_stream_start_duplex() 295 if (amdtp_stream_running(&motu->tx_stream)) in snd_motu_stream_stop_duplex() 296 stop_isoc_ctx(motu, &motu->tx_stream); in snd_motu_stream_stop_duplex() 313 stream = &motu->tx_stream; in init_stream() [all …]
|
D | motu-pcm.c | 110 stream = &motu->tx_stream; in init_hw_info() 164 amdtp_stream_pcm_running(&motu->tx_stream) || in pcm_open() 273 amdtp_stream_pcm_prepare(&motu->tx_stream); in capture_prepare() 297 amdtp_stream_pcm_trigger(&motu->tx_stream, substream); in capture_trigger() 300 amdtp_stream_pcm_trigger(&motu->tx_stream, NULL); in capture_trigger() 330 return amdtp_stream_pcm_pointer(&motu->tx_stream); in capture_pointer() 343 return amdtp_stream_pcm_ack(&motu->tx_stream); in capture_ack()
|
D | motu-midi.c | 92 amdtp_motu_midi_trigger(&motu->tx_stream, substrm->number, in midi_capture_trigger() 95 amdtp_motu_midi_trigger(&motu->tx_stream, substrm->number, in midi_capture_trigger()
|
/Linux-v4.19/drivers/isdn/hardware/eicon/ |
D | istream.c | 84 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 86 (void *)(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 99 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write() 101 (void *)(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write() 119 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 121 (void *)(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write()
|
/Linux-v4.19/sound/firewire/oxfw/ |
D | oxfw-stream.c | 67 if (s == &oxfw->tx_stream) { in set_stream_format() 109 if (stream == &oxfw->tx_stream) in stop_stream() 192 if (stream == &oxfw->tx_stream) in check_connection_used_by_others() 217 if (stream == &oxfw->tx_stream) { in snd_oxfw_stream_init_simplex() 244 if (stream == &oxfw->tx_stream) { in snd_oxfw_stream_init_simplex() 245 oxfw->tx_stream.flags |= CIP_JUMBO_PAYLOAD; in snd_oxfw_stream_init_simplex() 247 oxfw->tx_stream.flags |= CIP_WRONG_DBS; in snd_oxfw_stream_init_simplex() 263 if (stream == &oxfw->tx_stream) { in snd_oxfw_stream_start_simplex() 345 if (((stream == &oxfw->tx_stream) && (oxfw->capture_substreams > 0)) || in snd_oxfw_stream_stop_simplex() 361 if (stream == &oxfw->tx_stream) in snd_oxfw_stream_destroy_simplex() [all …]
|
D | oxfw-pcm.c | 119 stream = &oxfw->tx_stream; in init_hw_params() 187 if (amdtp_stream_pcm_running(&oxfw->tx_stream) || in pcm_open() 258 snd_oxfw_stream_stop_simplex(oxfw, &oxfw->tx_stream); in pcm_capture_hw_free() 287 err = snd_oxfw_stream_start_simplex(oxfw, &oxfw->tx_stream, in pcm_capture_prepare() 293 amdtp_stream_pcm_prepare(&oxfw->tx_stream); in pcm_capture_prepare() 330 amdtp_stream_pcm_trigger(&oxfw->tx_stream, pcm); in pcm_capture_trigger() 356 return amdtp_stream_pcm_pointer(&oxfw->tx_stream); in pcm_capture_pointer() 369 return amdtp_stream_pcm_ack(&oxfw->tx_stream); in pcm_capture_ack()
|
D | oxfw-midi.c | 23 err = snd_oxfw_stream_start_simplex(oxfw, &oxfw->tx_stream, 0, 0); in midi_capture_open() 62 snd_oxfw_stream_stop_simplex(oxfw, &oxfw->tx_stream); in midi_capture_close() 93 amdtp_am824_midi_trigger(&oxfw->tx_stream, in midi_capture_trigger() 96 amdtp_am824_midi_trigger(&oxfw->tx_stream, in midi_capture_trigger()
|
D | oxfw.c | 122 snd_oxfw_stream_destroy_simplex(oxfw, &oxfw->tx_stream); in oxfw_free() 238 err = snd_oxfw_stream_init_simplex(oxfw, &oxfw->tx_stream); in do_registration() 273 snd_oxfw_stream_destroy_simplex(oxfw, &oxfw->tx_stream); in do_registration() 329 snd_oxfw_stream_update_simplex(oxfw, &oxfw->tx_stream); in oxfw_bus_reset()
|
/Linux-v4.19/sound/firewire/dice/ |
D | dice-stream.c | 144 if (amdtp_stream_running(&dice->tx_stream[i])) { in release_resources() 145 amdtp_stream_pcm_abort(&dice->tx_stream[i]); in release_resources() 146 amdtp_stream_stop(&dice->tx_stream[i]); in release_resources() 190 stream = &dice->tx_stream[index]; in keep_resources() 245 streams = dice->tx_stream; in start_streams() 364 !amdtp_stream_wait_callback(&dice->tx_stream[i], in start_duplex_streams() 412 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() 470 stream = &dice->tx_stream[index]; in init_stream() 503 stream = &dice->tx_stream[index]; in destroy_stream()
|
D | dice-pcm.c | 139 stream = &dice->tx_stream[index]; in init_hw_info() 204 amdtp_stream_pcm_running(&dice->tx_stream[0]) || in pcm_open() 205 amdtp_stream_pcm_running(&dice->tx_stream[1]) || in pcm_open() 308 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_prepare() 337 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_trigger() 374 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_pointer() 389 struct amdtp_stream *stream = &dice->tx_stream[substream->pcm->device]; in capture_ack()
|
D | dice-midi.c | 55 amdtp_am824_midi_trigger(&dice->tx_stream[0], in midi_capture_trigger() 58 amdtp_am824_midi_trigger(&dice->tx_stream[0], in midi_capture_trigger()
|
/Linux-v4.19/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 716 struct ar9170_stream *tx_stream; in carl9170_usb_tx() local 727 if (ar->fw.tx_stream) { in carl9170_usb_tx() 728 tx_stream = (void *) (skb->data - sizeof(*tx_stream)); in carl9170_usb_tx() 730 len = skb->len + sizeof(*tx_stream); in carl9170_usb_tx() 731 tx_stream->length = cpu_to_le16(len); in carl9170_usb_tx() 732 tx_stream->tag = cpu_to_le16(AR9170_TX_STREAM_TAG); in carl9170_usb_tx() 733 data = tx_stream; in carl9170_usb_tx()
|