| /linux/include/sound/ | 
| H A D | cs8427.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */14 #define CS8427_REG_AUTOINC	0x80	/* flag - autoincrement */
 34 #define CS8427_REG_QSUBCODE	0x14	/* 0x14-0x1d (10 bytes) */
 63 #define CS8427_AESBP		(1<<5)	/* AES3 hardware bypass mode, 0 = normal, 1 = bypass (RX->TX) */
 65 #define CS8427_TXDSERIAL	(1<<3)	/* TXD - serial audio input port */
 66 #define CS8427_TXAES3DRECEIVER	(2<<3)	/* TXD - AES3 receiver */
 68 #define CS8427_SPDSERIAL	(1<<1)	/* SPD - serial audio input port */
 69 #define CS8427_SPDAES3RECEIVER	(2<<1)	/* SPD - AES3 receiver */
 88 #define CS8427_SIRESMASK	(3<<4)	/* Resolution of the input data for right justified formats */
 89 #define CS8427_SIRES24		(0<<4)	/* SIRES 24-bit */
 [all …]
 
 | 
| H A D | ak4117.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */27 #define AK4117_REG_QSUB_ADDR	0x11	/* Q-subcode address + control */
 28 #define AK4117_REG_QSUB_TRACK	0x12	/* Q-subcode track */
 29 #define AK4117_REG_QSUB_INDEX	0x13	/* Q-subcode index */
 30 #define AK4117_REG_QSUB_MINUTE	0x14	/* Q-subcode minute */
 31 #define AK4117_REG_QSUB_SECOND	0x15	/* Q-subcode second */
 32 #define AK4117_REG_QSUB_FRAME	0x16	/* Q-subcode frame */
 33 #define AK4117_REG_QSUB_ZERO	0x17	/* Q-subcode zero */
 34 #define AK4117_REG_QSUB_ABSMIN	0x18	/* Q-subcode absolute minute */
 35 #define AK4117_REG_QSUB_ABSSEC	0x19	/* Q-subcode absolute second */
 [all …]
 
 | 
| H A D | ak4114.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */33 #define AK4114_REG_QSUB_ADDR	0x16	/* Q-subcode address + control */
 34 #define AK4114_REG_QSUB_TRACK	0x17	/* Q-subcode track */
 35 #define AK4114_REG_QSUB_INDEX	0x18	/* Q-subcode index */
 36 #define AK4114_REG_QSUB_MINUTE	0x19	/* Q-subcode minute */
 37 #define AK4114_REG_QSUB_SECOND	0x1a	/* Q-subcode second */
 38 #define AK4114_REG_QSUB_FRAME	0x1b	/* Q-subcode frame */
 39 #define AK4114_REG_QSUB_ZERO	0x1c	/* Q-subcode zero */
 40 #define AK4114_REG_QSUB_ABSMIN	0x1d	/* Q-subcode absolute minute */
 41 #define AK4114_REG_QSUB_ABSSEC	0x1e	/* Q-subcode absolute second */
 [all …]
 
 | 
| H A D | ak4113.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */50 /* Q-subcode address + control */
 52 /* Q-subcode track */
 54 /* Q-subcode index */
 56 /* Q-subcode minute */
 58 /* Q-subcode second */
 60 /* Q-subcode frame */
 62 /* Q-subcode zero */
 64 /* Q-subcode absolute minute */
 66 /* Q-subcode absolute second */
 [all …]
 
 | 
| H A D | soc-dai.h | 1 /* SPDX-License-Identifier: GPL-2.03  * 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 -> CON
 [all...]
 | 
| /linux/Documentation/devicetree/bindings/sound/ | 
| H A D | fsl,ssi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Shengjiu Wang <shengjiu.wang@nxp.com>
 13   Notes on fsl,playback-dma and fsl,capture-dma
 14   On SOCs that have an SSI, specific DMA channels are hard-wired for playback
 18   DMA controller to use, but the channels themselves are hard-wired.  The
 22   "fsl,playback-dma" and "fsl,capture-dma" must be marked as compatible with
 23   "fsl,ssi-dma-channel".  The SOC-specific compatible string (e.g.
 24   "fsl,mpc8610-dma-channel") can remain.  If these nodes are left as
 [all …]
 
 | 
| H A D | nvidia,tegra20-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-i2s.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 12   Justified Mode, Right Justified Mode, and DSP mode formats.
 15   - Thierry Reding <treding@nvidia.com>
 16   - Jon Hunter <jonathanh@nvidia.com>
 20     const: nvidia,tegra20-i2s
 28   reset-names:
 40   dma-names:
 [all …]
 
 | 
| H A D | richtek,rt9123.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - ChiYuan Huang <cy_huang@richtek.com>
 13   RT9123 is a 3.2W mono Class-D audio amplifier that features high efficiency
 14   and performance with ultra-low quiescent current. The digital audio interface
 15   support various formats, including I2S, left-justified, right-justified, and
 18   RTQ9124 is an ultra-low output noise, digital input, mono-channel Class-D
 20   both DC and AC load diagnostics, as well as real-time load monitoring to
 25   - $ref: dai-common.yaml#
 [all …]
 
 | 
| H A D | cirrus,ep9301-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/sound/cirrus,ep9301-i2s.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 11   I2S CODECs’, ADCs/DACs, and the ARM Core. The controller supports I2S, Left-
 12   and Right-Justified DSP formats.
 15   - Alexander Sverdlin <alexander.sverdlin@gmail.com>
 18   - $ref: dai-common.yaml#
 22     const: cirrus,ep9301-i2s
 24   '#sound-dai-cells':
 [all …]
 
 | 
| H A D | ti,tlv320aic3x.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause4 ---
 6 $schema: http://devicetree.org/meta-schemas/core.yaml#
 11   TLV320AIC3x are a series of low-power stereo audio codecs with stereo
 13   single-ended or fully differential configurations.
 16   data bus is programmable for I2S, left/right-justified, DSP, or TDM modes.
 44   - Jai Luthra <j-luthra@ti.com>
 49       - ti,tlv320aic3x
 50       - ti,tlv320aic33
 51       - ti,tlv320aic3007
 [all …]
 
 | 
| /linux/Documentation/sound/soc/ | 
| H A D | dai.rst | 28 left/right clock (LRC) synchronise the link. I2S is flexible in that either the35 I2S has several different operating modes:-
 41 Left Justified
 44 Right Justified
 58 Common PCM operating modes:-
 
 | 
| /linux/sound/soc/codecs/ | 
| H A D | tlv320aic26.h | 1 /* SPDX-License-Identifier: GPL-2.0 */79 	AIC26_DATFM_RIGHTJ	= 2 << 8, /* right justified */
 80 	AIC26_DATFM_LEFTJ	= 3 << 8, /* left justified */
 
 | 
| /linux/drivers/gpu/drm/i915/ | 
| H A D | TODO.txt | 2 -----------------4 - For discrete memory manager, merge enough dg1 to be able to refactor it to
 8 - Come up with a plan what to do with drm/scheduler and how to get there.
 10 - Roll out dma_fence critical section annotations.
 12 - There's a lot of complexity added past few years to make relocations faster.
 15   1. Land a modern pre-bound uapi like VM_BIND
 16   2. Any complexity added in this area past few years which can't be justified
 23 - i915_sw_fence seems to be the main structure for the i915-gem dma_fence model.
 24   How-to-dma_fence is core and drivers really shouldn't build their own world
 27   removed if dri-devel consensus is that it's not a good idea. Once that's done
 [all …]
 
 | 
| /linux/include/sound/sof/ | 
| H A D | dai.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */13 #include <sound/sof/dai-intel.h>
 14 #include <sound/sof/dai-imx.h>
 15 #include <sound/sof/dai-amd.h>
 16 #include <sound/sof/dai-mediatek.h>
 25 #define SOF_DAI_FMT_RIGHT_J	2 /**< Right Justified mode */
 26 #define SOF_DAI_FMT_LEFT_J	3 /**< Left Justified mode */
 98 	uint32_t type;		/**< DAI type - enum sof_ipc_dai_type */
 
 | 
| /linux/arch/parisc/math-emu/ | 
| H A D | fpbits.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */3  * Linux/PA-RISC Project (http://www.parisc-linux.org/)
 5  * Floating-point emulation code
 6  *  Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org>
 10     PA header file -- do not include this header file for non-PA builds.
 18  *  and bitfield assignment (default left-to-right,  unlike VAX, PDP-11)
 20  *  the C compiler "-D" flag (e.g., -DHOSTWDSZ=36 -DBITFLR for the DEC-20).
 22  *  is a 32-bit integer (right-justified on the 20) and that bit 0 is the
 33 /*-------------------------------------------------------------------------
 34  * NewDeclareBitField_Reference - Declare a structure similar to the simulator
 [all …]
 
 | 
| /linux/sound/soc/meson/ | 
| H A D | axg-tdmout.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)10 #include <sound/soc-dai.h>
 12 #include "axg-tdm-formatter.h"
 62 		if (!p->connect)  in axg_tdmout_get_be()
 65 		if (p->sink->id == snd_soc_dapm_dai_in)  in axg_tdmout_get_be()
 66 			return (struct snd_soc_dai *)p->sink->priv;  in axg_tdmout_get_be()
 68 		be = axg_tdmout_get_be(p->sink);  in axg_tdmout_get_be()
 113 	unsigned int val, skew = quirks->skew_offset;  in axg_tdmout_prepare()
 116 	switch (ts->iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK) {  in axg_tdmout_prepare()
 128 		       ts->iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK);  in axg_tdmout_prepare()
 [all …]
 
 | 
| H A D | axg-toddr.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)15 #include <sound/soc-dai.h>
 17 #include "axg-fifo.h"
 43 	regmap_update_bits(fifo->map, FIFO_CTRL1,  in g12a_toddr_dai_prepare()
 45 	regmap_update_bits(fifo->map, FIFO_CTRL1,  in g12a_toddr_dai_prepare()
 47 	regmap_update_bits(fifo->map, FIFO_CTRL1,  in g12a_toddr_dai_prepare()
 65 		type = 2; /* 4 samples of 16 bits - right justified */  in axg_toddr_dai_hw_params()
 68 		type = 4; /* 2 samples of 32 bits - right justified */  in axg_toddr_dai_hw_params()
 71 		return -EINVAL;  in axg_toddr_dai_hw_params()
 76 	regmap_update_bits(fifo->map, FIFO_CTRL0,  in axg_toddr_dai_hw_params()
 [all …]
 
 | 
| H A D | axg-spdifout.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)11 #include <sound/soc-dai.h>
 97 		axg_spdifout_enable(priv->map);  in axg_spdifout_trigger()
 103 		axg_spdifout_disable(priv->map);  in axg_spdifout_trigger()
 107 		return -EINVAL;  in axg_spdifout_trigger()
 116 	regmap_update_bits(priv->map, SPDIFOUT_CTRL0, SPDIFOUT_CTRL0_VSET,  in axg_spdifout_mute()
 137 		dev_err(dai->dev, "too many channels for spdif dai: %u\n",  in axg_spdifout_sample_fmt()
 139 		return -EINVAL;  in axg_spdifout_sample_fmt()
 142 	regmap_update_bits(priv->map, SPDIFOUT_CTRL0,  in axg_spdifout_sample_fmt()
 152 		/* 4 samples of 16 bits - right justified */  in axg_spdifout_sample_fmt()
 [all …]
 
 | 
| /linux/arch/s390/include/uapi/asm/ | 
| H A D | zcrypt.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */3  *  include/asm-s390/zcrypt.h
 5  *  zcrypt 2.2.1 (user-visible header)
 32  * - outputdatalength is at least as large as inputdatalength.
 33  * - All key parts are right justified in their fields, padded on
 35  * - length(b_key) = inputdatalength
 36  * - length(n_modulus) = inputdatalength
 51  * - inputdatalength is even.
 52  * - outputdatalength is at least as large as inputdatalength.
 53  * - All key parts are right justified in their fields, padded on
 [all …]
 
 | 
| /linux/tools/perf/trace/beauty/include/uapi/sound/ | 
| H A D | asound.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */3  *  Advanced Linux Sound Architecture - ALSA - Driver
 4  *  Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
 5  *                             Abramo Bagnara <abramo@alsa-project.org>
 54  *        CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort		    *
 63 	unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
 68  *      Section for driver hardware dependent interface - /dev/snd/hw?      *
 91 	SNDRV_HWDEP_IFACE_HDA,		/* HD-audio */
 118 	unsigned int version;		/* R: driver-specific version */
 119 	unsigned char id[32];		/* R: driver-specific ID string */
 [all …]
 
 | 
| /linux/tools/include/uapi/sound/ | 
| H A D | asound.h |  | 
| /linux/include/uapi/sound/ | 
| H A D | asoc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */3  * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
 38 /* individual kcontrol info types - can be mixed with other types */
 49 /* individual widget kcontrol info types - can be mixed with other types */
 56 /* DAPM widget types - add new items to the end */
 116 /* vendor block IDs - please add new vendor types to end */
 151 #define SND_SOC_DAI_FORMAT_RIGHT_J      2 /* Right Justified mode */
 152 #define SND_SOC_DAI_FORMAT_LEFT_J       3 /* Left Justified mode */
 158 /* left and right justified also known as MSB and LSB respectively */
 269 	__le32 id;	/* ID maps to Left, Right, LFE etc */
 [all …]
 
 | 
| /linux/Documentation/process/ | 
| H A D | 4.Coding.rst | 3 Getting the code right6 While there is much to be said for a solid and community-oriented design
 14 will shift toward doing things right and the tools which can help in that
 19 ---------
 25 :ref:`Documentation/process/coding-style.rst <codingstyle>`.  For much of
 38 strangely-formatted code.
 43 giving up a degree of control in a number of ways - including control over
 49 as a way of getting their name into the kernel changelogs - or both.  But
 59 80-column limit, for example), just do it.
 61 Note that you can also use the ``clang-format`` tool to help you with
 [all …]
 
 | 
| /linux/Documentation/maintainer/ | 
| H A D | rebasing-and-merging.rst | 1 .. SPDX-License-Identifier: GPL-2.08 Git source-code management system.  Git is a powerful tool with a lot of
 9 features; as is often the case with such tools, there are right and wrong
 30  - Changing the parent (starting) commit upon which a series of patches is
 36  - Changing the history of a set of patches by fixing (or deleting) broken
 48  - History that has been exposed to the world beyond your private system
 54    That said, there are always exceptions.  Some trees (linux-next being
 61  - Do not rebase a branch that contains history created by others.  If you
 67  - Do not reparent a tree without a good reason to do so.  Just being on a
 71  - If you must reparent a repository, do not pick some random kernel commit
 [all …]
 
 | 
| /linux/sound/pcmcia/pdaudiocf/ | 
| H A D | pdaudiocf.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */31 #define PDAUDIOCF_TESTDATASEL	(1<<1)	/* test data selection, 0 = 0x55, 1 = pseudo-random */
 43 #define PDAUDIOCF_DATAFMT0	(1<<10)	/* data format bits: 00 = 16-bit, 01 = 18-bit */
 44 #define PDAUDIOCF_DATAFMT1	(1<<11)	/* 10 = 20-bit, 11 = 24-bit, all right justified */
 108 	outw(chip->regmap[reg>>1] = val, chip->port + reg);  in pdacf_reg_write()
 113 	return inw(chip->port + reg);  in pdacf_reg_read()
 
 |