Home
last modified time | relevance | path

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

12

/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/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-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
14 stdout-path = "serial2:1500000n8";
17 adc-joystick {
18 compatible = "adc-joystick";
[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-g12
[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");
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/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 …]
H A DAMDGPUInstructionSelector.cpp1 //===- AMDGPUInstructionSelector.cpp ----------------------------*- C++ -*-==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
32 #define DEBUG_TYPE "amdgpu-isel"
66 Subtarget->checkSubtargetFeatures(MF.getFunction()); in setupMF()
72 return Def->getOpcode() == AMDGPU::G_AMDGPU_WAVE_ADDRESS in getWaveAddress()
73 ? Def->getOperand(1).getReg() in getWaveAddress()
91 return MRI.getVRegDef(Reg)->getOpcode() != AMDGPU::G_TRUNC && in isVCC()
92 RC->hasSuperClassEq(TRI.getBoolRC()); in isVCC()
[all …]
H A DSIInstrInfo.cpp1 //===- SIInstrInfo.cpp - SI Instruction Information ----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
38 #define DEBUG_TYPE "si-instr-info"
54 BranchOffsetBits("amdgpu-s-branch-bits", cl::ReallyHidden, cl::init(16),
58 "amdgpu-fix-16-bit-physreg-copies",
69 //===----------------------------------------------------------------------===//
71 //===----------------------------------------------------------------------===//
74 unsigned N = Node->getNumOperands(); in getNumOperandsNoGlue()
[all …]
H A DSIISelLowering.cpp1 //===-- SIISelLowering.cpp - SI DAG Lowering Implementation ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
49 #define DEBUG_TYPE "si-lower"
54 "amdgpu-disable-loop-alignment",
59 "amdgpu-use-divergent-register-indexing",
66 return Info->getMode().FP32Denormals == DenormalMode::getPreserveSign(); in denormalModeIsFlushAllF32()
71 return Info->getMode().FP64FP16Denormals == DenormalMode::getPreserveSign(); in denormalModeIsFlushAllF64F16()
97 const TargetRegisterClass *V64RegClass = TRI->getVGPR64Class(); in SITargetLowering()
[all …]
H A DSIInstrInfo.td1 //===-- SIInstrInfo.td -----------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 def isWave32 : Predicate<"Subtarget->getWavefrontSize() == 32">,
11 def isWave64 : Predicate<"Subtarget->getWavefrontSize() == 64">,
21 int NONE = -1;
36 //===----------------------------------------------------------------------===//
38 //===----------------------------------------------------------------------===//
51 //===----------------------------------------------------------------------===//
53 //===----------------------------------------------------------------------===//
[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/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp1 //===----------
[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/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 "in
[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 …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp1 //===- InputFiles.cpp -----------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains functions to parse Mach-O object files. In this comment,
10 // we describe the Mach-O file structure and how we parse it.
12 // Mach-O is not very different from ELF or COFF. The notion of symbols,
13 // sections and relocations exists in Mach-O as it does in ELF and COFF.
17 // output files. When we merge or garbage-collect sections, we treat each
18 // section as an atomic unit. In Mach-O, that's not the case. Sections can
20 // garbage-collecting. Therefore, Mach-O's subsections are more similar to
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXIntrinsics.td1 //===- NVPTXIntrinsics.td - PTX Intrinsics Instructions -------*- tblgen -*-==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 float f = (float)N->getValueAPF().convertToFloat();
15 float f = (float)N->getValueAPF().convertToFloat();
20 double d = (double)N->getValueAPF().convertToDouble();
25 double d = (double)N->getValueAPF().convertToDouble();
44 return getI32Imm(Subtarget->getPTXVersion(), SDLoc(N));
52 // E.g. RegNames<3,"r">.ret -> ["r0", "r1", "r2" ]
63 //-----------------------------------
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td1 //==--- AttrDocs.td - Attribute documentation ----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===---------------------------------------------------------------------===//
9 // To test that the documentation builds cleanly, you must run clang-tblgen to
15 // To run clang-tblgen to generate the .rst file:
16 // clang-tblgen -gen-attr-docs -I <root>/llvm/tools/clang/include
17 // <root>/llvm/tools/clang/include/clang/Basic/Attr.td -o
20 // To run sphinx to generate the .html files (note that sphinx-build must be
24 // Non-Windows (from within the clang\docs directory):
25 // sphinx-build -b html _build/html
[all …]

12