/freebsd/sys/contrib/device-tree/src/arm64/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-h.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 #include "sun50i-h700-anbernic-rg35xx-plus.dts" 11 compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700"; 13 adc-joystick { 14 compatible = "adc-joystick"; 15 io-channels = <&adc_mux 0>, 19 pinctrl-0 = <&joy_mux_pin>; 20 pinctrl-names = "default"; 21 poll-interval = <60>; 22 #address-cells = <1>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | adc-joystick.yaml | 1 # 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 D | dlg,da7280.txt | 4 - 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/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3566-anbernic-rg353x.dtsi | 1 // 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/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 11 adc-joystick { 12 compatible = "adc-joystick"; 13 io-channels = <&adc_mux 0>, 17 pinctrl-0 = <&joy_mux_en>; [all …]
|
H A D | rk3326-odroid-go3.dts | 1 // 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 D | rk3566-anbernic-rg503.dts | 1 // 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/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 20 adc-joystick { 21 compatible = "adc-joystick"; 22 io-channels = <&adc_mux 0>, 26 pinctrl-0 = <&joy_mux_en>; [all …]
|
H A D | rk3326-odroid-go2.dts | 1 // 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 D | rk3326-odroid-go2-v11.dts | 1 // 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 D | rk3588s-gameforce-ace.dts | 1 // 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-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/thermal/thermal.h> 11 #include <dt-bindings/usb/pd.h> 16 chassis-type = "handset"; [all …]
|
H A D | rk3566-powkiddy-rk2023.dtsi | 1 // 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-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [all …]
|
H A D | rk3566-powkiddy-x55.dts | 1 // 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-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 14 chassis-type = "handset"; 25 stdout-path = "serial2:1500000n8"; 28 adc_joystick: adc-joystick { [all …]
|
H A D | rk3326-gameforce-chi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 16 chassis-type = "handset"; 24 stdout-path = "serial2:115200n8"; 27 adc_joystick: adc-joystick { 28 compatible = "adc-joystick"; [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/ |
H A D | sincospif_3u2.c | 2 * Single-precision scalar sincospi function. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 .poly = { 0x1.921fb6p1f, -0x1.4abbcep2f, 0x1.466bc6p1f, -0x1.32d2ccp-1f, 20 0x1.50783p-4f, -0x1.e30750p-8f }, 31 -1 or +1 if iy represents half an integer 32 -1 if round(y) is odd. 34 -2 or +2 if iy represents and integer. 35 -2 if iy is odd. 37 The argument is the bit representation of a positive non-zero 38 finite floating-point value which is either a half or an integer. */ [all …]
|
H A D | sincospi_4u.c | 2 * Double-precision scalar sincospi function. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 16 C2_hi = 4, C2_lo = C2 - C2_hi (~=1.16771278) 24 .poly = { 0x1.921fb54442d184p1, -0x1.2aef39896f94bp0, 0x1.466bc6775ab16p1, 25 -0x1.32d2cce62dc33p-1, 0x1.507834891188ep-4, -0x1.e30750a28c88ep-8, 26 0x1.e8f48308acda4p-12, -0x1.6fc0032b3c29fp-16, 27 0x1.af86ae521260bp-21, -0x1.012a9870eeb7dp-25 }, 38 -1 or +1 if iy represents half an integer 39 -1 if round(y) is odd. 41 -2 or +2 if iy represents and integer. [all …]
|
/freebsd/sys/dev/hid/ |
H A D | ps4dshock.c | 1 /*- 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 D | hidrdesc.h | 1 /*- 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/contrib/nvi/ex/ |
H A D | ex_global.c | 1 /*- 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/sys/contrib/device-tree/src/arm64/amlogic/ |
H A D | meson-g12b-odroid-go-ultra.dts | 1 // 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-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b"; 17 model = "Hardkernel ODROID-GO-Ultra"; [all …]
|
/freebsd/usr.bin/locate/locate/ |
H A D | util.c | 2 * 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/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_div_impl.inc | 1 //===-- 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 D | README.txt | 1 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); // -a [all …]
|
/freebsd/sys/tools/sound/ |
H A D | feeder_rate_mkfilter.awk | 1 #!/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/contrib/arm-optimized-routines/math/ |
H A D | log.c | 2 * 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 - 0x1p-4) in log() 48 # define HI asuint64 (1.0 + 0x1.09p-4) in log() 50 if (unlikely (ix - LO < HI - LO)) in log() 56 r = x - 1.0; in log() 60 /* Worst-case error is around 0.516 ULP. */ in log() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | BlockCoverageInference.cpp | 1 //===-- 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/contrib/llvm-project/libcxx/include/ |
H A D | complex | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 37 complex<T>& operator-=(const T&); // constexpr in C++20 44 template<class X> complex<T>& operator-=(const complex<X>&); // constexpr in C++20 66 complex<float>& operator-=(float); // constexpr in C++20 73 template<class X> complex<float>& operator-=(const complex<X>&); // constexpr in C++20 95 complex<double>& operator-=(double); // constexpr in C++20 102 template<class X> complex<double>& operator-=(const complex<X>&); // constexpr in C++20 [all …]
|