Lines Matching +full:msb +full:- +full:justified

1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dai.h -- ALSA SoC Layer
5 * Copyright: 2005-2008 Wolfson Microelectronics. PLC.
35 /* left and right justified also known as MSB and LSB respectively */
66 * define GATED -> CONT. GATED will be selected if both are selected.
82 * - "normal" polarity means signal is available at rising edge of BCLK
83 * - "inverted" polarity means signal is available at falling edge of BCLK
86 * - I2S: frame consists of left then right channel data. Left channel starts
88 * - Left/Right Justified: frame consists of left then right channel data.
91 * - DSP A/B: Frame starts with rising FSYNC edge.
92 * - AC97: Frame starts with rising FSYNC edge.
228 snd_soc_dai_action(dai, stream, -1);
313 * DAI digital mute - optional.
314 * Called by soc-core to minimise any pops.
319 * ALSA PCM audio operations - all optional.
320 * Called by soc-core during audio PCM operations.
359 /* probe ordering - for components with runtime dependencies */
449 /* Symmetry data - only valid if symmetry is being enforced */
476 &dai->driver->playback : &dai->driver->capture;
484 return dai->stream[stream].widget;
492 dai->stream[stream].widget = widget;
497 #define snd_soc_dai_get_dma_data(dai, ss) snd_soc_dai_dma_data_get(dai, ss->stream)
500 return dai->stream[stream].dma_data;
505 #define snd_soc_dai_set_dma_data(dai, ss, data) snd_soc_dai_dma_data_set(dai, ss->stream, data)
508 dai->stream[stream].dma_data = data;
520 return dai->stream[stream].tdm_mask;
526 dai->stream[stream].tdm_mask = tdm_mask;
533 return dai->stream[stream].active;
539 dev_set_drvdata(dai->dev, data);
544 return dev_get_drvdata(dai->dev);
548 * snd_soc_dai_set_stream() - Configures a DAI for stream operation
562 if (dai->driver->ops->set_stream)
563 return dai->driver->ops->set_stream(dai, stream, direction);
565 return -ENOTSUPP;
569 * snd_soc_dai_get_stream() - Retrieves stream from DAI
577 * ERR_PTR(-ENOTSUPP) if callback is not supported;
582 if (dai->driver->ops->get_stream)
583 return dai->driver->ops->get_stream(dai, direction);
585 return ERR_PTR(-ENOTSUPP);