Home
last modified time | relevance | path

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

12345678910>>...44

/Linux-v6.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 …]
Demux_synth.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
21 * macro evaluates its args more than once, so changed to upper-case.
23 …efine LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (0)
24 #define LIMITMAX(x, a) do {if ((x) > (a)) (x) = (a); } while (0)
59 emu = port->emu; in snd_emux_note_on()
60 if (snd_BUG_ON(!emu || !emu->ops.get_voice || !emu->ops.trigger)) in snd_emux_note_on()
69 for (i = 0; i < nvoices; i++) { in snd_emux_note_on()
71 if (zp && zp->v.exclusiveClass) in snd_emux_note_on()
72 exclusive_note_off(emu, port, zp->v.exclusiveClass); in snd_emux_note_on()
[all …]
/Linux-v6.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dsfq.json16 "expExitCode": "0",
18 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024",
39 "expExitCode": "0",
41 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 8p",
62 "expExitCode": "0",
64 "matchPattern": "depth 127 divisor 1024 perturb 10sec",
85 "expExitCode": "0",
87 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024",
108 "expExitCode": "0",
110 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512",
[all …]
/Linux-v6.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
52 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-v6.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 …]
/Linux-v6.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-v6.1/drivers/net/wireless/realtek/rtw89/
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 {0x70C, 0x00000020},
14 {0x704, 0x601E0100},
15 {0x4000, 0x00000000},
16 {0x4004, 0xCA014000},
17 {0x4008, 0xC751D4F0},
[all …]
/Linux-v6.1/Documentation/driver-api/tty/
Dn_gsm.rst10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip
19 ----------------
33 (a good starting point is util-linux-ng/sys-utils/ldattach.c)::
55 write(fd, "AT+CMUX=0\r", 10);
67 /* we are initiator and need encoding 0 (basic) */
69 c.encapsulation = 0;
70 /* our modem defaults to a maximum size of 127 bytes */
71 c.mru = 127;
72 c.mtu = 127;
80 daemon(0,0);
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.1/lib/xz/
Dxz_lzma2.h5 * Igor Pavlov <https://7-zip.org/>
34 * - Literal: One 8-bit byte
35 * - Match: Repeat a chunk of data at some distance
36 * - Long repeat: Multi-byte match at a recently seen distance
37 * - Short repeat: One-byte repeat at a recently seen distance
40 * either short or long repeated match, and NONLIT means any non-literal.
69 *state -= 3; in lzma_state_literal()
71 *state -= 6; in lzma_state_literal()
99 * - 0x001-0x0FF: Without match byte
100 * - 0x101-0x1FF: With match byte; match bit is 0
[all …]
/Linux-v6.1/drivers/net/wireless/ath/wcn36xx/
Dfirmware.c1 // SPDX-License-Identifier: GPL-2.0-only
86 if (cap < 0 || cap > 127) { in wcn36xx_firmware_set_feat_caps()
101 if (cap < 0 || cap > 127) { in wcn36xx_firmware_get_feat_caps()
103 return -EINVAL; in wcn36xx_firmware_get_feat_caps()
109 return (bitmap[arr_idx] & (1 << bit_idx)) ? 1 : 0; in wcn36xx_firmware_get_feat_caps()
117 if (cap < 0 || cap > 127) { in wcn36xx_firmware_clear_feat_caps()
/Linux-v6.1/Documentation/translations/zh_CN/admin-guide/
Dcputopology.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: ../disclaimer-zh_CN.rst
4 :Original: Documentation/admin-guide/cputopology.rst
16 Documentation/ABI/stable/sysfs-devices-system-cpu。
21 对于支持这个特性的体系结构,它必须在include/asm-XXX/topology.h中定义这些宏中的一部分::
42 它们未在include/asm-XXX/topology.h中定义:
44 1) topology_physical_package_id: -1
45 2) topology_die_id: -1
46 3) topology_cluster_id: -1
47 4) topology_core_id: 0
[all …]
/Linux-v6.1/arch/x86/crypto/
Dpolyval-clmulni_asm.S1 /* SPDX-License-Identifier: GPL-2.0 */
6 * This is an efficient implementation of POLYVAL using intel PCLMULQDQ-NI
16 * modulus g(x) = x^128 + x^127 + x^126 + x^121 + 1.
20 * two-step process only requires 1 finite field reduction for every 8
49 .quad 0xc200000000000000, 0xc200000000000000
54 * Performs schoolbook1_iteration on two lists of 128-bit polynomials of length
58 .set i, 0
60 schoolbook1_iteration i 0
66 * Computes the product of two 128-bit polynomials at the memory locations
68 * the 256-bit product into LO, MI, HI.
[all …]
/Linux-v6.1/arch/csky/abiv1/inc/abi/
Dvdso.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 /* movi r1, 127; addi r1, (139 - 127) */
7 #define SET_SYSCALL_ID .long 0x20b167f1
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_tables.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 .matrix = {141, 18, 68, -40, -5, -19, 35, 4, 16},
34 .matrix = {255, 29, 120, 0, 374, 342, 0, 672, -301},
40 .matrix = {255, 29, 120, 0, 0, 0, 0, 0, 0},
46 8192, 0, 0, 8192,
47 8192, 0, 0, 8192,
48 8192, 0, 0, 8192,
49 8192, 0, 0, 8192,
50 7168, 0, 2048, 8192,
51 5120, -1024, 2048, 8192,
[all …]
/Linux-v6.1/tools/testing/selftests/net/af_unix/
Dtest_unix_oob.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 int flags = fcntl(fd, F_GETFL, 0); in set_filemode()
73 int ans = -1; in is_sioctatmark()
75 if (ioctl(fd, SIOCATMARK, &ans, sizeof(ans)) < 0) { in is_sioctatmark()
87 if (recv(fd, c, sizeof(*c), MSG_OOB) < 0) { in read_oob()
96 int len = 0; in read_data()
98 memset(buf, size, '0'); in read_data()
101 if (len < 0) in read_data()
111 pfds[0].fd = pfd; in wait_for_data()
112 pfds[0].events = event; in wait_for_data()
[all …]

12345678910>>...44