Home
last modified time | relevance | path

Searched +full:abs +full:- +full:range (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/freebsd-src/sys/contrib/device-tree/Bindings/input/
H A Dadc-joystick.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: http://devicetree.org/schemas/input/adc-joystick.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Artur Rojek <contact@artur-rojek.eu>
18 - $ref: input.yaml#
22 const: adc-joystick
24 io-channels:
31 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
[all …]
H A Ddlg,da7280.txt4 - compatible: Should be "dlg,da7280".
5 - reg: Specifies the I2C slave address.
7 - interrupt-parent : Specifies the phandle of the interrupt controller to
10 - dlg,actuator-type: Set Actuator type. it should be one of:
11 "LRA" - Linear Resonance Actuator type.
12 "ERM-bar" - Bar type Eccentric Rotating Mass.
13 "ERM-coin" - Coin type Eccentric Rotating Mass.
15 - dlg,const-op-mode: Haptic operation mode for FF_CONSTANT.
17 1 - Direct register override(DRO) mode triggered by i2c(default),
18 2 - PWM data source mode controlled by PWM duty,
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3326-odroid-go3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3326-odroid-go.dtsi"
12 model = "ODROID-GO Super";
13 compatible = "hardkernel,rk3326-odroid-go3", "rockchip,rk3326";
15 joystick_mux_controller: mux-controller {
16 compatible = "gpio-mux";
18 #mux-control-cells = <0>;
20 mux-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>,
24 joystick_mux: adc-mux {
[all …]
H A Drk3326-odroid-go2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3326-odroid-go.dtsi"
12 model = "ODROID-GO Advance";
13 compatible = "hardkernel,rk3326-odroid-go2", "rockchip,rk3326";
15 analog_sticks: adc-joystick {
16 compatible = "adc-joystick";
17 io-channels = <&saradc 1>,
19 poll-interval = <60>;
20 #address-cells = <1>;
[all …]
H A Drk3326-odroid-go2-v11.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3326-odroid-go.dtsi"
12 model = "ODROID-GO Advance Black Edition";
13 compatible = "hardkernel,rk3326-odroid-go2-v11", "rockchip,rk3326";
19 analog_sticks: adc-joystick {
20 compatible = "adc-joystick";
21 io-channels = <&saradc 1>,
23 poll-interval = <60>;
24 #address-cells = <1>;
[all …]
H A Drk3566-anbernic-rgxx3.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-binding
[all...]
H A Drk3566-powkiddy-x55.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-binding
[all...]
H A Drk3566-powkiddy-rk2023.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-binding
[all...]
/freebsd-src/sys/dev/hid/
H A Dps4dshock.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
33 * https://www.psdevwiki.com/ps4/DS4-USB
80 0x81, 0x02, /* Input (Data,Var,Abs) */
89 0x81, 0x42, /* Input (Data,Var,Abs,Null State) */
99 0x81, 0x02, /* Input (Data,Var,Abs) */
106 0x81, 0x02, /* Input (Data,Var,Abs) */
114 0x81, 0x02, /* Input (Data,Var,Abs) */
117 0x09, 0x08, /* Usage (Multi-axis Controller) */
124 0x81, 0x02, /* Input (Data,Var,Abs) */
[all …]
H A Dhidrdesc.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 0x81, 0x02, /* INPUT (Data,Var,Abs) */\
51 0x81, 0x02, /* INPUT (Data,Var,Abs) */\
55 0x81, 0x03, /* INPUT (Cnst,Var,Abs) */\
59 0x81, 0x02, /* INPUT (Data,Var,Abs) */\
63 0x81, 0x02, /* INPUT (Data,Var,Abs) */\
64 0x09, 0x32, /* USAGE (In Range) */\
67 0x81, 0x02, /* INPUT (Data,Var,Abs) */\
74 0x81, 0x02, /* INPUT (Data,Var,Abs) */\
[all …]
/freebsd-src/contrib/nvi/ex/
H A Dex_global.c1 /*-
32 * ex_global -- [line [,line]] g[lobal][!] /pattern/ [commands]
41 cmdp, FL_ISSET(cmdp->iflags, E_C_FORCE) ? V : GLOBAL)); in ex_global()
45 * ex_v -- [line [,line]] v /pattern/ [commands]
57 * ex_g_setup --
65 MARK abs; in ex_g_setup() local
66 RANGE *rp; in ex_g_setup()
78 msgq_wstr(sp, M_ERR, cmdp->cmd->name, in ex_g_setup()
84 * Skip leading white space. Historic vi allowed any non-alphanumeric in ex_g_setup()
87 if (cmdp->argc == 0) in ex_g_setup()
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm64/amlogic/
H A Dmeson-g12b-odroid-go-ultra.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-g12b-s922x.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/gpio/meson-g12
[all...]
/freebsd-src/usr.bin/locate/locate/
H A Dutil.c2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 1995-2022 Wolfram Schneider <wosch@FreeBSD.org>
67 "locate database header corrupt, bigram char outside 0, %d-%d: %d", in check_bigram_char()
74 * "bla:foo" -> {"foo", "bla"}
75 * "bla:" -> {"foo", dot}
76 * "bla" -> {"bla"}
77 * "" -> do nothing
104 (!*ch && !(*(ch - 1) == ':' && ch == 1+ path))) { in colon()
105 /* single colon -> dot */ in colon()
110 slen = ch - c; in colon()
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_div_impl.inc1 //===-- fp_div_impl.inc - Floating point division -----------------*- C -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements soft-float division with the IEEE-754 default
12 //===----------------------------------------------------------------------===//
16 // The __divXf3__ function implements Newton-Raphson floating point division.
19 // every iteration, the two modes are supported: N full-width iterations (as
20 // it is done for float32 by default) and (N-1) half-width iteration plus one
21 // final full-width iteration. It is expected that half-width integer
26 // Half the bit-size of rep_t
[all …]
H A DREADME.txt1 Compiler-RT
7 Compiler-RT is open source software. You may freely distribute it under the
70 di_int __negdi2 (di_int a); // -a
71 ti_int __negti2 (ti_int a); // -a
97 si_int __absvsi2(si_int a); // abs(a)
98 di_int __absvdi2(di_int a); // abs(a)
99 ti_int __absvti2(ti_int a); // abs(a)
101 si_int __negvsi2(si_int a); // -a
102 di_int __negvdi2(di_int a); // -a
103 ti_int __negvti2(ti_int a); // -
[all...]
/freebsd-src/contrib/arm-optimized-routines/math/
H A Dlog.c2 * Double-precision log(x) function.
4 * Copyright (c) 2018-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
44 # define LO asuint64 (1.0 - 0x1p-5) in log()
45 # define HI asuint64 (1.0 + 0x1.1p-5) in log()
47 # define LO asuint64 (1.0 - in log()
[all...]
H A Dexp2.c2 * Double-precision 2^x function.
4 * Copyright (c) 2018-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
40 sbits -= 1ull << 52; in specialcase()
45 /* k < 0, need special care in the subnormal range. */ in specialcase()
52 range to avoid double rounding that can cause 0.5+E/2 ulp error where in specialcase()
53 E is the worst-cas in specialcase()
[all...]
/freebsd-src/contrib/arm-optimized-routines/pl/math/
H A Dlog.c
/freebsd-src/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk1 #!/usr/bin/awk -f
3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2007-2009 Ariff Abdullah <ariff@FreeBSD.org>
46 # - http://ccrma.stanford.edu/~jos/resample/
52 function abs(x) function
54 return (((x < 0) ? -x : x) + 0);
59 return (((x < 0.0) ? -x : x) + 0.0);
74 r--;
90 y--;
99 y--;
[all …]
/freebsd-src/contrib/cortex-strings/scripts/
H A Dplot-sizes.py67 err1 = max(vals) - mean
69 err2 = min(vals) - mean
71 Yerr[0].append(abs(err2))
92 # Figure out how high the range goes
99 pylab.axes().set_xticks([2**x for x in range(0, power+1)])
100 pylab.axes().set_xticklabels([pretty_kb(2**x) for x in range(0, power+1)])
115 …pylab.savefig('sizes-%s-%02d-%02d-%.1f.png' % (function, alignment[0], alignment[1], scale), dpi=7…
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBlockCoverageInference.cpp1 //===-- BlockCoverageInference.cpp - Minimal Execution Coverage -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // In general a node v is ambiguous if there exists two entry-to-terminal paths
26 // Details on this algorithm can be found in https://arxiv.org/abs/2208.13907
28 //===----------------------------------------------------------------------===//
41 #define DEBUG_TYPE "pgo-block-coverage"
70 Dependencies.set_union(It->second); in getDependencies()
73 Dependencies.set_union(It->second); in getDependencies()
94 if (It != PredecessorDependencies.end() && It->second.size()) in shouldInstrumentBlock()
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp1 //===-- ubsan_handlers_cxx.cpp --------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss()
45 SourceLocation Loc = Data->Loc.acquire(); in HandleDynamicTypeCacheMiss()
54 << TypeCheckKinds[Data->TypeCheckKind] << (void*)Pointer << Data->Type; in HandleDynamicTypeCacheMiss()
58 if (DTI.getOffset() < -VptrMaxOffsetToTop || DTI.getOffset() > VptrMaxOffsetToTop) { in HandleDynamicTypeCacheMiss()
60 "object has a possibly invalid vptr: abs(offset to top) too big") in HandleDynamicTypeCacheMiss()
62 << Range(Pointer, Pointer + sizeof(uptr), "possibly invalid vptr"); in HandleDynamicTypeCacheMiss()
[all …]
/freebsd-src/sys/dev/usb/input/
H A Dwsp.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
124 WSP_CLAMP(ptun->scale_factor, 1, 63); in wsp_runing_rangecheck()
125 WSP_CLAMP(ptun->z_factor, 1, 63); in wsp_runing_rangecheck()
126 WSP_CLAMP(ptun->z_invert, 0, 1); in wsp_runing_rangecheck()
127 WSP_CLAMP(ptun->pressure_touch_threshold, 1, 255);
128 WSP_CLAMP(ptun->pressure_untouch_threshol
[all...]
/freebsd-src/contrib/ntp/include/
H A Dtimespecops.h2 * timespecops.h -- calculations on 'struct timespec' values
8 * ---------
52 /* predicate: returns TRUE if the nanoseconds are in nominal range */
54 ((x)->tv_nsec >= 0 && (x)->tv_nsec < NANOSECONDS)
56 /* predicate: returns TRUE if the nanoseconds are out-of-bounds */
62 /* make sure nanoseconds are in nominal range */
96 /* x = a - b */
106 x.tv_sec -= b.tv_sec; in sub_tspec()
107 x.tv_nsec -= b.tv_nsec; in sub_tspec()
112 /* x = a - b, b is fraction only */
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp1 //===- CorrelatedValuePropagation.cpp - Propagate CFG-derived info -------
492 ConstantRange Range = LVI->getConstantRangeAtUse( processAbsIntrinsic() local
[all...]

12345678910>>...12