Searched refs:data_blocks (Results 1 – 5 of 5) sorted by relevance
/sound/firewire/ |
D | amdtp-stream.c | 254 unsigned int phase, data_blocks; in calculate_data_blocks() local 260 data_blocks = 0; in calculate_data_blocks() 262 data_blocks = s->syt_interval; in calculate_data_blocks() 267 data_blocks = s->data_block_state; in calculate_data_blocks() 281 data_blocks = 5 + ((phase & 1) ^ in calculate_data_blocks() 285 data_blocks = 11 * (s->sfc >> 1) + (phase == 0); in calculate_data_blocks() 292 return data_blocks; in calculate_data_blocks() 407 static int handle_out_packet(struct amdtp_stream *s, unsigned int data_blocks, in handle_out_packet() argument 416 pcm_frames = s->process_data_blocks(s, buffer + 2, data_blocks, &syt); in handle_out_packet() 426 s->data_block_counter = (s->data_block_counter + data_blocks) & 0xff; in handle_out_packet() [all …]
|
D | amdtp-am824.c | 403 unsigned int data_blocks, unsigned int *syt) in process_rx_data_blocks() argument 410 p->transfer_samples(s, pcm, buffer, data_blocks); in process_rx_data_blocks() 411 pcm_frames = data_blocks * p->frame_multiplier; in process_rx_data_blocks() 413 write_pcm_silence(s, buffer, data_blocks); in process_rx_data_blocks() 418 write_midi_messages(s, buffer, data_blocks); in process_rx_data_blocks() 424 unsigned int data_blocks, unsigned int *syt) in process_tx_data_blocks() argument 431 p->transfer_samples(s, pcm, buffer, data_blocks); in process_tx_data_blocks() 432 pcm_frames = data_blocks * p->frame_multiplier; in process_tx_data_blocks() 438 read_midi_messages(s, buffer, data_blocks); in process_tx_data_blocks()
|
D | amdtp-stream.h | 98 unsigned int data_blocks,
|
/sound/firewire/digi00x/ |
D | amdtp-dot.c | 228 unsigned int data_blocks) in write_pcm_silence() argument 236 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence() 268 unsigned int data_blocks) in write_midi_messages() argument 275 for (f = 0; f < data_blocks; f++) { in write_midi_messages() 312 unsigned int data_blocks) in read_midi_messages() argument 318 for (f = 0; f < data_blocks; f++) { in read_midi_messages() 392 unsigned int data_blocks, in process_tx_data_blocks() argument 401 p->transfer_samples(s, pcm, buffer, data_blocks); in process_tx_data_blocks() 402 pcm_frames = data_blocks; in process_tx_data_blocks() 407 read_midi_messages(s, buffer, data_blocks); in process_tx_data_blocks() [all …]
|
/sound/firewire/tascam/ |
D | amdtp-tascam.c | 119 unsigned int data_blocks) in write_pcm_silence() argument 126 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence() 178 unsigned int data_blocks, in process_tx_data_blocks() argument 185 if (data_blocks > 0 && pcm) in process_tx_data_blocks() 186 p->transfer_samples(s, pcm, buffer, data_blocks); in process_tx_data_blocks() 190 return data_blocks; in process_tx_data_blocks() 195 unsigned int data_blocks, in process_rx_data_blocks() argument 206 p->transfer_samples(s, pcm, buffer, data_blocks); in process_rx_data_blocks() 208 write_pcm_silence(s, buffer, data_blocks); in process_rx_data_blocks() 210 return data_blocks; in process_rx_data_blocks()
|