Lines Matching +full:10 +full:- +full:14

1 // SPDX-License-Identifier: GPL-2.0-only
3 * motu-protocol-v3.c - a part of driver for MOTU FireWire series
5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp>
52 return -EIO; in snd_motu_protocol_v3_get_clock_rate()
72 return -EINVAL; in snd_motu_protocol_v3_set_clock_rate()
94 motu->msg = 0; in snd_motu_protocol_v3_set_clock_rate()
95 result = wait_event_interruptible_timeout(motu->hwdep_wait, in snd_motu_protocol_v3_set_clock_rate()
96 motu->msg & V3_MSG_FLAG_CLK_CHANGED, in snd_motu_protocol_v3_set_clock_rate()
101 return -ETIMEDOUT; in snd_motu_protocol_v3_set_clock_rate()
196 motu->tx_packet_formats.pcm_chunks[0] += 4; in detect_packet_formats_with_opt_ifaces()
197 motu->tx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
199 motu->tx_packet_formats.pcm_chunks[0] += 8; in detect_packet_formats_with_opt_ifaces()
200 motu->tx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
206 motu->tx_packet_formats.pcm_chunks[0] += 4; in detect_packet_formats_with_opt_ifaces()
207 motu->tx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
209 motu->tx_packet_formats.pcm_chunks[0] += 8; in detect_packet_formats_with_opt_ifaces()
210 motu->tx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
216 motu->rx_packet_formats.pcm_chunks[0] += 4; in detect_packet_formats_with_opt_ifaces()
217 motu->rx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
219 motu->rx_packet_formats.pcm_chunks[0] += 8; in detect_packet_formats_with_opt_ifaces()
220 motu->rx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
226 motu->rx_packet_formats.pcm_chunks[0] += 4; in detect_packet_formats_with_opt_ifaces()
227 motu->rx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
229 motu->rx_packet_formats.pcm_chunks[0] += 8; in detect_packet_formats_with_opt_ifaces()
230 motu->rx_packet_formats.pcm_chunks[1] += 4; in detect_packet_formats_with_opt_ifaces()
243 motu->tx_packet_formats.pcm_byte_offset = 10; in snd_motu_protocol_v3_cache_packet_formats()
244 motu->rx_packet_formats.pcm_byte_offset = 10; in snd_motu_protocol_v3_cache_packet_formats()
246 motu->tx_packet_formats.msg_chunks = 2; in snd_motu_protocol_v3_cache_packet_formats()
247 motu->rx_packet_formats.msg_chunks = 2; in snd_motu_protocol_v3_cache_packet_formats()
255 memcpy(motu->tx_packet_formats.pcm_chunks, in snd_motu_protocol_v3_cache_packet_formats()
256 motu->spec->tx_fixed_pcm_chunks, in snd_motu_protocol_v3_cache_packet_formats()
257 sizeof(motu->tx_packet_formats.pcm_chunks)); in snd_motu_protocol_v3_cache_packet_formats()
258 memcpy(motu->rx_packet_formats.pcm_chunks, in snd_motu_protocol_v3_cache_packet_formats()
259 motu->spec->rx_fixed_pcm_chunks, in snd_motu_protocol_v3_cache_packet_formats()
260 sizeof(motu->rx_packet_formats.pcm_chunks)); in snd_motu_protocol_v3_cache_packet_formats()
262 if (motu->spec == &snd_motu_spec_828mk3_fw || in snd_motu_protocol_v3_cache_packet_formats()
263 motu->spec == &snd_motu_spec_828mk3_hybrid || in snd_motu_protocol_v3_cache_packet_formats()
264 motu->spec == &snd_motu_spec_896mk3 || in snd_motu_protocol_v3_cache_packet_formats()
265 motu->spec == &snd_motu_spec_traveler_mk3 || in snd_motu_protocol_v3_cache_packet_formats()
266 motu->spec == &snd_motu_spec_track16) in snd_motu_protocol_v3_cache_packet_formats()
278 .tx_fixed_pcm_chunks = {18, 18, 14},
279 .rx_fixed_pcm_chunks = {14, 14, 10},
288 .tx_fixed_pcm_chunks = {18, 18, 14},
289 .rx_fixed_pcm_chunks = {14, 14, 14}, // Additional 4 dummy chunks at higher rate.
296 .tx_fixed_pcm_chunks = {18, 14, 10},
297 .rx_fixed_pcm_chunks = {18, 14, 10},
306 .tx_fixed_pcm_chunks = {18, 14, 10},
307 .rx_fixed_pcm_chunks = {14, 14, 10},
316 .tx_fixed_pcm_chunks = {18, 14, 10},
317 .rx_fixed_pcm_chunks = {14, 14, 14},
326 .tx_fixed_pcm_chunks = {10, 10, 0},
327 .rx_fixed_pcm_chunks = {10, 10, 0},
336 .tx_fixed_pcm_chunks = {14, 14, 14},
344 .tx_fixed_pcm_chunks = {10, 10, 0},
345 .rx_fixed_pcm_chunks = {10, 10, 0},