Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/device-tree/src/arm64/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-h.dts1 // 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/src/arm64/rockchip/
H A Drk3566-anbernic-rg353x.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/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 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 Drk3566-anbernic-rg503.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/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 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 Drk3588s-gameforce-ace.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-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 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-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 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-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 Drk3326-gameforce-chi.dts1 // 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/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 …]
/freebsd/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-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.sbin/bhyve/
H A Dpci_virtio_input.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
97 uint32_t flat; member
116 struct vtinput_absinfo abs; member
140 * Per-device softc
174 vi_reset_dev(&sc->vsc_vs); in pci_vtinput_reset()
204 * - host send EV_MSC to guest in pci_vtinput_notify_statusq()
205 * - guest sends EV_MSC back to host in pci_vtinput_notify_statusq()
206 * - host writes EV_MSC to evdev in pci_vtinput_notify_statusq()
207 * - evdev saves EV_MSC in it's event buffer in pci_vtinput_notify_statusq()
[all …]
/freebsd/sys/dev/evdev/
H A Dinput.h1 /*-
3 * Copyright (c) 2015-2016 Vladimir Kondratyev <wulf@FreeBSD.org>
37 #include "input-event-codes.h"
63 int32_t flat; member
101 #define EVIOCGABS(abs) _IOR(EVDEV_IOC_MAGIC, 0x40 + (abs), struct input_absinfo) /* get abs value/… argument
102 #define EVIOCSABS(abs) _IOW(EVDEV_IOC_MAGIC, 0xc0 + (abs), struct input_absinfo) /* set abs value/… argument
156 * Values describing the status of a force-feedback effect
171 uint16_t interval; /* delay between re-triggers */
177 uint16_t attack_level; /* level at the beginning (0x0000 - 0x7fff) */
255 uint16_t direction; /* [0 .. 360) degrees -> [0 .. 0x10000) */
H A Devdev.c1 /*-
3 * Copyright (c) 2015-2016 Vladimir Kondratyev <wulf@FreeBSD.org>
82 "Who is receiving events: bit0 - sysmouse, bit1 - kbdmux, "
83 "bit2 - mouse hardware, bit3 - keyboard hardware");
85 &evdev_sysmouse_t_axis, 0, "Extract T-axis from 0-none, 1-ums, 2-psm, 3-wsp");
105 if (evdev != NULL && evdev->ev_cdev != NULL && in evdev_free()
106 evdev->ev_cdev->si_drv1 != NULL) in evdev_free()
134 evdev->ev_report_size = report_size; in evdev_set_report_size()
148 bit_ffs_at(evdev->ev_key_flags, KEY_OK, KEY_CNT - KEY_OK, &res); in evdev_estimate_report_size()
149 if (res == -1) in evdev_estimate_report_size()
[all …]
/freebsd/contrib/jemalloc/bin/
H A Djeprof.in3 # Copyright (c) 1998-2007, Google Inc.
32 # ---
38 # This program parses the profile, and generates user-readable
46 # % tools/jeprof --text "program" "profile"
49 # % tools/jeprof --gv "program" "profile"
50 # Generates annotated call-graph and displays via "gv"
52 # % tools/jeprof --gv --focus=Mutex "program" "profile"
55 # % tools/jeprof --gv --focus=Mutex --ignore=string "program" "profile"
59 # % tools/jeprof --list=IBF_CheckDocid "program" "profile"
61 # sample that match the --list=<regexp> pattern. The listing is
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp1 //===-- AMDGPUISelDAGToDAG.cpp - A dag to dag inst selector for AMDGPU ----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //==-----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
39 #define DEBUG_TYPE "amdgpu-isel"
43 //===----------------------------------------------------------------------===//
45 //===----------------------------------------------------------------------===//
52 // Figure out if this is really an extract of the high 16-bits of a dword.
58 if (!Idx->isOne()) in isExtractHiElt()
71 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt()
[all …]
H A DSIDefines.h1 //===-- SIDefines.h - SI Helper Macros ----------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
28 RegTupleAlignUnitsMask = (1 << RegTupleAlignUnitsWidth) - 1,
54 // Low bits - basic encoding information.
87 FLAT = 1 << 24, enumerator
100 // High bits - other information.
141 // FLAT instruction accesses FLAT_GLBL segment.
156 // FLAT instruction accesses FLAT_SCRATCH segment.
181 // v_cmp_class_* etc. use a 10-bit mask for what operation is checked.
[all …]
H A DSILoadStoreOptimizer.cpp1 //===- SILoadStoreOptimizer.cpp -------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
45 // - This is currently missing stores of constants because loading
49 // - Live interval recomputing seems inefficient. This currently only matches
53 // - With a list of instructions to process, we can also merge more. If a
54 // cluster of loads have offsets that are too large to fit in the 8-bit
58 //===----------------------------------------------------------------------===//
69 #define DEBUG_TYPE "si-load-store-opt"
133 if (AddrReg[i]->isImm() || AddrRegNext.isImm()) { in hasSameBaseAddress()
[all …]
/freebsd/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 …]
/freebsd/contrib/flex/src/
H A Dtables.c1 /* tables.c - tables serialization code
10 * to contract no. DE-AC03-76SF00098 between the United States
73 wr->out = out; in yytbl_writer_init()
74 wr->total_written = 0; in yytbl_writer_init()
88 th->th_magic = YYTBL_MAGIC; in yytbl_hdr_init()
89 th->th_hsize = (flex_uint32_t) (14 + strlen (version_str) + 1 + strlen (name) + 1); in yytbl_hdr_init()
90 th->th_hsize += yypad64 (th->th_hsize); in yytbl_hdr_init()
91 th->th_ssize = 0; // Not known at this point. in yytbl_hdr_init()
92 th->th_flags = 0; in yytbl_hdr_init()
93 th->th_version = xstrdup(version_str); in yytbl_hdr_init()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1 //===- AMDGPUAsmParser.cpp - Parse SI asm to MCInst instructions ----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
55 //===----------------------------------------------------------------------===//
57 //===----------------------------------------------------------------------===//
77 bool Abs = false; member
82 bool hasFPModifiers() const { return Abs || Neg; } in hasFPModifiers()
88 Operand |= Abs ? SISrcMods::ABS : 0u; in getFPModifiersOperand()
464 // TODO: Find out how SALU supports extension of 32-bit literals to 64 bits. in isSSrc_b64()
1066 // clang-format off in printImmTy()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp1 //===----------
[all...]
/freebsd/stand/libsa/
H A Dlibsa.350 .Bl -hang -width 10n
58 bytes of memory from the heap using a best-fit algorithm.
96 A set of functions are provided for manipulating a flat variable space similar
97 to the traditional shell-supported environment.
100 .Bl -hang -width 10n
159 .Bl -hang -width 10n
162 .Fn abs "int i"
221 .Bl -hang -width 10n
237 - 1 characters from the console into
257 if successful, or -1 if a read error occurs.
[all …]
/freebsd/usr.bin/gprof/
H A Dgprof.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
53 --argc; in main()
57 while ( *argv != 0 && **argv == '-' ) { in main()
78 printf("gprof: -d ignored\n"); in main()
148 if ((Kflag && kernel_getnfile(a_outname, &defaultEs) == -1) || in main()
149 (!Kflag && elf_getnfile(a_outname, &defaultEs) == -1)) in main()
202 * print the flat profile in main()
281 histcounter_size = abs(histcounter_type) / CHAR_BIT; in openpfile()
287 sampbytes = gmonhdr.ncnt - size; in openpfile()
[all …]

12