/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_cal.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 44 * Determine if calibration is supported by device and channel flags 48 * ADC GAIN/DC offset calibration is for calibrating two ADCs that 49 * are acting as one by interleaving incoming symbols. This isn't 54 * It hasn't been confirmed whether doing this calibration is needed 61 * Analog-to-Digital Converters." [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/mediatek/ |
H A D | mtk-svs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/mediatek/mtk-sv [all...] |
/freebsd/sys/net/ |
H A D | sff8472.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2013 George V. Neville-Neil 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * The following set of constants are from Document SFF-8472 35 * long for the storage of data and diagnostics on cables, such as 39 * Base Address 0xa0 (Identification Data) 40 * 0-95 Serial ID Defined by SFP MSA 41 * 96-127 Vendor Specific Data 42 * 128-255 Reserved [all …]
|
/freebsd/lib/libsys/ |
H A D | ntp_adjtime.2 | 24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 61 to adjust the phase and frequency of the phase- or frequency-lock loop 78 .Bd -literal 85 int status; /* clock status bits (rw) */ 91 * The following read-only structure members are implemented 97 int shift; /* interval duration (s) (shift) (ro) */ 100 long calcnt; /* calibration intervals (ro) */ 101 long errcnt; /* calibration errors (ro) */ 109 .Bl -tag -width tolerance -compact 113 call (write-only). [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | tplink,safeloader-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TP-Link SafeLoader partitions 10 TP-Link home routers store various data on flash (e.g. bootloader, 11 flash layout, firmware, product info, configuration, calibration 12 data). That requires flash partitioning. 14 Flash space layout of TP-Link devices is stored on flash itself using 15 a custom ASCII-based format. That format was first found in TP-Link [all …]
|
H A D | brcm,bcm947xx-cfe-partitions.txt | 6 without any on-flash partition table. On some devices their sizes and/or 7 meanings can also vary so fixed partitioning can't be used. 19 2) NVRAM with configuration/calibration data 20 3) Device manufacturer's data with some default values (e.g. SSIDs) 34 - compatible : (required) must be "brcm,bcm947xx-cfe-partitions" 40 compatible = "brcm,bcm947xx-cfe-partitions";
|
H A D | brcm,bcm947xx-cfe-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 partitions without any on-flash partition table. On some devices their sizes 13 and/or meanings can also vary so fixed partitioning can't be used. 25 2) NVRAM with configuration/calibration data 26 3) Device manufacturer's data with some default values (e.g. SSIDs) 36 - Rafał Miłecki <rafal@milecki.pl> 42 const: brcm,bcm947xx-cfe-partitions [all …]
|
/freebsd/contrib/ntp/html/ |
H A D | clockopt.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 13 <!-- #BeginDate format:En2m -->26-Se [all...] |
H A D | howto.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 14 <!-- #BeginDate format:En2m -->10-Mar-2014 05:08<!-- #EndDate --> 24 <li class="inline"><a href="#pps">Pulse-per-Second Interface</a></li> 28 …hetic stratum of zero. The entire suite of algorithms filter the received data and select the best… 42 …econd. This can be used for housekeeping functions. In the case with pulse-per-second (PPS) signal… 44 … provides these data along with the on-time timestamp to the <tt>refclock_process</tt> routine, wh… 45 …roc</tt> structure, which contains for most drivers the decoded timecode, on-time timestamp, refer… 46 …dresses of the form <tt>127.127.<i>t</i>.<i>u</i></tt>, where <i>t</i> is the clock type and <i>u<… 47 …nique string. Each driver is assigned a unique type number, long-form driver name, short-form driv… [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | core.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 21 #include <linux/nvmem-consumer.h> 33 #include "wmi-ops.h" 64 MODULE_PARM_DESC(skip_otp, "Skip otp failure for calibration in testmode"); 65 MODULE_PARM_DESC(cryptmode, "Crypto mode: 0-hardware, 1-software"); 473 * or 2x2 160Mhz, long-guard-interval. 523 * 1x1 160Mhz, long-guard-interval. [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_time.c | 2 * Copyright (c) 2014-2019, Intel Corporation 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32 #include "intel-pt.h" 50 return -pte_internal; in pt_time_query_tsc() 52 *tsc = time->tsc; in pt_time_query_tsc() 55 *lost_mtc = time->lost_mtc; in pt_time_query_tsc() 57 *lost_cyc = time->lost_cyc; in pt_time_query_tsc() 59 if (!time->have_tsc) in pt_time_query_tsc() 60 return -pte_no_time; in pt_time_query_tsc() 68 return -pte_internal; in pt_time_query_cbr() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | location.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2015-2017 Intel Deutschland GmbH 4 * Copyright (C) 2018-2022 Intel Corporation 11 * enum iwl_location_subcmd_ids - location group command IDs 86 * struct iwl_tof_config_cmd - ToF configuration 88 * @one_sided_disabled: indicates if one-side 1697 u8 data[]; global() member [all...] |
/freebsd/sys/kern/ |
H A D | subr_clockcalib.c | 1 /*- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 * current best-available timecounter. 54 /*- in clockcalib() 55 * The idea here is to compute a best-fit linear regression between in clockcalib() 66 * on an ongoing basis, updating all five values after each new data in clockcalib() 74 * (variance(x) * variance(y) - covariance(x, y)^2) in clockcalib() 75 * ------------------------------------------------ in clockcalib() 76 * covariance(x, y)^2 * (N - 2) in clockcalib() 81 * Finally, we need to determine when to stop gathering data. We in clockcalib() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-phy-db.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2020-2021 Intel Corporation 10 #include "iwl-drv.h" 11 #include "iwl-phy-db.h" 12 #include "iwl-debug.h" 13 #include "iwl-op-mode.h" 14 #include "iwl-trans.h" 18 u8 *data; member 22 * struct iwl_phy_db - stores phy configuration and calibration data. 25 * @calib_nch: non channel specific calibration data. [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212phy.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 111 #define AR_PHY_AGC_CONTROL 0x9860 /* chip calibration and noise floor setting */ 112 #define AR_PHY_AGC_CONTROL_CAL 0x00000001 /* do internal calibration */ 113 #define AR_PHY_AGC_CONTROL_NF 0x00000002 /* do noise-floor calculation */ 114 #define AR_PHY_AGC_CONTROL_ENABLE_NF 0x00008000 /* Enable noise floor calibration to happen */ 115 #define AR_PHY_AGC_CONTROL_FLTR_CAL 0x00010000 /* Allow Filter calibration */ [all …]
|
/freebsd/sys/x86/x86/ |
H A D | tsc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1998-2003 Poul-Henning Kamp 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 66 &tsc_is_invariant, 0, "Indicates whether the TSC is P-state invariant"); 80 &tsc_shift, 0, "Shift to pre-apply for the maximum TSC frequency"); 89 "Disable early TSC frequency calibration"); 168 * we can use this value until late calibration is complete. 216 for (i = 0; i < sizeof(brand) - 1; i++) in tsc_freq_intel_brand() 220 p -= 5; in tsc_freq_intel_brand() [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_reset.c | 12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 121 ahp->ah_hwp = HAL_TRUE_CHIP; in ar9300_attach_hw_platform() 196 * Mask used to construct AAD for CCMP-AES in ar9300_init_mfp() 197 * Cisco spec defined bits 0-3 as mask in ar9300_init_mfp() 226 centers->ctl_center = centers->ext_center = in ar9300_get_channel_centers() 227 centers->synth_center = ichan->channel; in ar9300_get_channel_centers() 238 centers->synth_center = ichan->channel + HT40_CHANNEL_CENTER_SHIFT; in ar9300_get_channel_centers() 241 centers->synth_center = ichan->channel - HT40_CHANNEL_CENTER_SHIFT; in ar9300_get_channel_centers() 242 extoff = -1; in ar9300_get_channel_centers() 245 centers->ctl_center = in ar9300_get_channel_centers() [all …]
|
H A D | eeprom.diff | 12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 16 diff --git a/hal/ar9300/ar9300_eeprom.c b/hal/ar9300/ar9300_eeprom.c 18 --- a/hal/ar9300/ar9300_eeprom.c 20 @@ -342,6 +342,8 @@ ar9300_otp_read(struct ath_hal *ah, u_int off, u_int32_t *data, HAL_BOOL is_wifi 29 @@ -372,6 +374,7 @@ ar9300_otp_read(struct ath_hal *ah, u_int off, u_int32_t *data, HAL_BOOL is_wifi 32 *data = OS_REG_READ(ah, addr); 33 + //ath_hal_printf(ah, "%s: data=0x%x\n", __func__, *data); 37 @@ -603,6 +606,8 @@ ar9300_eeprom_attach(struct ath_hal *ah) 43 ahp->try_dram = 1; 44 ahp->try_eeprom = 1; [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_phy_db.c | 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 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. 84 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 90 /*- 91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 101 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN [all …]
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx6_snvs.c | 1 /*- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * Driver for imx6 Secure Non-Volatile Storage system, which really means "all 31 * realtime clock, tamper monitor, and power-management functions. Currently 49 #define LPCR_LPCALB_VAL_SHIFT 10 /* Calibration shift */ 50 #define LPCR_LPCALB_VAL_MASK 0x1f /* Calibration mask */ 51 #define LPCR_LPCALB_EN (1u << 8) /* Calibration enable */ 60 * The RTC is a 47-bit counter clocked at 32KHz and organized as a 32.15 61 * fixed-point binary value. Shifting by SBT_LSB bits translates between 66 #define SBT_LSB (SBT_BITS - RTC_BITS) [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. 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 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() [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | ich.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 /* -------------------------------------------------------------------- */ 80 #define ICH_LOCK(sc) snd_mtxlock((sc)->ich_lock) 81 #define ICH_UNLOCK(sc) snd_mtxunlock((sc)->ich_lock) 82 #define ICH_LOCK_ASSERT(sc) snd_mtxassert((sc)->ich_lock) 145 "AMD-768" }, 147 "AMD-8111" } 174 /* device private data */ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_attach.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2008-2009 Sam Leffler, Errno Consulting 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 85 .totalSizeDesired = { -55, -55, -55, -55, -62 }, in ar9287AniSetup() 86 .coarseHigh = { -14, -14, -14, -14, -12 }, in ar9287AniSetup() 87 .coarseLow = { -64, -64, -64, -64, -70 }, in ar9287AniSetup() 88 .firpwr = { -78, -78, -78, -78, -80 }, in ar9287AniSetup() 102 AH5416(ah)->ah_ani_function &= ~ HAL_ANI_NOISE_IMMUNITY_LEVEL; in ar9287AniSetup() 137 ah = &ahp->ah_priv.h; in ar9287Attach() [all …]
|
H A D | ar9280_olc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 53 AH9280(ah)->originalGain[i] = MS(OS_REG_READ(ah, in ar9280olcInit() 56 AH9280(ah)->PDADCdelta = 0; in ar9280olcInit() 87 while (pcdac > AH9280(ah)->originalGain[i] && in ar9280olcGetTxGainIndex() 88 i < (AR9280_TX_GAIN_TABLE_SIZE - 1)) in ar9280olcGetTxGainIndex() 120 * Run temperature compensation calibration. 143 __func__, AH5416(ah)->initPDADC, currPDADC); in ar9280olcTemperatureCompensation() 145 if (AH5416(ah)->initPDADC == 0 || currPDADC == 0) in ar9280olcTemperatureCompensation() [all …]
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwn_chip_cfg.h | 1 /*- 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 28 * Flags for managing calibration result. See calib_need 40 * These aren't (yet) included in the calibcmd array, but 60 * Refer to linux specific file like iwl-xxxx.c to determine correct value 76 * See iwl-agn-devices.c file to determine that(enhanced_txpower) 77 * @need_temp_offset_calib : Need to compute some temp offset for calibration. 79 * calibration data ucode need. See calib_init_cfg in iwl-xxxx.c 141 .max_ll_items = IWN_OTP_MAX_LL_ITEMS_6x00, /* max_ll_items - ignored for 4965 */ 146 .additional_nic_config = false, /* additional_nic_config - not for 4965 */ [all …]
|