| /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
| H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [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) 115 tsaddms(struct timespec* tsp, u_int ms) in tsaddms() argument 119 ret = msec2ts(ms); in tsaddms() [all …]
|
| /freebsd/sys/dev/usb/wlan/ |
| H A D | if_rsu.c | 3 /*- 22 * o tx a-mpdu 24 * o power-save operation 78 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 290 /* XXX hard-coded */ 316 .timeout = RSU_TX_TIMEOUT 329 .timeout = RSU_TX_TIMEOUT 342 .timeout = RSU_TX_TIMEOUT 351 if (uaa->usb_mode != USB_MODE_HOST || in rsu_match() 352 uaa->info.bIfaceIndex != 0 || in rsu_match() [all …]
|
| H A D | if_mtw.c | 1 /*- 2 * Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr> 3 * Copyright (c) 2013-2014 Kevin Lo 111 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 254 struct ieee80211_tx_ampdu *tap); 298 .timeout = 5000, /* ms */ 308 .timeout = 5000, /* ms */ 318 .timeout = 5000, /* ms */ 328 .timeout = 5000, /* ms */ 338 .timeout = 5000, /* ms */ [all …]
|
| H A D | if_run.c | 1 /*- 5 * Copyright (c) 2013-2014 Kevin Lo 20 /*- 114 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 503 struct ieee80211_tx_ampdu *tap); 531 /* MCS - single stream */ 541 /* MCS - 2 streams */ 551 /* MCS - 3 streams */ 663 .timeout = 5000, /* ms */ 673 .timeout = 5000, /* ms */ [all …]
|
| H A D | if_ural.c | 2 /*- 22 /*- 87 ((rssi) - (RAL_NOISE_FLOOR + RAL_RSSI_CORR)) : 0) 193 static int ural_pause(struct ural_softc *sc, int timeout); 306 * For dual-band RF, RF registers R1 and R4 also depend on channel number; 370 .timeout = 5000, /* ms */ 411 if (uaa->usb_mode != USB_MODE_HOST) in ural_match() 413 if (uaa->info.bConfigIndex != 0) in ural_match() 415 if (uaa->info.bIfaceIndex != RAL_IFACE_INDEX) in ural_match() 426 struct ieee80211com *ic = &sc->sc_ic; in ural_attach() [all …]
|
| H A D | if_rum.c | 2 /*- 3 * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr> 5 * Copyright (c) 2007-2008 Hans Petter Selasky <hselasky@FreeBSD.org> 21 /*- 450 .timeout = 5000, /* ms */ 467 if (uaa->usb_mode != USB_MODE_HOST) in rum_match() 469 if (uaa->info.bConfigIndex != 0) in rum_match() 471 if (uaa->info.bIfaceIndex != RT2573_IFACE_INDEX) in rum_match() 482 struct ieee80211com *ic = &sc->sc_ic; in rum_attach() 488 sc->sc_udev = uaa->device; in rum_attach() [all …]
|
| H A D | if_zyd.c | 4 /*- 6 * Copyright (c) 2006 by Florian Stoehr <ich@florian-stoehr.de> 105 usbd_do_request_flags((sc)->sc_udev, &(sc)->sc_mtx, req, data, 0, NULL, 5000) 262 .timeout = 10000, /* 10 seconds */ 280 .timeout = 1000, /* 1 second */ 318 if (uaa->usb_mode != USB_MODE_HOST) in zyd_match() 320 if (uaa->info.bConfigIndex != ZYD_CONFIG_INDEX) in zyd_match() 322 if (uaa->info.bIfaceIndex != ZYD_IFACE_INDEX) in zyd_match() 333 struct ieee80211com *ic = &sc->sc_ic; in zyd_attach() 337 if (uaa->info.bcdDevice < 0x4330) { in zyd_attach() [all …]
|
| H A D | if_upgt.c | 64 * - MONITOR mode test. 65 * - Add HOSTAP mode. 66 * - Add IBSS mode. 67 * - Support the USB 1.0 devices (NET2280, ISL3880, ISL3886 chipsets). 70 * written by Jean-Baptiste Note <jean-baptiste.note@m4x.org> and 94 if (sc->sc_debug & (m)) \ 171 static const char *upgt_fwname = "upgt-gw3887"; 210 .timeout = UPGT_USB_TIMEOUT, /* ms */ 230 if (uaa->usb_mode != USB_MODE_HOST) in upgt_match() 232 if (uaa->info.bConfigIndex != UPGT_CONFIG_INDEX) in upgt_match() [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/sys/net80211/ |
| H A D | ieee80211_ht.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 132 static int ieee80211_ampdu_age = -1; /* threshold for ampdu reorder q (ms) */ 136 "AMPDU max reorder age (ms)"); 142 static int ieee80211_addba_timeout = -1;/* timeout for ADDBA response */ 146 "ADDBA request timeout (ms)"); 147 static int ieee80211_addba_backoff = -1;/* backoff after max ADDBA requests */ 151 "ADDBA request backoff (ms)"); 156 static int ieee80211_bar_timeout = -1; /* timeout waiting for BAR response */ [all …]
|
| H A D | ieee80211_output.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 98 return (vap->iv_opmode == IEEE80211_M_IBSS); in doprint() 111 * A-MPDU state stuff, fast-frames state stuff, encapsulation 124 struct ieee80211com *ic = vap->iv_ic; in ieee80211_vap_pkt_send_dest() 125 struct ifnet *ifp = vap->iv_ifp; in ieee80211_vap_pkt_send_dest() 135 if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) && in ieee80211_vap_pkt_send_dest() 136 (m->m_flags & M_PWR_SAV) == 0) { in ieee80211_vap_pkt_send_dest() 156 ni->ni_macaddr, NULL, in ieee80211_vap_pkt_send_dest() [all …]
|
| /freebsd/sys/dev/ral/ |
| H A D | rt2661.c | 2 /*- 20 /*- 70 if (sc->sc_debug > 0) \ 74 if (sc->sc_debug >= (n)) \ 204 struct ieee80211com *ic = &sc->sc_ic; in rt2661_attach() 208 sc->sc_id = id; in rt2661_attach() 209 sc->sc_dev = dev; in rt2661_attach() 211 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2661_attach() 214 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2661_attach() 215 mbufq_init(&sc->sc_snd, ifqmaxlen); in rt2661_attach() [all …]
|
| H A D | rt2860.c | 1 /*- 2 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 21 /*- 70 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0) 71 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0) 238 struct ieee80211com *ic = &sc->sc_ic; in rt2860_attach() 242 sc->sc_dev = dev; in rt2860_attach() 243 sc->sc_debug = 0; in rt2860_attach() 245 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2860_attach() 248 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2860_attach() [all …]
|
| H A D | rt2560.c | 2 /*- 20 /*- 67 ((rssi) > (RT2560_NOISE_FLOOR + (sc)->rssi_corr) ? \ 68 ((rssi) - RT2560_NOISE_FLOOR - (sc)->rssi_corr) : 0) 73 if (sc->sc_debug > 0) \ 77 if (sc->sc_debug >= (n)) \ 205 struct ieee80211com *ic = &sc->sc_ic; in rt2560_attach() 208 sc->sc_dev = dev; in rt2560_attach() 210 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2560_attach() 213 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2560_attach() [all …]
|
| /freebsd/sys/dev/iwn/ |
| H A D | if_iwn.c | 1 /*- 2 * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr> 6 * Copyright (c) 2013 Cedric GROSS <c.gross@kreiz-it.fr> 84 { 0x8086, IWN_DID_6x05_1, "Intel Centrino Advanced-N 6205" }, 85 { 0x8086, IWN_DID_1000_1, "Intel Centrino Wireless-N 1000" }, 86 { 0x8086, IWN_DID_1000_2, "Intel Centrino Wireless-N 1000" }, 87 { 0x8086, IWN_DID_6x05_2, "Intel Centrino Advanced-N 6205" }, 88 { 0x8086, IWN_DID_6050_1, "Intel Centrino Advanced-N + WiMAX 6250" }, 89 { 0x8086, IWN_DID_6050_2, "Intel Centrino Advanced-N + WiMAX 6250" }, 90 { 0x8086, IWN_DID_x030_1, "Intel Centrino Wireless-N 1030" }, [all …]
|
| /freebsd/sys/dev/wpi/ |
| H A D | if_wpi.c | 1 /*- 317 for (ident = wpi_ident_table; ident->name != NULL; ident++) { in wpi_probe() 318 if (pci_get_vendor(dev) == ident->vendor && in wpi_probe() 319 pci_get_device(dev) == ident->device) { in wpi_probe() 320 device_set_desc(dev, ident->name); in wpi_probe() 339 sc->sc_dev = dev; in wpi_attach() 342 error = resource_int_value(device_get_name(sc->sc_dev), in wpi_attach() 343 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug)); in wpi_attach() 345 sc->sc_debug = 0; in wpi_attach() 347 sc->sc_debug = 0; in wpi_attach() [all …]
|
| /freebsd/sys/dev/ipw/ |
| H A D | if_ipw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2004-2006 33 /*- 202 nitems(ipw_ident_table) - 1); 211 for (ident = ipw_ident_table; ident->name != NULL; ident++) { in ipw_probe() 212 if (pci_get_vendor(dev) == ident->vendor && in ipw_probe() 213 pci_get_device(dev) == ident->device) { in ipw_probe() 214 device_set_desc(dev, ident->name); in ipw_probe() 226 struct ieee80211com *ic = &sc->sc_ic; in ipw_attach() [all …]
|
| /freebsd/sys/dev/iwi/ |
| H A D | if_iwi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting 33 /*- 266 for (ident = iwi_ident_table; ident->name != NULL; ident++) { in iwi_probe() 267 if (pci_get_vendor(dev) == ident->vendor && in iwi_probe() 268 pci_get_device(dev) == ident->device) { in iwi_probe() 269 device_set_desc(dev, ident->name); in iwi_probe() 280 struct ieee80211com *ic = &sc->sc_ic; in iwi_attach() 284 sc->sc_dev = dev; in iwi_attach() [all …]
|
| /freebsd/sys/dev/iwm/ |
| H A D | if_iwm.c | 20 /*- 21 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved. 55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved. 90 /*- 91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 173 #define mtodoff(m, t, off) ((t)((m)->m_data + (off))) 230 #define IWM_RIDX_MAX (nitems(iwm_rates)-1) 440 dlen < sizeof(l->size) + l->size * sizeof(*l->cs)) in iwm_store_cscheme() [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | misc.c | 4 * Copyright (c) 2005-2020 Damien Miller. All rights reserved. 104 for (i--; i > 0; i--) { in rtrim() 131 /* set/unset filedescriptor to non-blocking */ 138 if (val == -1) { in set_nonblock() 140 return (-1); in set_nonblock() 148 if (fcntl(fd, F_SETFL, val) == -1) { in set_nonblock() 151 return (-1); in set_nonblock() 162 if (val == -1) { in unset_nonblock() 164 return (-1); in unset_nonblock() 172 if (fcntl(fd, F_SETFL, val) == -1) { in unset_nonblock() [all …]
|
| /freebsd/tools/tools/netmap/ |
| H A D | pkt-gen.c | 2 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved. 3 * Copyright (C) 2013-2015 Universita` di Pisa. All rights reserved. 28 * $Id: pkt-gen.c 12346 2013-06-12 17:36:25Z luigi $ 91 #define TAP_CLONEDEV "/dev/tap" 133 n->octet[0], n->octet[1], n->octet[2], in ether_ntoa() 134 n->octet[3], n->octet[4], n->octet[5]); in ether_ntoa() 184 static const char *default_payload = "netmap pkt-gen DIRECT payload\n" 187 static const char *indirect_payload = "netmap pkt-gen indirect payload\n" 193 #define VIRT_HDR_1 10 /* length of a base vnet-hdr */ 194 #define VIRT_HDR_2 12 /* length of the extenede vnet-hdr */ [all …]
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_80211.c | 1 /*- 2 * Copyright (c) 2020-2025 The FreeBSD Foundation 3 * Copyright (c) 2020-2025 Bjoern A. Zeeb 37 * for these (e.g., struct hw -> struct lkpi_hw, struct sta -> struct lkpi_sta). 39 * We call the internal versions lxxx (e.g., hw -> lhw, sta -> lsta). 44 * - lots :) 45 * - HW_CRYPTO: we need a "keystore" and an ordered list for suspend/resume. 96 /* XXX-BZ really want this and others in queue.h */ 98 (elm)->field.tqe_next = NULL; \ 99 (elm)->field.tqe_prev = NULL; \ [all …]
|