Home
last modified time | relevance | path

Searched refs:data_blocks (Results 1 – 9 of 9) sorted by relevance

/sound/firewire/motu/
Damdtp-motu-trace.h16 static void copy_sph(u32 *frame, __be32 *buffer, unsigned int data_blocks,
18 static void copy_message(u64 *frames, __be32 *buffer, unsigned int data_blocks,
22 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer),
23 TP_ARGS(s, data_blocks, buffer),
27 __field(unsigned int, data_blocks)
28 __dynamic_array(u32, tstamps, data_blocks)
38 __entry->data_blocks = data_blocks;
39 copy_sph(__get_dynamic_array(tstamps), buffer, data_blocks, s->data_block_quadlets);
45 __entry->data_blocks,
46 __print_array(__get_dynamic_array(tstamps), __entry->data_blocks, 4)
[all …]
Damdtp-motu.c117 __be32 *buffer, unsigned int data_blocks, in read_pcm_s32() argument
136 for (i = 0; i < data_blocks; ++i) { in read_pcm_s32()
153 __be32 *buffer, unsigned int data_blocks, in write_pcm_s32() argument
172 for (i = 0; i < data_blocks; ++i) { in write_pcm_s32()
190 unsigned int data_blocks) in write_pcm_silence() argument
198 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence()
235 unsigned int data_blocks) in write_midi_messages() argument
242 for (i = 0; i < data_blocks; i++) { in write_midi_messages()
261 unsigned int data_blocks) in read_midi_messages() argument
268 for (i = 0; i < data_blocks; i++) { in read_midi_messages()
[all …]
/sound/firewire/digi00x/
Damdtp-dot.c209 unsigned int data_blocks) in write_pcm_silence() argument
217 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence()
249 unsigned int data_blocks, unsigned int data_block_counter) in write_midi_messages() argument
256 for (f = 0; f < data_blocks; f++) { in write_midi_messages()
293 unsigned int data_blocks) in read_midi_messages() argument
299 for (f = 0; f < data_blocks; f++) { in read_midi_messages()
355 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
358 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
359 pcm_frames += data_blocks; in process_ir_ctx_payloads()
362 read_midi_messages(s, buf, data_blocks); in process_ir_ctx_payloads()
[all …]
/sound/firewire/tascam/
Damdtp-tascam.c99 unsigned int data_blocks) in write_pcm_silence() argument
106 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence()
130 __be32 *buffer, unsigned int data_blocks) in read_status_messages() argument
136 for (i = 0; i < data_blocks; i++) { in read_status_messages()
190 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
193 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
194 pcm_frames += data_blocks; in process_ir_ctx_payloads()
197 read_status_messages(s, buf, data_blocks); in process_ir_ctx_payloads()
214 unsigned int data_blocks = desc->data_blocks; in process_it_ctx_payloads() local
217 write_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_it_ctx_payloads()
[all …]
/sound/firewire/fireface/
Damdtp-ff.c126 unsigned int data_blocks = desc->data_blocks; in process_it_ctx_payloads() local
129 write_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_it_ctx_payloads()
130 pcm_frames += data_blocks; in process_it_ctx_payloads()
132 write_pcm_silence(s, buf, data_blocks); in process_it_ctx_payloads()
150 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
153 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
154 pcm_frames += data_blocks; in process_ir_ctx_payloads()
/sound/firewire/
Damdtp-stream-trace.h17 …s, const __be32 *cip_header, unsigned int payload_length, unsigned int data_blocks, unsigned int d…
18 …TP_ARGS(s, cycles, cip_header, payload_length, data_blocks, data_block_counter, packet_index, inde…
27 __field(unsigned int, data_blocks)
49 __entry->data_blocks = data_blocks;
63 __entry->data_blocks,
Damdtp-stream.c346 unsigned int data_blocks; in calculate_data_blocks() local
352 data_blocks = 0; in calculate_data_blocks()
354 data_blocks = syt_interval; in calculate_data_blocks()
359 data_blocks = *data_block_state; in calculate_data_blocks()
373 data_blocks = 5 + ((phase & 1) ^ in calculate_data_blocks()
377 data_blocks = 11 * (sfc >> 1) + (phase == 0); in calculate_data_blocks()
384 return data_blocks; in calculate_data_blocks()
509 unsigned int data_blocks, in build_it_pkt_header() argument
516 payload_length = data_blocks * sizeof(__be32) * s->data_block_quadlets; in build_it_pkt_header()
528 trace_amdtp_packet(s, cycle, cip_header, payload_length, data_blocks, in build_it_pkt_header()
[all …]
Damdtp-am824.c361 unsigned int data_blocks = desc->data_blocks; in process_it_ctx_payloads() local
364 write_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_it_ctx_payloads()
365 pcm_frames += data_blocks * p->frame_multiplier; in process_it_ctx_payloads()
367 write_pcm_silence(s, buf, data_blocks); in process_it_ctx_payloads()
371 write_midi_messages(s, buf, data_blocks, in process_it_ctx_payloads()
391 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
394 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
395 pcm_frames += data_blocks * p->frame_multiplier; in process_ir_ctx_payloads()
399 read_midi_messages(s, buf, data_blocks, in process_ir_ctx_payloads()
Damdtp-stream.h100 unsigned int data_blocks; member
279 unsigned int data_blocks; member