| /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | silead_gsl1680.txt | 4 - compatible : Must be one of the following, depending on the model: 10 - reg : I2C slave address of the chip (0x40) 11 - interrupts : interrupt specification for the gsl1680 interrupt 12 - power-gpios : Specification for the pin connected to the gsl1680's 15 - touchscreen-size-x : See touchscreen.txt 16 - touchscreen-size-y : See touchscreen.txt 19 - firmware-name : File basename (string) for board specific firmware 20 - touchscreen-inverted-x : See touchscreen.txt 21 - touchscreen-inverted-y : See touchscreen.txt 22 - touchscreen-swapped-x-y : See touchscreen.txt [all …]
|
| H A D | silead,gsl1680.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 13 - $ref: touchscreen.yaml# 18 - silead,gsl1680 19 - silead,gsl1688 20 - silead,gsl3670 21 - silead,gsl3675 22 - silead,gsl3692 [all …]
|
| /freebsd/sys/dev/usb/input/ |
| H A D | atp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 42 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 44 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch) 56 * I'm grateful to Stephan Scheunig, Angela Naegele, and Nokia IT-support 132 * A double-tap followed by a single-finger slide is treated as a 134 * virtual button-press for the lifetime of the slide. The following 158 /* Distance-squared threshold for matching a finger with a known stroke */ 166 /* Maximum allowed width for pressure-spans.*/ [all …]
|
| H A D | wsp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 89 &wsp_debug, WSP_LLEVEL_ERROR, "WSP debug level (0-3)"); 133 WSP_CLAMP(ptun->scale_factor, 1, 63); in wsp_running_rangecheck() 134 WSP_CLAMP(ptun->scroll_finger_count, 0, 3); in wsp_running_rangecheck() 135 WSP_CLAMP(ptun->horizontal_swipe_finger_count, 0, 3); in wsp_running_rangecheck() 136 WSP_CLAMP(ptun->z_factor, 0, 63); in wsp_running_rangecheck() 137 WSP_CLAMP(ptun->z_invert, 0, 1); in wsp_running_rangecheck() 138 WSP_CLAMP(ptun->t_factor, 0, 63); in wsp_running_rangecheck() 139 WSP_CLAMP(ptun->t_invert, 0, 1); in wsp_running_rangecheck() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3368-px5-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368"; 20 stdout-path = "serial4:115200n8"; 28 keys: gpio-keys { 29 compatible = "gpio-keys"; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&pwr_key>; 33 key-power { [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
| H A D | rk3188-px3-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com> 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 11 model = "Rockchip PX3-EVB"; 12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188"; 20 stdout-path = "serial2:115200n8"; 28 gpio-keys { 29 compatible = "gpio-keys"; 32 key-power { [all …]
|
| /freebsd/sys/dev/atkbdc/ |
| H A D | psm.c | 1 /*- 28 * Thanks are also due to Rick Macklem, rick@snowhite.cis.uoguelph.ca - 36 * Andrew Herbert <andrew@werple.apana.org.au> - 8 June 1993 39 * Andrew Herbert - 12 June 1993 42 * - 13 June 1993 44 * Modified for PS/2 AUX mouse by Shoji Yuen <yuen@nuie.nagoya-u.ac.jp> 45 * - 24 October 1993 48 * Kazutaka Yokota <yokota@zodiac.mech.utsunomiya-u.ac.jp> 49 * - 3, 14, 22 October 1996. 50 * - 12 November 1996. IOCTLs and rearranging `psmread', `psmioctl'... [all …]
|
| /freebsd/usr.sbin/moused/moused/ |
| H A D | moused.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1997-2000 Kazutaka YOKOTA <yokota@FreeBSD.org> 5 * Copyright (c) 2004-2008 Philip Paeps <philip@FreeBSD.org> 6 * Copyright (c) 2008 Jean-Sebastien Pedron <dumbbell@FreeBSD.org> 90 /* Abort 3-button emulation delay after this many movement events. */ 93 #define MOUSE_XAXIS (-1) 94 #define MOUSE_YAXIS (-2) 220 bool three_finger_drag; /* Enable dragging with three fingers */ 224 u_int max_width; /* Max finger width to detect palm */ [all …]
|
| /freebsd/sys/dev/hid/ |
| H A D | bcm5974.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 101 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 104 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 106 * Copyright (C) 2005 Michael Hanselmann (linux-kerne 223 int max; /* device maximum reading */ global() member [all...] |
| /freebsd/sys/contrib/device-tree/include/dt-bindings/input/ |
| H A D | linux-event-codes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * This file is not only included from C-code but also from devicetree source 9 * Copyright (c) 1999-2002 Vojtech Pavlik 70 * AC - Application Control 71 * AL - Application Launch Button 72 * SC - System Control 307 outputs (Monitor/LCD/TV-out/etc) */ 328 #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */ 410 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ 417 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */ [all …]
|
| /freebsd/sys/dev/evdev/ |
| H A D | input-event-codes.h | 1 /*- 3 * Copyright (c) 2015-2016 Vladimir Kondratyev <wulf@FreeBSD.org> 83 * AC - Application Control 84 * AL - Application Launch Button 85 * SC - System Control 320 outputs (Monitor/LCD/TV-out/etc) */ 341 #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */ 423 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ 430 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */ 525 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */ [all …]
|
| /freebsd/usr.sbin/pwd_mkdb/ |
| H A D | pwd_mkdb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 97 char buf[MAX(MAXPATHLEN, LINE_MAX * 2)]; in main() 98 char sbuf[MAX(MAXPATHLEN, LINE_MAX * 2)]; in main() 112 while ((ch = getopt(argc, argv, "Cd:iNps:u:v")) != -1) in main() 141 argc -= optind; in main() 144 if (argc != 1 || (username && (*username == '+' || *username == '-'))) in main() 231 key.size = sizeof(verskey)-1; in main() 232 if ((pw_db->get)(pw_db, &key, &data, 0) == 0) in main() 240 memmove(buf + 1, username, MIN(len, sizeof(buf) - 1)); in main() [all …]
|
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_80003es2lan.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 84 * e1000_init_phy_params_80003es2lan - Init ESB2 PHY func ptrs. 89 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_80003es2lan() 94 if (hw->phy.media_type != e1000_media_type_copper) { in e1000_init_phy_params_80003es2lan() 95 phy->type = e1000_phy_none; in e1000_init_phy_params_80003es2lan() 98 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_80003es2lan() 99 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan; in e1000_init_phy_params_80003es2lan() 102 phy->addr = 1; in e1000_init_phy_params_80003es2lan() 103 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_init_phy_params_80003es2lan() [all …]
|
| H A D | e1000_phy.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 65 * e1000_init_phy_ops_generic - Initialize PHY function pointers 68 * Setups up the function pointers to no-op functions 72 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_ops_generic() 76 phy->ops.init_params = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 77 phy->ops.acquire = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 78 phy->ops.check_polarity = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 79 phy->ops.check_reset_block = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 80 phy->ops.commit = e1000_null_ops_generic; in e1000_init_phy_ops_generic() [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_refclock.c | 2 * ntp_refclock - processing support for reference clocks 53 * In addition, there may be a driver-specific unit structure used for 57 * which is used for all peer-specific processing and contains a 82 #if MAXSTAGE & (MAXSTAGE - 1) 89 pp->coderecv = (pp->coderecv + 1) % MAXSTAGE; in clk_add_sample() 90 if (pp->coderecv == pp->codeproc) in clk_add_sample() 91 pp->codeproc = (pp->codepro in clk_add_sample() [all...] |
| H A D | refclock_arc.c | 2 * refclock_arc - clock driver for ARCRON MSF/DCF/WWVB receivers 35 Modifications by Damon Hart-Davis, <d@hd.org>, 1997. 37 Modifications by Christopher Price, <cprice@cs-home.com>, 2003. 44 Orginally developed and used with ntp3-5.85 by Derek Mulcahy. 46 Built against ntp3-5.90 on Solaris 2.5 using gcc 2.7.2. 52 ----- [all...] |
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_tx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2010-2012 Adrian Chadd, Xenion Pty Ltd 116 * What queue to throw the non-QoS TID traffic into 148 if (bf->bf_nseg == 0) in ath_tx_alq_post() 150 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; in ath_tx_alq_post() 151 for (i = 0, ds = (const char *) bf->bf_desc; in ath_tx_alq_post() 153 i++, ds += sc->sc_tx_desclen) { in ath_tx_alq_post() 154 if_ath_alq_post(&sc->sc_alq, in ath_tx_alq_post() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 1 //===--- MicrosoftMangle.cpp - Microsoft Visual C++ Name Mangling ---------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 91 if (RD->isLambda()) in getLambdaDefaultArgumentDeclContext() 93 dyn_cast_or_null<ParmVarDecl>(RD->getLambdaContextDecl())) in getLambdaDefaultArgumentDeclContext() 94 return Parm->getDeclContext(); in getLambdaDefaultArgumentDeclContext() 113 dyn_cast_or_null<ParmVarDecl>(BD->getBlockManglingContextDecl())) in getEffectiveDeclContext() 114 return ContextParam->getDeclContext(); in getEffectiveDeclContext() 117 const DeclContext *DC = D->getDeclContext(); in getEffectiveDeclContext() [all …]
|