Home
last modified time | relevance | path

Searched +full:0 +full:- +full:127 (Results 1 – 25 of 1037) sorted by relevance

12345678910>>...42

/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Drtw8851b_table.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2022-2023 Realtek Corporation
10 {0x704, 0x601E0500},
11 {0x4000, 0x00000000},
12 {0x4004, 0xCA014000},
13 {0x4008, 0xC751D4F0},
14 {0x400C, 0x44511475},
15 {0x4010, 0x00000000},
16 {0x4014, 0x00000000},
17 {0x47BC, 0x00000380},
[all …]
Drtw8852c_table.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
10 {0xF0FF0000, 0x00000000},
11 {0xF03300FF, 0x00000001},
12 {0xF03400FF, 0x00000002},
13 {0xF03500FF, 0x00000003},
14 {0xF03600FF, 0x00000004},
15 {0x70C, 0x00000020},
16 {0x704, 0x601E0100},
17 {0x4000, 0x00000000},
[all …]
Drtw8852b_table.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
10 {0x704, 0x601E0100},
11 {0x4000, 0x00000000},
12 {0x4004, 0xCA014000},
13 {0x4008, 0xC751D4F0},
14 {0x400C, 0x44511475},
15 {0x4010, 0x00000000},
16 {0x4014, 0x00000000},
17 {0x4018, 0x4F4C084B},
[all …]
/linux-6.12.1/net/mac80211/tests/
Dtpe.c1 // SPDX-License-Identifier: GPL-2.0-only
39 .expect = 0,
47 .expect = 0,
57 .expect = 0,
65 .expect = 0,
73 .expect = 0,
99 .expect = 0,
127 const struct subchan_test_case *params = test->param_value; in subchan_offset()
130 KUNIT_ASSERT_EQ(test, cfg80211_chandef_valid(&params->c), true); in subchan_offset()
132 offset = ieee80211_calc_chandef_subchan_offset(&params->c, params->n); in subchan_offset()
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dsfq.json15 "expExitCode": "0",
17 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024",
36 "expExitCode": "0",
38 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 8p",
57 "expExitCode": "0",
59 "matchPattern": "depth 127 divisor 1024 perturb 10sec",
78 "expExitCode": "0",
80 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024",
99 "expExitCode": "0",
101 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512",
[all …]
/linux-6.12.1/sound/synth/emux/
Demux_nrpn.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
15 /* NRPN / CC -> Emu8000 parameter converter */
24 #define FX_CUTOFF 0
44 for (i = 0; i < num_tables; i++) { in send_converted_effect()
52 return 0; in send_converted_effect()
96 #define fx_env1_delay fx_delay /* [0,5900] 4msec */
97 #define fx_env1_attack fx_attack /* [0,5940] 1msec */
98 #define fx_env1_hold fx_hold /* [0,8191] 1msec */
99 #define fx_env1_decay fx_decay /* [0,5940] 4msec */
[all …]
/linux-6.12.1/drivers/hid/
Dhid-lg3ff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "hid-lg.h"
21 * 0 - seems to be command field
22 * 1 - 30 deal with the x axis
23 * 31 -60 deal with the y axis
31 * 0 0 127 127 makes the joystick autocenter hard
33 * 127 0 127 127 makes the joystick loose on the right,
36 * -127 0 -127 -127 makes the joystick loose on the left,
39 * 0 0 -127 -127 makes the joystick rattle very hard
48 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lg3ff_play()
[all …]
Dhid-udraw-ps3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hid-ids.h"
21 * https://vvvv.org/contribution/udraw-hid
26 * - the touch area which works as a touchpad
27 * - the tablet area which works as a touchpad/drawing tablet
28 * - a joypad with a d-pad, and 7 buttons
29 * - an accelerometer device
66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET)
76 * The device's two-finger support is pretty unreliable, as
95 axis = (axis - accel_limits[offset].min) / in clamp_accel()
[all …]
Dhid-xiaomi.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "hid-ids.h"
18 0x05, 0x01, /* Usage Page (Desktop), */
19 0x09, 0x02, /* Usage (Mouse), */
20 0xA1, 0x01, /* Collection (Application), */
21 0x85, 0x03, /* Report ID (3), */
22 0x09, 0x01, /* Usage (Pointer), */
23 0xA1, 0x00, /* Collection (Physical), */
24 0x05, 0x09, /* Usage Page (Button), */
25 0x19, 0x01, /* Usage Minimum (01h), */
[all …]
/linux-6.12.1/lib/
Dtest-kstrtox.c6 for (i = 0; i < ARRAY_SIZE(test); i++)
35 tmp = 0; \
36 rv = fn(t->str, t->base, &tmp); \
37 if (rv >= 0) { \
38 WARN(1, "str '%s', base %u, expected -E, got %d/" fmt "\n", \
39 t->str, t->base, rv, tmp); \
50 const typeof(test[0]) *t = &test[i]; \
54 rv = fn(t->str, t->base, &res); \
55 if (rv != 0) { \
56 WARN(1, "str '%s', base %u, expected 0/" fmt ", got %d\n", \
[all …]
Dtest_bits.c1 // SPDX-License-Identifier: GPL-2.0+
12 KUNIT_EXPECT_EQ(test, 1ul, GENMASK(0, 0)); in genmask_test()
13 KUNIT_EXPECT_EQ(test, 3ul, GENMASK(1, 0)); in genmask_test()
15 KUNIT_EXPECT_EQ(test, 0xFFFFFFFFul, GENMASK(31, 0)); in genmask_test()
19 GENMASK(0, 1); in genmask_test()
20 GENMASK(0, 10); in genmask_test()
29 KUNIT_EXPECT_EQ(test, 1ull, GENMASK_ULL(0, 0)); in genmask_ull_test()
30 KUNIT_EXPECT_EQ(test, 3ull, GENMASK_ULL(1, 0)); in genmask_ull_test()
31 KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_ULL(39, 21)); in genmask_ull_test()
32 KUNIT_EXPECT_EQ(test, 0xffffffffffffffffull, GENMASK_ULL(63, 0)); in genmask_ull_test()
[all …]
/linux-6.12.1/drivers/iio/amplifiers/
Dada4250.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #define ADA4250_REG_GAIN_MUX 0x00
21 #define ADA4250_REG_REFBUF_EN 0x01
22 #define ADA4250_REG_RESET 0x02
23 #define ADA4250_REG_SNSR_CAL_VAL 0x04
24 #define ADA4250_REG_SNSR_CAL_CNFG 0x05
25 #define ADA4250_REG_DIE_REV 0x18
26 #define ADA4250_REG_CHIP_ID 0x19
29 #define ADA4250_GAIN_MUX_MSK GENMASK(2, 0)
32 #define ADA4250_REFBUF_MSK BIT(0)
[all …]
/linux-6.12.1/arch/arm/boot/dts/nuvoton/
Dnuvoton-npcm750-evb.dts1 // SPDX-License-Identifier: GPL-2.0
5 /dts-v1/;
6 #include "nuvoton-npcm750.dtsi"
7 #include "dt-bindings/gpio/gpio.h"
8 #include "nuvoton-npcm750-pincfg-evb.dtsi"
12 compatible = "nuvoton,npcm750-evb", "nuvoton,npcm750";
45 stdout-path = &serial3;
50 reg = <0x0 0x20000000>;
55 phy-mode = "rgmii-id";
60 phy-mode = "rgmii-id";
[all …]
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-param.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
5 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd.
35 #define FIMC_IS_MAGIC_NUMBER 0x01020304
106 #define FIMC_IS_INT_GENERAL 0
111 #define CONTROL_COMMAND_STOP 0
114 #define CONTROL_BYPASS_DISABLE 0
117 #define CONTROL_ERROR_NONE 0
119 /* OTF (On-The-Fly) input interface commands */
120 #define OTF_INPUT_COMMAND_DISABLE 0
[all …]
/linux-6.12.1/drivers/staging/media/rkvdec/
Drkvdec-h264.c1 // SPDX-License-Identifier: GPL-2.0
9 * Jeffy Chen <jeffy.chen@rock-chips.com>
12 #include <media/v4l2-h264.h>
13 #include <media/v4l2-mem2mem.h>
16 #include "rkvdec-regs.h"
43 #define SEQ_PARAMETER_SET_ID PS_FIELD(0, 4)
122 [0][(ctxidx)] = {idc0_m, idc0_n}, \
133 /* Table 9-12 – Values of variables m and n for ctxIdx from 0 to 10 */
134 CABAC_ENTRY(0, 20, -15, 20, -15, 20, -15, 20, -15),
137 CABAC_ENTRY(3, 20, -15, 20, -15, 20, -15, 20, -15),
[all …]
/linux-6.12.1/drivers/hid/bpf/progs/
DXPPen__ArtistPro16Gen2.bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #define VID_UGEE 0x28BD /* VID is shared with SinoWealth and Glorious and prob others */
11 #define PID_ARTIST_PRO14_GEN2 0x095A
12 #define PID_ARTIST_PRO16_GEN2 0x095B
21 * - the device reports Eraser instead of using Secondary Barrel Switch
22 * - when the eraser button is pressed and the stylus is touching the tablet,
28 0x05, 0x0d, // Usage Page (Digitizers) 0
29 0x09, 0x02, // Usage (Pen) 2
30 0xa1, 0x01, // Collection (Application) 4
31 0x85, 0x07, // Report ID (7) 6
[all …]
/linux-6.12.1/Documentation/driver-api/tty/
Dn_gsm.rst10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip
19 ----------------
32 #. Configure DLCs using ``GSMIOC_GETCONF_DLCI``/``GSMIOC_SETCONF_DLCI`` ioctl for non-defaults.
37 (a good starting point is util-linux-ng/sys-utils/ldattach.c)::
61 write(fd, "AT+CMUX=0\r", 10);
73 /* use keep-alive once every 5s for modem connection supervision */
79 /* we are initiator and need encoding 0 (basic) */
81 c.encapsulation = 0;
82 /* our modem defaults to a maximum size of 127 bytes */
83 c.mru = 127;
[all …]
/linux-6.12.1/drivers/input/mouse/
Damimouse.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2000-2002 Vojtech Pavlik
42 nx = joy0dat & 0xff; in amimouse_interrupt()
45 dx = nx - amimouse_lastx; in amimouse_interrupt()
46 dy = ny - amimouse_lasty; in amimouse_interrupt()
48 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt()
49 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt()
50 if (dy < -127) dy = (256 + ny) - amimouse_lasty; in amimouse_interrupt()
51 if (dy > 127) dy = (ny - 256) - amimouse_lasty; in amimouse_interrupt()
61 input_report_key(dev, BTN_LEFT, ciaa.pra & 0x40); in amimouse_interrupt()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/
Dia_css_ctc_table.host.c1 // SPDX-License-Identifier: GPL-2.0
29 0, 384, 837, 957, 1011, 1062, 1083, 1080,
49 129, 127, 127, 127, 127, 125, 125, 125,
60 25, 23, 24, 20, 13, 9, 12, 0,
61 0
/linux-6.12.1/sound/isa/gus/
Dgus_mixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 int shift = kcontrol->private_value & 0xff; in snd_gf1_get_single()
29 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_get_single()
31 ucontrol->value.integer.value[0] = (gus->mix_cntrl_reg >> shift) & 1; in snd_gf1_get_single()
33 ucontrol->value.integer.value[0] ^= 1; in snd_gf1_get_single()
34 return 0; in snd_gf1_get_single()
41 int shift = kcontrol->private_value & 0xff; in snd_gf1_put_single()
42 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_put_single()
46 nval = ucontrol->value.integer.value[0] & 1; in snd_gf1_put_single()
50 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_put_single()
[all …]
/linux-6.12.1/tools/testing/selftests/hid/tests/
Dtest_mouse.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
18 # workaround https://gitlab.freedesktop.org/libevdev/python-libevdev/issues/6
68 wheel, acpan = 0, 0
71 wheel = wheels[0]
107 0x05, 0x01, # .Usage Page (Generic Desktop) 0
108 0x09, 0x02, # .Usage (Mouse) 2
109 0xa1, 0x01, # .Collection (Application) 4
110 0x09, 0x02, # ..Usage (Mouse) 6
111 0xa1, 0x02, # ..Collection (Logical) 8
[all …]
Dtest_gamepad.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
50 expected_event = libevdev.InputEvent(key, 0)
54 assert evdev.value[key] == 0
70 b1 = uhdev.buttons[0]
89 expected_event = libevdev.InputEvent(key1, 0)
93 assert evdev.value[key1] == 0
98 expected_event = libevdev.InputEvent(key2, 0)
102 assert evdev.value[key1] == 0
103 assert evdev.value[key2] == 0
[all …]
/linux-6.12.1/include/linux/mfd/
Dadp5520.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
20 #define ADP5520_MODE_STATUS 0x00
21 #define ADP5520_INTERRUPT_ENABLE 0x01
22 #define ADP5520_BL_CONTROL 0x02
23 #define ADP5520_BL_TIME 0x03
24 #define ADP5520_BL_FADE 0x04
25 #define ADP5520_DAYLIGHT_MAX 0x05
26 #define ADP5520_DAYLIGHT_DIM 0x06
27 #define ADP5520_OFFICE_MAX 0x07
28 #define ADP5520_OFFICE_DIM 0x08
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Dvecemu.c1 // SPDX-License-Identifier: GPL-2.0
25 0x800000,
26 0x8b95c2,
27 0x9837f0,
28 0xa5fed7,
29 0xb504f3,
30 0xc5672a,
31 0xd744fd,
32 0xeac0c7
36 * Computes an estimate of 2^x. The `s' argument is the 32-bit
[all …]
/linux-6.12.1/lib/xz/
Dxz_lzma2.h1 /* SPDX-License-Identifier: 0BSD */
7 * Igor Pavlov <https://7-zip.org/>
33 * - Literal: One 8-bit byte
34 * - Match: Repeat a chunk of data at some distance
35 * - Long repeat: Multi-byte match at a recently seen distance
36 * - Short repeat: One-byte repeat at a recently seen distance
39 * either short or long repeated match, and NONLIT means any non-literal.
68 *state -= 3; in lzma_state_literal()
70 *state -= 6; in lzma_state_literal()
98 * - 0x001-0x0FF: Without match byte
[all …]

12345678910>>...42