Home
last modified time | relevance | path

Searched refs:amdtp_stream (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/sound/firewire/
Damdtp-stream.h94 struct amdtp_stream;
96 struct amdtp_stream *s,
100 struct amdtp_stream { struct
140 struct amdtp_stream *sync_slave; argument
147 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, argument
152 void amdtp_stream_destroy(struct amdtp_stream *s);
154 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate,
156 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s);
158 int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed);
159 void amdtp_stream_update(struct amdtp_stream *s);
[all …]
Damdtp-am824.h30 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate,
35 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index,
38 void amdtp_am824_set_midi_position(struct amdtp_stream *s,
41 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s,
44 void amdtp_am824_set_pcm_format(struct amdtp_stream *s,
47 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port,
50 int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit,
Damdtp-am824.c41 void (*transfer_samples)(struct amdtp_stream *s,
60 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_am824_set_parameters()
129 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, in amdtp_am824_set_pcm_position()
145 void amdtp_am824_set_midi_position(struct amdtp_stream *s, in amdtp_am824_set_midi_position()
154 static void write_pcm_s32(struct amdtp_stream *s, in write_pcm_s32()
180 static void write_pcm_s16(struct amdtp_stream *s, in write_pcm_s16()
206 static void read_pcm_s32(struct amdtp_stream *s, in read_pcm_s32()
231 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
253 void amdtp_am824_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format) in amdtp_am824_set_pcm_format()
287 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_am824_add_pcm_hw_constraints()
[all …]
Damdtp-stream.c67 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
103 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
138 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
192 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
225 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
242 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
251 static unsigned int calculate_data_blocks(struct amdtp_stream *s, in calculate_data_blocks()
295 static unsigned int calculate_syt(struct amdtp_stream *s, in calculate_syt()
338 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
359 struct amdtp_stream *s = (void *)data; in pcm_period_tasklet()
[all …]
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x.h40 struct amdtp_stream tx_stream;
43 struct amdtp_stream rx_stream;
114 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
116 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate,
118 void amdtp_dot_reset(struct amdtp_stream *s);
119 int amdtp_dot_add_pcm_hw_constraints(struct amdtp_stream *s,
121 void amdtp_dot_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format);
122 void amdtp_dot_midi_trigger(struct amdtp_stream *s, unsigned int port,
Damdtp-dot.c51 void (*transfer_samples)(struct amdtp_stream *s,
117 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_dot_set_parameters()
154 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
180 static void write_pcm_s16(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s16()
206 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
231 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
247 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
263 static inline void midi_use_bytes(struct amdtp_stream *s, in midi_use_bytes()
271 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
303 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
[all …]
Ddigi00x-pcm.c82 struct amdtp_stream *s; in pcm_init_hw_params()
/linux-4.4.14/sound/firewire/tascam/
Damdtp-tascam.c18 void (*transfer_samples)(struct amdtp_stream *s,
23 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate) in amdtp_tscm_set_parameters()
40 static void write_pcm_s32(struct amdtp_stream *s, in write_pcm_s32()
65 static void write_pcm_s16(struct amdtp_stream *s, in write_pcm_s16()
90 static void read_pcm_s32(struct amdtp_stream *s, in read_pcm_s32()
118 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
133 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_tscm_add_pcm_hw_constraints()
149 void amdtp_tscm_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format) in amdtp_tscm_set_pcm_format()
176 static unsigned int process_tx_data_blocks(struct amdtp_stream *s, in process_tx_data_blocks()
193 static unsigned int process_rx_data_blocks(struct amdtp_stream *s, in process_rx_data_blocks()
[all …]
Dtascam.h59 struct amdtp_stream tx_stream;
60 struct amdtp_stream rx_stream;
115 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit,
117 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate);
118 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s,
120 void amdtp_tscm_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format);
Dtascam-pcm.c41 struct amdtp_stream *stream; in pcm_init_hw_params()
/linux-4.4.14/sound/firewire/oxfw/
Doxfw.h59 struct amdtp_stream tx_stream;
60 struct amdtp_stream rx_stream;
111 struct amdtp_stream *stream);
113 struct amdtp_stream *stream,
116 struct amdtp_stream *stream);
118 struct amdtp_stream *stream);
120 struct amdtp_stream *stream);
Doxfw-stream.c58 static int set_stream_format(struct snd_oxfw *oxfw, struct amdtp_stream *s, in set_stream_format()
104 static void stop_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) in stop_stream()
115 static int start_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream, in start_stream()
186 struct amdtp_stream *stream) in check_connection_used_by_others()
210 struct amdtp_stream *stream) in snd_oxfw_stream_init_simplex()
255 struct amdtp_stream *stream, in snd_oxfw_stream_start_simplex()
258 struct amdtp_stream *opposite; in snd_oxfw_stream_start_simplex()
344 struct amdtp_stream *stream) in snd_oxfw_stream_stop_simplex()
358 struct amdtp_stream *stream) in snd_oxfw_stream_destroy_simplex()
372 struct amdtp_stream *stream) in snd_oxfw_stream_update_simplex()
Doxfw-pcm.c126 struct amdtp_stream *stream; in init_hw_params()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_stream.c13 init_stream(struct snd_efw *efw, struct amdtp_stream *stream) in init_stream()
44 stop_stream(struct snd_efw *efw, struct amdtp_stream *stream) in stop_stream()
56 start_stream(struct snd_efw *efw, struct amdtp_stream *stream, in start_stream()
110 destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream) in destroy_stream()
141 check_connection_used_by_others(struct snd_efw *efw, struct amdtp_stream *s) in check_connection_used_by_others()
211 struct amdtp_stream *master, *slave; in snd_efw_stream_start_duplex()
295 struct amdtp_stream *master, *slave; in snd_efw_stream_stop_duplex()
Dfireworks.h84 struct amdtp_stream *master;
85 struct amdtp_stream tx_stream;
86 struct amdtp_stream rx_stream;
Dfireworks_pcm.c150 struct amdtp_stream *s; in pcm_init_hw_params()
/linux-4.4.14/sound/firewire/dice/
Ddice-stream.c87 static void stop_stream(struct snd_dice *dice, struct amdtp_stream *stream) in stop_stream()
98 static int start_stream(struct snd_dice *dice, struct amdtp_stream *stream, in start_stream()
195 struct amdtp_stream *master, *slave; in snd_dice_stream_start_duplex()
290 static int init_stream(struct snd_dice *dice, struct amdtp_stream *stream) in init_stream()
322 static void destroy_stream(struct snd_dice *dice, struct amdtp_stream *stream) in destroy_stream()
Ddice.h73 struct amdtp_stream tx_stream;
74 struct amdtp_stream rx_stream;
Ddice-pcm.c124 struct amdtp_stream *stream; in init_hw_info()
/linux-4.4.14/sound/firewire/bebob/
Dbebob.h95 struct amdtp_stream *master;
96 struct amdtp_stream tx_stream;
97 struct amdtp_stream rx_stream;
Dbebob_stream.c257 map_data_channels(struct snd_bebob *bebob, struct amdtp_stream *s) in map_data_channels()
398 check_connection_used_by_others(struct snd_bebob *bebob, struct amdtp_stream *s) in check_connection_used_by_others()
511 start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream, in start_stream()
588 struct amdtp_stream *master, *slave; in snd_bebob_stream_start_duplex()
750 struct amdtp_stream *master, *slave; in snd_bebob_stream_stop_duplex()
Dbebob_pcm.c113 struct amdtp_stream *s; in pcm_init_hw_params()