Home
last modified time | relevance | path

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

12345678910>>...42

/Linux-v5.10/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-v5.10/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 …]
/Linux-v5.10/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-v5.10/drivers/media/platform/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-v5.10/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)
124 [0][(ctxidx)] = {idc0_m, idc0_n}, \
135 /* Table 9-12 – Values of variables m and n for ctxIdx from 0 to 10 */
136 CABAC_ENTRY(0, 20, -15, 20, -15, 20, -15, 20, -15),
139 CABAC_ENTRY(3, 20, -15, 20, -15, 20, -15, 20, -15),
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/drivers/net/wireless/realtek/rtw88/
Drtw8822c_table.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
16 0x80000015, 0x00000000, 0x40000000, 0x00000000,
17 0x1D90, 0x300001FF,
18 0x1D90, 0x300101FE,
19 0x1D90, 0x300201FD,
20 0x1D90, 0x300301FC,
21 0x1D90, 0x300401FB,
22 0x1D90, 0x300501FA,
23 0x1D90, 0x300601F9,
[all …]
/Linux-v5.10/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-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_register.h3 * Copyright (c) 2015-2016 Intel Corporation. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
38 #define I40E_GLGEN_STAT 0x000B612C /* Reset: POR */
40 #define I40E_PFHMC_PDINV 0x000C0300 /* Reset: PFR */
41 #define I40E_PFHMC_PDINV_PMSDIDX_SHIFT 0
42 #define I40E_PFHMC_PDINV_PMSDIDX_MASK (0xFFF << I40E_PFHMC_PDINV_PMSDIDX_SHIFT)
44 #define I40E_PFHMC_PDINV_PMPDIDX_MASK (0x1FF << I40E_PFHMC_PDINV_PMPDIDX_SHIFT)
46 #define I40E_PFHMC_SDCMD_PMSDWR_MASK (0x1 << I40E_PFHMC_SDCMD_PMSDWR_SHIFT)
47 #define I40E_PFHMC_SDDATALOW_PMSDVALID_SHIFT 0
[all …]
/Linux-v5.10/arch/csky/abiv1/inc/abi/
Dvdso.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 int err = 0; in setup_vdso_page()
9 /* movi r1, 127 */ in setup_vdso_page()
10 err |= __put_user(0x67f1, ptr + 0); in setup_vdso_page()
11 /* addi r1, (139 - 127) */ in setup_vdso_page()
12 err |= __put_user(0x20b1, ptr + 1); in setup_vdso_page()
13 /* trap 0 */ in setup_vdso_page()
14 err |= __put_user(0x0008, ptr + 2); in setup_vdso_page()
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/arch/mips/include/asm/mips-boards/
Dmaltaint.h14 * Interrupts 0..15 are used for Malta ISA compatible interrupts
16 #define MALTA_INT_BASE 0
19 #define MIPSCPU_INT_SW0 0
33 * Interrupts 96..127 are used for Soc-it Classic interrupts
37 /* SOC-it Classic interrupt offsets */
38 #define MSC01C_INT_TMR 0
42 * Interrupts 96..127 are used for Soc-it EIC interrupts
46 /* SOC-it EIC interrupt offsets */
/Linux-v5.10/Documentation/driver-api/serial/
Dn_gsm.rst8 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip
14 -------------
24 (a good starting point is util-linux-ng/sys-utils/ldattach.c)::
45 write(fd, "AT+CMUX=0\r", 10);
57 /* we are initiator and need encoding 0 (basic) */
59 c.encapsulation = 0;
60 /* our modem defaults to a maximum size of 127 bytes */
61 c.mru = 127;
62 c.mtu = 127;
70 daemon(0,0);
[all …]
/Linux-v5.10/Documentation/hwmon/
Dlm95245.rst8 Addresses scanned: I2C 0x18, 0x29, 0x4c
16 Addresses scanned: I2C 0x18, 0x19, 0x29, 0x4c, 0x4d
22 Author: Alexander Stein <alexander.stein@systec-electronic.com>
25 -----------
27 LM95235 and LM95245 are 11-bit digital temperature sensors with a 2-wire System
34 is given within a range of -127 to +127.875 degrees. Remote temperatures are
35 given within a range of -127 to +255 degrees. Resolution depends on
40 user-space applications, two absolute values are exported, one for each
42 can be set from user-space, and the same delta applies to the remote
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-class-backlight-driver-adp887012 Contact: device-drivers-devel@blackfin.uclinux.org
15 on this <backlight>. Values are between 0 and 127. This file
26 Contact: device-drivers-devel@blackfin.uclinux.org
29 on this <backlight>. Values are between 0 and 127, typically
30 set to 0. Full off when the backlight is disabled.
Dsysfs-class-backlight-adp55202 ---------------------------------------------------------------
17 is an input code between 0 and 127, which is transformed to a
18 value between 0 mA and 30 mA using linear or non-linear
30 input code between 0 and 127, which is transformed to a value
31 between 0 mA and 30 mA using linear or non-linear algorithms.
/Linux-v5.10/sound/pci/trident/
Dtrident.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
20 #define SNDRV_TRIDENT_VOICE_TYPE_PCM 0
24 #define SNDRV_TRIDENT_VFLG_RUNNING (1<<0)
29 #define SNDRV_TRIDENT_PAGE_MASK ((1<<SNDRV_TRIDENT_PAGE_SHIFT)-1)
36 #define TRID_REG(trident, x) ((trident)->port + (x))
38 #define ID_4DWAVE_DX 0x2000
39 #define ID_4DWAVE_NX 0x2001
43 #define T4D_BANK_A 0
52 CHANNEL_IDX = 0x0000003f,
53 OVERRUN_IE = 0x00000400, /* interrupt enable: capture overrun */
[all …]
/Linux-v5.10/drivers/media/i2c/
Dadv7343_regs.h4 * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
26 #define ADV7343_POWER_MODE_REG (0x00)
27 #define ADV7343_MODE_SELECT_REG (0x01)
28 #define ADV7343_MODE_REG0 (0x02)
30 #define ADV7343_DAC2_OUTPUT_LEVEL (0x0b)
32 #define ADV7343_SOFT_RESET (0x17)
34 #define ADV7343_HD_MODE_REG1 (0x30)
35 #define ADV7343_HD_MODE_REG2 (0x31)
36 #define ADV7343_HD_MODE_REG3 (0x32)
37 #define ADV7343_HD_MODE_REG4 (0x33)
[all …]
/Linux-v5.10/Documentation/arm64/
Dsve.rst21 -----------
24 tracked per-thread.
28 instructions and registers, and the Linux-specific system interfaces
54 cpu-feature-registers.txt for details.
63 an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at
68 Beware that on big-endian systems this results in a different byte order than
69 for the FPSIMD V-registers, which are stored as single host-endian 128-bit
70 values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at
75 -----------------------------
82 * Vector length (VL) = size of a Z-register in bytes
[all …]

12345678910>>...42