Home
last modified time | relevance | path

Searched +full:lower +full:- +full:cal (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_cal.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
27 #include "ar5212/ar5212.h" /* for NF cal related declarations */
61 * Analog-to-Digital Converters."
67 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416IsCalSupp() local
69 switch (calType & cal->suppCals) { in ar5416IsCalSupp()
71 /* Run IQ Mismatch for non-CCK only */ in ar5416IsCalSupp()
76 * Run ADC Gain Cal for either 5ghz any or 2ghz HT40. in ar5416IsCalSupp()
[all …]
H A Dar5416reg.h1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
34 #define AR_WA 0x4004 /* PCIE work-arounds */
120 /* RTC_DERIVED_* - only for AR9130 */
149 #define AR_TXOP_X 0x81ec /* txop for legacy non-qos */
154 /* generic timers based on tsf - all uS */
181 #define AR_SELFGEN_MASK 0x832c /* rx and cal chain masks */
284 #define AR_AHB_PAGE_SIZE_1K 0x00000000 /* set page-size as 1k */
[all …]
H A Dar5416_reset.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
33 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
122 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1); in ar5416Reset()
144 * Don't do this for the AR9285 - it breaks RX for single in ar5416Reset()
173 (ah->ah_config.ah_force_full_reset)) in ar5416Reset()
192 AH5416(ah)->ah_writeIni(ah, chan); in ar5416Reset()
230 * This routine swaps the analog chains - it should be done in ar5416Reset()
[all …]
/freebsd/sys/arm/freescale/imx/
H A Dimx6_anatop.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 * kitchen-sinked this device, not us. :)
46 * source describing i.MX6 SoCs, and in the linux and u-boot code which comes
51 * units (higher counts are lower temperatures). Items with '_val' in the name
52 * are deci-Celsius, which are converted to/from deci-Kelvins in the sysctl
81 { -1, 0 }
136 * value (0-3) from the ocotp CFG3 register into a mhz value that can be looked
141 #define TZ_ZEROC 2731 /* deci-Kelvin <-> deci-Celsius offset. */
149 return (bus_read_4(imx6_anatop_sc->res[MEMRES], offset)); in imx6_anatop_read_4()
[all …]
/freebsd/sys/dev/bwn/
H A Dif_bwn_phy_g.c1 /*-
2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org>
143 if (mac->mac_phy.hwpctl == 0 || mac->mac_phy.use_hwpctl == NULL) in bwn_has_hwpctl()
145 return (mac->mac_phy.use_hwpctl(mac)); in bwn_has_hwpctl()
151 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_g_attach()
152 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_attach()
153 struct bwn_phy_g *pg = &phy->phy_g; in bwn_phy_g_attach()
171 BWN_PHY_G_READVAR(sc->sc_dev, int8, BHND_NVAR_PA0ITSSIT, &bg); in bwn_phy_g_attach()
172 BWN_PHY_G_READVAR(sc->sc_dev, int16, BHND_NVAR_PA0B0, &pab0); in bwn_phy_g_attach()
173 BWN_PHY_G_READVAR(sc->sc_dev, int16, BHND_NVAR_PA0B1, &pab1); in bwn_phy_g_attach()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_reset.c121 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()
246 centers->synth_center - (extoff * HT40_CHANNEL_CENTER_SHIFT); in ar9300_get_channel_centers()
[all …]
H A Dar9300_eeprom.c91 AH9300(ah)->calibration_data_source = source; in ar9300_calibration_data_set()
100 return AH9300(ah)->calibration_data_source; in ar9300_calibration_data_get()
114 AH9300(ah)->calibration_data_source_address = size; in ar9300_calibration_data_address_set()
123 return AH9300(ah)->calibration_data_source_address; in ar9300_calibration_data_address_get()
150 mptr = &ahp->ah_eeprom; in ar9300_eeprom_template_install()
163 return -1; in ar9300_eeprom_template_install()
174 nptr = -1; in ar9300_eeprom_restore_something()
180 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something()
181 AH9300(ah)->calibration_data_source_address = 0; in ar9300_eeprom_restore_something()
194 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something()
[all …]
H A Dar9300eep.h32 /* FreeBSD extras - should be in ah_eeprom.h ? */
111 // 16-bit offset location start of calibration struct
146 (u_int8_t)((is_2ghz) ? ((freq) - 2300) : (((freq) - 4800) / 5))
246 u_int8_t device_type; // takes lower byte in eeprom location
249 u_int8_t feature_enable; //bit0 - enable tx temp comp
250 //bit1 - enable tx volt comp
251 //bit2 - enable fastClock - default to 1
252 //bit3 - enable doubling - default to 1
253 //bit4 - enable internal regulator - default to 1
254 //bit5 - enable paprd - default to 0
[all …]
H A Dar9300_paprd.c74 ar9300_eeprom_t *eep = &AH9300(ah)->ah_eeprom; in ar9300_paprd_setup_single_table()
76 #define ABS(_x, _y) ((int)_x > (int)_y ? (int)_x - (int)_y : (int)_y - (int)_x) in ar9300_paprd_setup_single_table()
78 ar9300_set_target_power_from_eeprom(ah, ichan->channel, target_power_val_t2); in ar9300_paprd_setup_single_table()
86 * In 5G there are 3 scale factors -- upper, mid and lower band. in ar9300_paprd_setup_single_table()
87 * Upper band scale factor is coded in bits 25-27 of in ar9300_paprd_setup_single_table()
89 * Mid band scale factor is coded in bits 28-30 of in ar9300_paprd_setup_single_table()
91 * Lower band scale factor is coded in bits 25-27 of in ar9300_paprd_setup_single_table()
93 * For 2G there is only one scale factor. It is saved in bits 25-27 of in ar9300_paprd_setup_single_table()
96 AH_PAPRD_GET_SCALE_FACTOR(paprd_scale_factor, eep, is_2g, ichan->channel); in ar9300_paprd_setup_single_table()
99 am_mask = ahp->ah_2g_paprd_rate_mask_ht40 & AH_PAPRD_AM_PM_MASK; in ar9300_paprd_setup_single_table()
[all …]
/freebsd/sys/dev/sfxge/common/
H A Dsiena_flash.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2016 Solarflare Communications Inc.
41 * - parsed by MC boot ROM and firmware
42 * - reserved (but not parsed) by PHY firmware
43 * - opaque to driver
133 /* with a lower security level than the current image. */
142 (SIENA_MC_BOOT_HDR_LEN - sizeof(siena_mc_boot_hdr_t))
157 efx_byte_t green_mode_valid; /* Whether cal holds a valid value */
193 #define SIENA_MC_EXPROM_SINGLE_MAGIC (0xAA55) /* little-endian uint16_t */
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c1 /*-
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 …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_reset.c1 /*-
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 Dar2316.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
62 #define AR2316(ah) ((struct ar2316State *) AH5212(ah)->ah_rfHal)
78 if (!ahp->ah_cwCalRequire) { in ar2316WriteRegs()
81 ahp->ah_cwCalRequire = AH_FALSE; in ar2316WriteRegs()
104 if (((freq - 2192) % 5) == 0) { in ar2316SetChannel()
105 channelSel = ((freq - 672) * 2 - 3040)/10; in ar2316SetChannel()
107 } else if (((freq - 2224) % 5) == 0) { in ar2316SetChannel()
[all …]
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_regs.h22 Boston, MA 02110-1301, USA.
32 /* N-PHY registers. */
41 #define BWN_NPHY_4WI_ADDR BWN_PHY_N(0x00B) /* Four-wire bus address */
42 #define BWN_NPHY_4WI_DATAHI BWN_PHY_N(0x00C) /* Four-wire bus data high */
43 #define BWN_NPHY_4WI_DATALO BWN_PHY_N(0x00D) /* Four-wire bus data low */
44 #define BWN_NPHY_BIST_STAT0 BWN_PHY_N(0x00E) /* Built-in self test status 0 */
45 #define BWN_NPHY_BIST_STAT1 BWN_PHY_N(0x00F) /* Built-in self test status 1 */
349 #define BWN_NPHY_IQLOCAL_CMD BWN_PHY_N(0x0C0) /* I/Q LO cal command */
351 #define BWN_NPHY_IQLOCAL_CMDNNUM BWN_PHY_N(0x0C1) /* I/Q LO cal command N num */
352 #define BWN_NPHY_IQLOCAL_CMDGCTL BWN_PHY_N(0x0C2) /* I/Q LO cal command G control */
[all …]
/freebsd/share/doc/usd/06.bc/
H A Dbc3 .\" Copyright (C) Caldera International Inc. 2001-2002.
39 .EH 'USD:6-%''BC \- An Arbitrary Precision Desk-Calculator Language'
40 .OH 'BC \- An Arbitrary Precision Desk-Calculator Language''USD:6-%'
44 BC \- An Arbitrary Precision Desk-Calculator Language
53 on the PDP-11 under the
55 time-sharing
58 arithmetic on indefinitely large integers and on scaled fixed-point
65 The language has a complete control structure as well as immediate-mode
68 Two five hundred-digit numbers can be multiplied to give a
76 .IP \-
[all …]
/freebsd/sys/netinet/libalias/
H A Dlibalias.31 .\"-
41 library is a collection of functions for aliasing and de-aliasing of IP
48 Incoming packets are then de-aliased so that they are sent to the correct
52 In the simplest mode of operation, a many-to-one address mapping takes
55 In addition, one-to-one mappings between local and public addresses can
59 many-to-one mappings.
76 .Bd -ragged -offset indent
88 .Bl -item -offset indent -compact
111 .Bd -ragged -offset indent
126 .Bd -ragged -offset indent
[all …]
/freebsd/sys/dev/gpio/
H A Dgpioths.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 * GPIOTHS - Temp/Humidity sensor over GPIO.
33 * output over single-wire protocol from embedded 8-bit microcontroller.
34 * Note that it uses a custom single-wire protocol, it is not 1-wire(tm).
37 * DHT11: Temp 0c to 50c +-2.0c, Humidity 20% to 90% +-5%
38 * DHT12: Temp -20c to 60c +-0.5c, Humidity 20% to 95% +-5%
39 * DHT21: Temp -40c to 80c +-0.3c, Humidity 0% to 100% +-3%
40 * DHT22: Temp -40c to 80c +-0.3c, Humidity 0% to 100% +-2%
109 ofw_bus_search_compatible(dev, compat_data)->ocd_data) in gpioths_probe()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dsnoc.c1 // SPDX-License-Identifier: ISC
46 "vdd-0.8-cx-mx",
47 "vdd-1.8-xo",
48 "vdd-1.3-rfa",
49 "vdd-3.3-ch0",
50 "vdd-3.3-ch1",
136 /* CE0: host->target HTC control streams */
145 /* CE1: target->host HTT + HTC control */
154 /* CE2: target->host WMI */
163 /* CE3: host->target WMI */
[all …]
/freebsd/sys/net/
H A Dsff8472.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2013 George V. Neville-Neil
30 * The following set of constants are from Document SFF-8472
40 * 0-95 Serial ID Defined by SFP MSA
41 * 96-127 Vendor Specific Data
42 * 128-255 Reserved
45 * 0-55 Alarm and Warning Thresholds
46 * 56-95 Cal Constants
47 * 96-119 Real Time Diagnostic Interface
[all …]
/freebsd/sys/dev/ath/
H A Dif_athvar.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
86 * The following bits can be set during the PCI (and perhaps non-PCI
108 * and station state to short-circuit node lookups on rx.
122 * Per-TID state
124 * Note that TID 16 (WME_NUM_TID+1) is for handling non-QoS frames.
148 * These are flags - perhaps later collapse
158 * from aggregation to non-aggregation?
162 * TXed/completed; at which point (non-aggregation)
[all …]
/freebsd/sys/dev/ath/ath_hal/
H A Dah.h1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
26 * structure for use with the device. Hardware-related operations that
67 * error occurs--i.e. you cannot check it for success.
81 HAL_EEWRITE = 11, /* Attempt to change write-locked EEPROM */
84 HAL_ESELFTEST = 14, /* Hardware self-test failed */
106 HAL_CAP_PSPOLL = 10, /* hardware has working PS-Poll support */
112 HAL_CAP_TPC = 16, /* per-packet tx power control */
[all …]
H A Dah_eeprom_v3.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
33 const uint16_t *ip = ee->ee_version < AR_EEPROM_VER3_2 ? in getPcdacInterceptsFromPcdacMinMax()
39 *vp++ = (ip[i] * pcdacMax + (100 - ip[i]) * pcdacMin) / 100; in getPcdacInterceptsFromPcdacMinMax()
50 return ee->ee_version <= AR_EEPROM_VER3_2 ? in fbin2freq()
51 (fbin > 62 ? 5100 + 10*62 + 5*(fbin-62) : 5100 + 10*fbin) : in fbin2freq()
60 return ee->ee_version <= AR_EEPROM_VER3_2 ? in fbin2freq_2p4()
78 if (ee->ee_version >= AR_EEPROM_VER4_0 && in readEepromFreqPierInfo()
[all …]
/freebsd/contrib/sendmail/
H A DRELEASE_NOTES13 - Prevent transaction stuffing by ensuring SMTP clients
19 - Accept only CRLF . CRLF as end of an SMTP message
22 - Do not accept a CR or LF except in the combination
31 are used, i.e., TLSA RR 2-x-y and 3-x-y are supported
76 because the -a. option has been removed (as it only
79 VACATION: Add support for Return-Path header to set sender
81 VACATION: Honor RFC3834 and avoid an auto-reply if
82 'Auto-Submitted: no' is found in the headers to
84 VACATION: Avoid an auto-reply if a 'List-Id:' is found in
119 When EAI is enabled, mailq prints UTF-8 addresses as such
[all …]
/freebsd/share/doc/psd/21.ipc/
H A D5.t58 support only in-band signaling (i.e. the urgent data is
75 of the out-of-band data, but only notification that it is pending.
101 then reads the out-of-band byte.
135 A process may also read or peek at the out-of-band data
138 the urgent data in-band with the normal data, and only sends
141 With such protocols, the out-of-band byte may not yet have arrived
144 Worse, there may be enough in-band data in the input buffer
153 This treatment is available as a socket-level option, SO_OOBINLINE;
159 but no out-of-band data are lost.
161 Non-Blocking Sockets
[all …]

12