/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | adi,ad7944.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 11 - Nuno Sá <nuno.sa@analog.com> 14 A family of pin-compatible single channel differential analog to digital 21 $ref: /schemas/spi/spi-peripheral-props.yaml# 26 - adi,ad7944 27 - adi,ad7985 28 - adi,ad7986 [all …]
|
/freebsd/tools/tools/net80211/wlantxtime/ |
H A D | wlantxtime.c | 1 /*- 2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting 28 * IEEE 802.11 PHY-related support. 51 uint8_t phy; /* CCK/OFDM/TURBO */ 72 exit(-1); \ 84 exit(-1); in panic() 90 #define TURBO IEEE80211_T_TURBO macro 183 [0] = { .phy = TURBO, 12000, 0x00, B(12), 0 }, 184 [1] = { .phy = TURBO, 24000, 0x00, B(24), 1 }, 185 [2] = { .phy = TURBO, 36000, 0x00, 36, 1 }, [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_phy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 30 * IEEE 802.11 PHY-related support. 64 #define TURBO IEEE80211_T_TURBO macro 160 [0] = { .phy = TURBO, 12000, 0x00, B(12), 0 }, 161 [1] = { .phy = TURBO, 24000, 0x00, B(24), 1 }, 162 [2] = { .phy = TURBO, 36000, 0x00, 36, 1 }, 163 [3] = { .phy = TURBO, 48000, 0x00, B(48), 3 }, 164 [4] = { .phy = TURBO, 72000, 0x00, 72, 3 }, [all …]
|
H A D | ieee80211_scan_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 99 (((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % STA_HASHSIZE) 112 /* ap-related state */ 119 * for use. If non-zero the entry was deemed not suitable and it's 174 TAILQ_INIT(&st->st_entry); in sta_attach() 175 ss->ss_priv = st; in sta_attach() 186 struct sta_table *st = ss->ss_priv; in sta_detach() 194 nrefs--; /* NB: we assume caller locking */ in sta_detach() [all …]
|
H A D | ieee80211_superg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 54 * Atheros fast-frame encapsulation format. 60 /* fast frame header is 32-bits */ 91 &ieee80211_ffppsmin, 0, "min packet rate before fast-frame staging"); 92 static int ieee80211_ffagemax = -1; /* max time frames held on stage q */ 96 "max hold time for fast-frame staging (ms)"); 112 IEEE80211_FF_LOCK_INIT(ic, ic->ic_name); in ieee80211_superg_attach() 122 TIMEOUT_TASK_INIT(ic->ic_tq, &sg->ff_qtimer, 0, ff_age_all, ic); in ieee80211_superg_attach() [all …]
|
H A D | ieee80211_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 81 ic->ic_vattach[IEEE80211_M_STA] = sta_vattach; in ieee80211_sta_attach() 97 vap->iv_newstate = sta_newstate; in sta_vattach() 98 vap->iv_input = sta_input; in sta_vattach() 99 vap->iv_recv_mgmt = sta_recv_mgmt; in sta_vattach() 100 vap->iv_recv_ctl = sta_recv_ctl; in sta_vattach() 101 vap->iv_opdetach = sta_vdetach; in sta_vattach() 102 vap->iv_bmiss = sta_beacon_miss; in sta_vattach() [all …]
|
H A D | ieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 135 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init() 136 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init() 141 KASSERT(0 < ic->ic_nchans && ic->ic_nchans <= IEEE80211_CHAN_MAX, in ieee80211_chan_init() 142 ("invalid number of channels specified: %u", ic->ic_nchans)); in ieee80211_chan_init() 143 memset(ic->ic_chan_avail, 0, sizeof(ic->ic_chan_avail)); in ieee80211_chan_init() 144 memset(ic->ic_modecaps, 0, sizeof(ic->ic_modecaps)); in ieee80211_chan_init() 145 setbit(ic->ic_modecaps, IEEE80211_MODE_AUTO); in ieee80211_chan_init() [all …]
|
/freebsd/sys/amd64/vmm/intel/ |
H A D | vmx_msr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 * and what bits should be set to zero in 'zeros_mask'. The don't-care 74 * Returns zero on success and non-zero on error. 150 byte = 1024 + (msr - 0xC0000000) / 8; in msr_bitmap_change_access() 285 * The register definition is based on the micro-architecture in vmx_msr_init() 286 * but the following bits are always the same: in vmx_msr_init() 287 * [15:8] Maximum Non-Turbo Ratio in vmx_msr_init() 288 * [28] Programmable Ratio Limit for Turbo Mode in vmx_msr_init() 289 * [29] Programmable TDC-TDP Limit for Turbo Mode in vmx_msr_init() [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig.8 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-3-Clause 93 .Bl -tag -width indent 120 The format is specified as a comma-separated list of 141 .Bl -tag -width default 145 .Bl -tag -width default -compact 158 Adjust the display of link-level ethernet (MAC) addresses: 160 .Bl -tag -width default -compact 175 .Bl -tag -width default -compact 192 .Bl -tag -width default -compact [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | zutil.c | 1 /* zutil.c -- target dependent utility functions for the compression library 2 * Copyright (C) 1995-2017 Jean-loup Gailly 17 (z_const char *)"file error", /* Z_ERRNO (-1) */ 18 (z_const char *)"stream error", /* Z_STREAM_ERROR (-2) */ 19 (z_const char *)"data error", /* Z_DATA_ERROR (-3) */ 20 (z_const char *)"insufficient memory", /* Z_MEM_ERROR (-4) */ 21 (z_const char *)"buffer error", /* Z_BUF_ERROR (-5) */ 22 (z_const char *)"incompatible version",/* Z_VERSION_ERROR (-6) */ 136 /* The older Microsoft C Run-Time Library for Windows CE doesn't have 138 * Its value is always 0 and should not be used. [all …]
|
H A D | ChangeLog | 5 - Reject overflows of zip header fields in minizip 6 - Fix bug in inflateSync() for data held in bit buffer 7 - Add LIT_MEM define to use more memory for a small deflate speedup 8 - Fix decision on the emission of Zip64 end records in minizip 9 - Add bounds checking to ERR_MSG() macro, used by zError() 10 - Neutralize zip file traversal attacks in miniunz 11 - Fix a bug in ZLIB_DEBUG compiles in check_match() 12 - Various portability and appearance improvements 15 - Remove K&R function definitions and zlib2ansi 16 - Fix bug in deflateBound() for level 0 and memLevel 9 [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 78 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)] in write_common() 82 for (r = 0; r < ia->rows; r++) { in write_common() 141 HALASSERT(ah->ah_magic == AR5212_MAGIC); in ar5212Reset() 142 ee = AH_PRIVATE(ah)->ah_eeprom; in ar5212Reset() 171 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER3); in ar5212Reset() 188 * only) - the best and most general fix for this situation in ar5212Reset() [all …]
|
H A D | ar5212_ani.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 35 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul)) 37 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \ 51 * ANI_ENA_RSSI indicates whether rssi-based processing should 60 (AH5212(ah)->ah_procPhyErr & HAL_ANI_ENA) 62 (AH5212(ah)->ah_procPhyErr & HAL_RSSI_ANI_ENA) 73 __func__, params->ofdmPhyErrBase, params->cckPhyErrBase); in enableAniMIBCounters() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | msvc | 2 #------------------------------------------------------------------------------ 18 # https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats 19 # https://learn.microsoft.com/en-us/windows/win32/menurc/resourceheader 22 # Resource file starts with an empty resource entry with 32-byte long header in 31 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/l/lib-msvc.trid.xml 32 # https://pierrelib.pagesperso-orange.fr/exec_formats/OMF_v1.1.pdf 43 >>0 use omf-lib 45 0 name omf-lib 51 #!:mime application/octet-stream 52 !:mime application/x-omf-lib [all …]
|
/freebsd/lib/libpmc/ |
H A D | pmc.westmereuc.3 | 44 .Bl -tag -width "Li PMC_CLASS_UCP" 46 Fixed-function counters that count only one hardware event per counter. 58 .%B "Intel(R) 64 and IA-32 Architectures Software Developes Manual" 60 .%N "Order Number: 253669-033US" 67 Not all CPUs in this family implement fixed-function counters. 70 .Bl -column "PMC_CAP_INTERRUPT" "Support" 87 .Bl -tag -width indent 93 Configure the PMC to count the number of de-asserted to asserted 108 .Bl -tag -width indent 283 Writebacks from the cores will always result in L3 hits due to the [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | am33xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/am33xx.h> 11 #include <dt-bindings/clock/am3.h> 15 interrupt-parent = <&intc>; 16 #address-cells = <1>; 17 #size-cells = <1>; 30 d-can0 = &dcan0; [all …]
|
/freebsd/tools/tools/ath/athrd/ |
H A D | athrd.c | 1 /*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 171 HAL_CAPABILITIES *pCap = &ahp->ah_caps; in getChannelEdges() 174 *low = pCap->halLow5GhzChan; in getChannelEdges() 175 *high = pCap->halHigh5GhzChan; in getChannelEdges() 179 *low = pCap->halLow2GhzChan; in getChannelEdges() 180 *high = pCap->halHigh2GhzChan; in getChannelEdges() 230 NULL1_WORLD = 0x03, /* For 11b-only countries (no 11a allowed) */ 235 FCC4_FCCA = 0x12, /* USA - Public Safety */ 262 MKK1_FCCA = 0x48, /* Japan (JP1-1) */ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2004 Atheros Communications, Inc. 51 * on the host machine (don't know--the problem was identified 78 const HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom; in ar5210Reset() 86 opmode, chan->ic_freq, chan->ic_flags, in ar5210Reset() 101 __func__, chan->ic_freq, chan->ic_flags); in ar5210Reset() 126 OS_REG_WRITE(ah, AR_STA_ID0, LE_READ_4(ahp->ah_macaddr)); in ar5210Reset() 127 OS_REG_WRITE(ah, AR_STA_ID1, LE_READ_2(ahp->ah_macaddr + 4)); in ar5210Reset() [all …]
|
H A D | ar5210_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2004 Atheros Communications, Inc. 31 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5210GetMacAddress() 46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5210SetMacAddress() 101 if (AH_PRIVATE(ah)->ah_currentRD == regDomain) { in ar5210SetRegulatoryDomain() 108 * permit re-writing that segment of the EEPROM. in ar5210SetRegulatoryDomain() 131 /* XXX could enable turbo mode but can't do all rates */ in ar5210GetWirelessModes() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | BEGEMOT-WIRELESS-MIB.txt | 1 -- 2 -- Copyright (C) 2010 The FreeBSD Foundation 3 -- 4 -- This documentation was written by Shteryana Sotirova Shopova under 5 -- sponsorship from the FreeBSD Foundation. 6 -- 7 -- Redistribution and use in source and binary forms, with or without 8 -- modification, are permitted provided that the following conditions 9 -- are met: 10 -- 1. Redistributions of source code must retain the above copyright [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 50 { 1, 0x46, 96 }, /* 2312 -19 */ 51 { 1, 0x46, 97 }, /* 2317 -18 */ 52 { 1, 0x46, 98 }, /* 2322 -17 */ 53 { 1, 0x46, 99 }, /* 2327 -16 */ 54 { 1, 0x46, 100 }, /* 2332 -15 */ 55 { 1, 0x46, 101 }, /* 2337 -14 */ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_ani.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 39 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul)) 41 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \ 55 * ANI_ENA_RSSI indicates whether rssi-based processing should 64 (AH5212(ah)->ah_procPhyErr & HAL_ANI_ENA) 66 (AH5212(ah)->ah_procPhyErr & HAL_RSSI_ANI_ENA) 77 __func__, params->ofdmPhyErrBase, params->cckPhyErrBase); in enableAniMIBCounters() [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | if_smsc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Microchip LAN9xxx devices (https://www.microchip.com/en-us/product/lan9500a) 33 * The LAN9500 & LAN9500A devices are stand-alone USB to Ethernet chips that 47 * --------------------------------- 52 * the Ethernet frame, this means if the frame is padded with non-zero values 167 device_printf((sc)->sc_ue.ue_dev, "debug: " fmt, ##args); \ 174 device_printf((sc)->sc_ue.ue_dev, "warning: " fmt, ##args) 177 device_printf((sc)->sc_ue.ue_dev, "error: " fmt, ##args) 252 * smsc_read_reg - Reads a 32-bit register on the device [all …]
|
/freebsd/sys/contrib/openzfs/man/man4/ |
H A D | zfs.4 | 2 .\" Copyright (c) 2013 by Turbo Fredriksson <turbo@bayour.com>. All rights reserved. 9 .\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0. 31 .Bl -tag -width Ds 102 Turbo L2ARC warm-up. 179 Percent of ARC size allowed for L2ARC-only headers. 252 before moving on to the next top-level vdev. 255 Enable metaslab group biasing based on their vdevs' over- or under-utilization 305 When attempting to log an output nvlist of an ioctl in the on-disk history, 310 .Fn zfs_ioc_channel_program Pq cf. Xr zfs-program 8 . 316 Enable/disable segment-based metaslab selection. [all …]
|
/freebsd/contrib/flex/ |
H A D | ONEWS | 3 - Fixed a bug introduced in 2.5.3 that blew it when a call 6 - Fixed scanner skeleton so the example in the man page of 9 - Minor Makefile tweaks. 14 - Some serious bugs in yymore() have been fixed. In particular, 15 when using AT&T-lex-compatibility or %array, you can intermix 19 - A bug in handling NUL's in the input stream of scanners using 22 - The default main() in libfl.a now repeatedly calls yylex() until 25 - Minor tweak for Windows NT Makefile, MISC/NT/Makefile. 30 - The --prefix configuration option now works. 32 - A bug that completely broke the "-Cf" table compression [all …]
|