Home
last modified time | relevance | path

Searched +full:left +full:- +full:right (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/Linux-v6.1/include/kunit/
Dtest.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <kunit/try-catch.h>
43 * sub-subtest. See the "Subtests" section in
44 * https://node-tap.org/tap-protocol/
50 * enum kunit_status - Type of result for a test or test suite
62 * struct kunit_case - represents an individual test case.
81 * .. code-block:: c
87 * KUNIT_EXPECT_EQ(test, 0, add(-1, 1));
89 * KUNIT_EXPECT_EQ(test, -1, add(INT_MAX, INT_MIN));
121 * KUNIT_CASE - A helper for creating a &struct kunit_case
[all …]
/Linux-v6.1/scripts/kconfig/
Dexpr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
21 e->type = E_SYMBOL; in expr_alloc_symbol()
22 e->left.sym = sym; in expr_alloc_symbol()
29 e->type = type; in expr_alloc_one()
30 e->left.expr = ce; in expr_alloc_one()
37 e->type = type; in expr_alloc_two()
38 e->left.expr = e1; in expr_alloc_two()
39 e->right.expr = e2; in expr_alloc_two()
46 e->type = type; in expr_alloc_comp()
[all …]
/Linux-v6.1/sound/soc/sunxi/
Dsun50i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
10 * Based on sun8i-codec-analog.c
23 #include <sound/soc-dapm.h>
26 #include "sun8i-adda-pr-regmap.h"
172 -450, 150, 0);
178 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1);
182 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0),
187 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0),
197 /* Mixer pre-gain */
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dpixfmt-y8i.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Y8I:
10 Interleaved grey-scale image, e.g. from a stereo-pair
16 This is a grey-scale image with a depth of 8 bits per pixel, but with
17 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit
18 word. E.g. the R200 RealSense camera stores pixel from the left sensor
19 in lower and from the right sensor in the higher 8 bits.
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
[all …]
/Linux-v6.1/sound/soc/codecs/
Des8328.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * es8328.c -- ES8328 ALSA SoC Audio driver
5 * Copyright 2014 Sutajio Ko-Usagi PTE LTD
100 static const DECLARE_TLV_DB_SCALE(play_tlv, -3000, 100, 0);
101 static const DECLARE_TLV_DB_SCALE(dac_adc_tlv, -9600, 50, 0);
102 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0);
124 if (es8328->deemph) { in es8328_set_deemph()
127 if (abs(deemph_settings[i].rate - es8328->playback_fs) < in es8328_set_deemph()
128 abs(deemph_settings[best].rate - es8328->playback_fs)) in es8328_set_deemph()
137 dev_dbg(component->dev, "Set deemphasis %d\n", val); in es8328_set_deemph()
[all …]
Dwm8971.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8971.c -- WM8971 ALSA SoC Audio driver
95 static const char *wm8971_alc_func[] = { "Off", "Right", "Left", "Stereo" };
99 static const char *wm8971_mono_mux[] = {"Stereo", "Mono (Left)",
100 "Mono (Right)", "Digital Mono"};
142 SOC_DOUBLE_R("Bypass Left Playback Volume", WM8971_LOUTM1,
144 SOC_DOUBLE_R("Bypass Right Playback Volume", WM8971_ROUTM1,
159 SOC_ENUM("Treble Cut-off", wm8971_enum[2]),
180 SOC_ENUM("Playback De-emphasis", wm8971_enum[5]),
191 /* Left Mixer */
[all …]
Dwm8750.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8750.c -- WM8750 ALSA SoC audio driver
97 static const char *wm8750_alc_func[] = {"Off", "Right", "Left", "Stereo"};
110 static const char *wm8750_mono_mux[] = {"Stereo", "Mono (Left)",
111 "Mono (Right)", "Digital Mono"};
145 SOC_ENUM("Playback De-emphasis", wm8750_enum[15]),
158 SOC_ENUM("Treble Cut-off", wm8750_enum[2]),
162 SOC_ENUM("3D Lower Cut-off", wm8750_enum[3]),
163 SOC_ENUM("3D Upper Cut-off", wm8750_enum[4]),
177 SOC_SINGLE("Left ADC Capture Volume", WM8750_LADC, 0, 255, 0),
[all …]
Dtlv320aic3x.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * ---------------------------------------
17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A
18 * | IN1L -> LINE1L
19 * | IN1R -> LINE1R
20 * | IN2L -> LINE2L
21 * | IN2R -> LINE2R
22 * | MIC3L/R -> N/A
25 * ---------------------------------------
88 /* Output Common-Mode Voltage */
[all …]
Dda9055.c1 // SPDX-License-Identifier: GPL-2.0-or-later
59 /* Input - Gain, Select and Filter Registers */
72 /* Output - Gain, Select and Filter Registers */
289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0),
290 /* -54dB to 15dB */
291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0)
296 /* -78dB to 12dB */
297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0)
306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0);
307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0);
[all …]
Dwm8988.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8988.c -- WM8988 ALSA SoC audio driver
149 static const char *alc_func_txt[] = {"Off", "Right", "Left", "Stereo"};
167 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0);
168 static const DECLARE_TLV_DB_SCALE(adc_tlv, -9750, 50, 1);
169 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1);
170 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1);
171 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0);
180 SOC_ENUM("Treble Cut-off", treble),
184 SOC_ENUM("3D Lower Cut-off", stereo_3d_lc),
[all …]
Dadau1761.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2011-2013 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1);
126 static const DECLARE_TLV_DB_SCALE(adau1761_diff_in_tlv, -1200, 75, 0);
127 static const DECLARE_TLV_DB_SCALE(adau1761_out_tlv, -5700, 100, 0);
128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1);
129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1);
130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1);
132 static const DECLARE_TLV_DB_SCALE(adau1761_alc_max_gain_tlv, -1200, 600, 0);
[all …]
Dda7213.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 /* -54dB */
34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0),
35 /* -52.5dB to 15dB */
36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0)
41 /* -78dB to 12dB */
42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0)
51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0);
52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0);
53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0);
[all …]
Dda7210.c1 // SPDX-License-Identifier: GPL-2.0+
259 * min : 0x11 (-54.0 dB)
261 * reserved : 0x00 - 0x0F
267 /* -54 dB to +15 dB */
268 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0)
273 /* -54dB to 15dB */
274 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0)
278 0x0, 0x2, TLV_DB_SCALE_ITEM(-1800, 0, 1),
279 /* -18dB to 6dB */
280 0x3, 0x7, TLV_DB_SCALE_ITEM(-1800, 600, 0)
[all …]
Dwm9713.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9713.c -- ALSA Soc WM9713 codec support
5 * Copyright 2006-10 Wolfson Microelectronics PLC.
8 * Features:-
47 static const char *wm9713_rec_mux[] = {"Stereo", "Left", "Right", "Mute"};
52 static const char *wm9713_alc_select[] = {"None", "Left", "Right", "Stereo"};
62 {"Off", "Mono", "Speaker", "Left Headphone", "Right Headphone",
73 SOC_ENUM_SINGLE(AC97_VIDEO, 3, 8, wm9713_rec_src), /* record mux left 3 */
74 SOC_ENUM_SINGLE(AC97_VIDEO, 0, 8, wm9713_rec_src), /* record mux right 4*/
78 SOC_ENUM_SINGLE(AC97_REC_GAIN, 11, 8, wm9713_spk_pga), /* speaker left input select 8 */
[all …]
/Linux-v6.1/include/linux/
Duidgid.h1 /* SPDX-License-Identifier: GPL-2.0 */
58 #define INVALID_UID KUIDT_INIT(-1)
59 #define INVALID_GID KGIDT_INIT(-1)
61 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() argument
63 return __kuid_val(left) == __kuid_val(right); in uid_eq()
66 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() argument
68 return __kgid_val(left) == __kgid_val(right); in gid_eq()
71 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() argument
73 return __kuid_val(left) > __kuid_val(right); in uid_gt()
76 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() argument
[all …]
/Linux-v6.1/arch/x86/crypto/
Ddes3_ede-asm_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * des3_ede-asm_64.S - x86-64 assembly implementation of 3DES cipher
10 .file "des3_ede-asm_64.S"
68 * 1-way 3DES
92 #define initial_permutation(left, right) \ argument
93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \
94 do_permutation(left##d, right##d, 16, 0x0000ffff); \
95 do_permutation(right##d, left##d, 2, 0x33333333); \
96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \
98 movl left##d, RW0d; \
[all …]
/Linux-v6.1/drivers/md/persistent-data/
Ddm-btree-remove.c7 #include "dm-btree.h"
8 #include "dm-btree-internal.h"
9 #include "dm-transaction-manager.h"
12 #include <linux/device-mapper.h>
28 * Each node may have a left or right sibling. When decending the spine,
35 * [B] No left sibling
36 * ==> rebalance(node, right sibling)
38 * [C] No right sibling
39 * ==> rebalance(left sibling, node)
41 * [D] Both siblings, total_entries(left, node, right) <= DEL_THRESHOLD
[all …]
/Linux-v6.1/arch/parisc/math-emu/
Dsfsub.c1 // 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>
42 register unsigned int left, right, result, extent; in sgl_fsub() local
50 left = *leftptr; in sgl_fsub()
51 right = *rightptr; in sgl_fsub()
55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub()
60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub()
62 if (Sgl_iszero_mantissa(left)) in sgl_fsub()
[all …]
Dsfadd.c1 // 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>
42 register unsigned int left, right, result, extent; in sgl_fadd() local
52 left = *leftptr; in sgl_fadd()
53 right = *rightptr; in sgl_fadd()
57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd()
62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd()
64 if (Sgl_iszero_mantissa(left)) in sgl_fadd()
[all …]
Dsfcmp.c1 // 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>
42 register unsigned int left, right; in sgl_fcmp() local
46 left = *leftptr; in sgl_fcmp()
47 right = *rightptr; in sgl_fcmp()
52 if( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp()
53 || (Sgl_exponent(right) == SGL_INFINITY_EXPONENT) ) in sgl_fcmp()
58 if( ( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp()
[all …]
/Linux-v6.1/fs/quota/
Dkqid.c1 // SPDX-License-Identifier: GPL-2.0
7 * qid_eq - Test to see if to kquid values are the same
8 * @left: A qid value
9 * @right: Another quid value
13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() argument
15 if (left.type != right.type) in qid_eq()
17 switch(left.type) { in qid_eq()
19 return uid_eq(left.uid, right.uid); in qid_eq()
21 return gid_eq(left.gid, right.gid); in qid_eq()
23 return projid_eq(left.projid, right.projid); in qid_eq()
[all …]
/Linux-v6.1/Documentation/sound/cards/
Daudigy-mixer.rst5 This is based on sb-live-mixer.rst.
20 functionality. Only the default build-in code in the ALSA driver is described
34 one-way three wire serial bus for digital sound by Philips Semiconductors
42 FX-bus
48 ----------------------------------------
49 This control is used to attenuate samples for left and right front PCM FX-bus
50 accumulators. ALSA uses accumulators 8 and 9 for left and right front PCM
55 -------------------------------------------
56 This control is used to attenuate samples for left and right surround PCM FX-bus
57 accumulators. ALSA uses accumulators 2 and 3 for left and right surround PCM
[all …]
/Linux-v6.1/sound/soc/meson/
Dt9015.c1 // SPDX-License-Identifier: GPL-2.0
57 struct snd_soc_component *component = dai->component; in t9015_dai_set_fmt()
70 return -EINVAL; in t9015_dai_set_fmt()
77 return -EINVAL; in t9015_dai_set_fmt()
87 .name = "t9015-hifi",
101 static const DECLARE_TLV_DB_MINMAX_MUTE(dac_vol_tlv, -9525, 0);
107 static const char * const dacr_in_txt[] = { "Right", "Left" };
110 static const char * const dacl_in_txt[] = { "Left", "Right" };
131 SOC_DAPM_ENUM("Right DAC Source", dacr_in_enum);
133 SOC_DAPM_ENUM("Left DAC Source", dacl_in_enum);
[all …]
/Linux-v6.1/tools/perf/util/
Dsort.c1 // SPDX-License-Identifier: GPL-2.0
25 #include <traceevent/event-parse.h>
26 #include "mem-events.h"
29 #include "time-utils.h"
55 * -t, --field-separator
81 return size - 1; in repsep_snprintf()
90 return -1; in cmp_null()
95 /* --sort pid */
98 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument
100 return right->thread->tid - left->thread->tid; in sort__thread_cmp()
[all …]
/Linux-v6.1/drivers/video/fbdev/core/
Dsysfillrect.c21 * Aligned pattern fill using 32/64-bit memory accesses
48 n -= bits - dst_idx; in bitfill_aligned()
64 * Unaligned generic pattern fill using 32/64-bit memory accesses
65 * The pattern must have been expanded to a full 32/64-bit value
66 * Left/right are the appropriate shifts to convert to the pattern to be
67 * used for the next 32/64-bit word
72 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument
93 pat = pat << left | pat >> right; in bitfill_unaligned()
94 n -= bits - dst_idx; in bitfill_unaligned()
101 pat = pat << left | pat >> right; in bitfill_unaligned()
[all …]

12345678910>>...46