Lines Matching +full:over +full:- +full:sampling
1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include "packets-buffer.h"
13 * enum cip_flags - describes details of the streaming protocol
14 * @CIP_NONBLOCKING: In non-blocking mode, each packet contains
16 * for clock skew and left-over fractional samples. This should
21 * @CIP_EMPTY_WITH_TAG0: Only for in-stream. Empty in-packets have TAG0.
24 * @CIP_WRONG_DBS: Only for in-stream. The value of dbs is wrong in in-packets.
26 * @CIP_SKIP_DBC_ZERO_CHECK: Only for in-stream. Packets with zero in dbc is
28 * @CIP_EMPTY_HAS_WRONG_DBC: Only for in-stream. The value of dbc in empty
30 * @CIP_JUMBO_PAYLOAD: Only for in-stream. The number of data blocks in an
31 * packet is larger than IEC 61883-6 defines. Current implementation
32 * allows 5 times as large as IEC 61883-6 defines.
33 * @CIP_HEADER_WITHOUT_EOH: Only for in-stream. CIP Header doesn't include
51 * enum cip_sfc - supported Sampling Frequency Codes (SFCs)
61 * These values are used to show nominal Sampling Frequency Code in
62 * Format Dependent Field (FDF) of AMDTP packet header. In IEC 61883-6:2002,
67 * In IEC 61883-6:2005, some extensions were added to support more types of
71 * Currently our implementation is compatible with IEC 61883-6:2002.
179 * amdtp_stream_running - check stream is running or not
186 return !IS_ERR(s->context); in amdtp_stream_running()
190 * amdtp_streaming_error - check for streaming error
198 return s->packet_index < 0; in amdtp_streaming_error()
202 * amdtp_stream_pcm_running - check PCM substream is running or not
209 return !!s->pcm; in amdtp_stream_pcm_running()
213 * amdtp_stream_pcm_trigger - start/stop playback from a PCM device
224 WRITE_ONCE(s->pcm, pcm); in amdtp_stream_pcm_trigger()
233 * amdtp_stream_wait_callback - sleep till callbacked or timeout
242 return wait_event_timeout(s->callback_wait, in amdtp_stream_wait_callback()
243 s->callbacked == true, in amdtp_stream_wait_callback()