Home
last modified time | relevance | path

Searched full:cal (Results 1 – 25 of 186) sorted by relevance

12345678

/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_cal.c27 #include "ar5212/ar5212.h" /* for NF cal related declarations */
67 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416IsCalSupp() local
69 switch (calType & cal->suppCals) { in ar5416IsCalSupp()
76 * Run ADC Gain Cal for either 5ghz any or 2ghz HT40. in ar5416IsCalSupp()
94 * Setup HW to collect samples used for current cal
127 /* Kick-off cal */ in ar5416SetupMeasurement()
132 * Initialize shared data structures and prepare a cal to be run.
137 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416ResetMeasurement() local
140 OS_MEMZERO(cal->caldata, sizeof(cal->caldata)); in ar5416ResetMeasurement()
141 cal->calSamples = 0; in ar5416ResetMeasurement()
[all …]
H A Dar5416_cal_adcdc.c29 /* Adc DC Offset Cal aliases */
38 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416AdcDcCalCollect() local
42 cal->totalAdcDcOffsetIOddPhase(i) += (int32_t) in ar5416AdcDcCalCollect()
44 cal->totalAdcDcOffsetIEvenPhase(i) += (int32_t) in ar5416AdcDcCalCollect()
46 cal->totalAdcDcOffsetQOddPhase(i) += (int32_t) in ar5416AdcDcCalCollect()
48 cal->totalAdcDcOffsetQEvenPhase(i) += (int32_t) in ar5416AdcDcCalCollect()
53 cal->calSamples, i, in ar5416AdcDcCalCollect()
54 cal->totalAdcDcOffsetIOddPhase(i), in ar5416AdcDcCalCollect()
55 cal->totalAdcDcOffsetIEvenPhase(i), in ar5416AdcDcCalCollect()
56 cal->totalAdcDcOffsetQOddPhase(i), in ar5416AdcDcCalCollect()
[all …]
H A Dar5416_cal_adcgain.c29 /* Adc Gain Cal aliases */
41 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416AdcGainCalCollect() local
45 * Accumulate ADC Gain cal measures for active chains in ar5416AdcGainCalCollect()
48 cal->totalAdcIOddPhase(i) += in ar5416AdcGainCalCollect()
50 cal->totalAdcIEvenPhase(i) += in ar5416AdcGainCalCollect()
52 cal->totalAdcQOddPhase(i) += in ar5416AdcGainCalCollect()
54 cal->totalAdcQEvenPhase(i) += in ar5416AdcGainCalCollect()
59 cal->calSamples, i, cal->totalAdcIOddPhase(i), in ar5416AdcGainCalCollect()
60 cal->totalAdcIEvenPhase(i), cal->totalAdcQOddPhase(i), in ar5416AdcGainCalCollect()
61 cal->totalAdcQEvenPhase(i)); in ar5416AdcGainCalCollect()
[all …]
H A Dar5416_cal_iq.c29 /* IQ Cal aliases */
40 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416IQCalCollect() local
44 * Accumulate IQ cal measures for active chains in ar5416IQCalCollect()
47 cal->totalPowerMeasI(i) += in ar5416IQCalCollect()
49 cal->totalPowerMeasQ(i) += in ar5416IQCalCollect()
51 cal->totalIqCorrMeas(i) += (int32_t) in ar5416IQCalCollect()
55 cal->calSamples, i, cal->totalPowerMeasI(i), in ar5416IQCalCollect()
56 cal->totalPowerMeasQ(i), cal->totalIqCorrMeas(i)); in ar5416IQCalCollect()
66 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416IQCalibration() local
70 uint32_t powerMeasI = cal->totalPowerMeasI(i); in ar5416IQCalibration()
[all …]
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_radio_2055.h67 #define B2055_CAL_MISC 0x24 /* CAL MISC */
68 #define B2055_CAL_COUT 0x25 /* CAL Counter out */
69 #define B2055_CAL_COUT2 0x26 /* CAL Counter out 2 */
70 #define B2055_CAL_CVARCTL 0x27 /* CAL CVAR Control */
71 #define B2055_CAL_RVARCTL 0x28 /* CAL RVAR Control */
72 #define B2055_CAL_LPOCTL 0x29 /* CAL LPO Control */
73 #define B2055_CAL_TS 0x2A /* CAL TS */
74 #define B2055_CAL_RCCALRTS 0x2B /* CAL RCCAL READ TS */
75 #define B2055_CAL_RCALRTS 0x2C /* CAL RCAL READ TS */
82 #define B2055_PLL_CALVTH 0x33 /* PLL CAL VTH */
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dphy.c35 s8 *gain_adj = dev->cal.rx.high_gain; in mt76x2_apply_gain_adj()
209 if (!dev->cal.tssi_cal_done) in mt76x2_phy_tssi_compensate()
212 if (!dev->cal.tssi_comp_pending) { in mt76x2_phy_tssi_compensate()
216 dev->cal.tssi_comp_pending = true; in mt76x2_phy_tssi_compensate()
221 dev->cal.tssi_comp_pending = false; in mt76x2_phy_tssi_compensate()
234 if (t.pa_mode || dev->cal.dpd_cal_done || dev->ed_tx_blocked) in mt76x2_phy_tssi_compensate()
239 dev->cal.dpd_cal_done = true; in mt76x2_phy_tssi_compensate()
250 gain_val[0] = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()
251 gain_val[1] = dev->cal.agc_gain_cur[1] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()
276 u8 *gain = dev->cal.agc_gain_init; in mt76x2_phy_update_channel_gain()
[all …]
H A Dusb_phy.c16 if (dev->cal.channel_cal_done) in mt76x2u_phy_channel_calibrate()
39 dev->cal.channel_cal_done = true; in mt76x2u_phy_channel_calibrate()
90 dev->cal.channel_cal_done = false; in mt76x2u_phy_set_channel()
141 mt76x2_mcu_init_gain(dev, channel, dev->cal.rx.mcu_gain, true); in mt76x2u_phy_set_channel()
147 if (!dev->cal.init_cal_done) { in mt76x2u_phy_set_channel()
157 if (!dev->cal.init_cal_done) in mt76x2u_phy_set_channel()
159 dev->cal.init_cal_done = true; in mt76x2u_phy_set_channel()
194 dev->cal.tssi_cal_done = true; in mt76x2u_phy_set_channel()
H A Dpci_phy.c31 dev->cal.tssi_cal_done = true; in mt76x2_phy_tssi_init_cal()
41 if (dev->cal.channel_cal_done) in mt76x2_phy_channel_calibrate()
47 if (!dev->cal.tssi_cal_done) in mt76x2_phy_channel_calibrate()
68 dev->cal.channel_cal_done = true; in mt76x2_phy_channel_calibrate()
152 dev->cal.channel_cal_done = false; in mt76x2_phy_set_channel()
204 mt76x2_mcu_init_gain(dev, channel, dev->cal.rx.mcu_gain, true); in mt76x2_phy_set_channel()
212 if (!dev->cal.init_cal_done) { in mt76x2_phy_set_channel()
222 if (!dev->cal.init_cal_done) in mt76x2_phy_set_channel()
225 dev->cal.init_cal_done = true; in mt76x2_phy_set_channel()
265 dev->cal.temp = temp; in mt76x2_phy_temp_compensate()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_phy.c171 u8 limit = dev->cal.low_gain > 0 ? 16 : 4; in mt76x02_phy_adjust_vga_gain()
177 dev->cal.false_cca = false_cca; in mt76x02_phy_adjust_vga_gain()
178 if (false_cca > 800 && dev->cal.agc_gain_adjust < limit) { in mt76x02_phy_adjust_vga_gain()
179 dev->cal.agc_gain_adjust += 2; in mt76x02_phy_adjust_vga_gain()
181 } else if ((false_cca < 10 && dev->cal.agc_gain_adjust > 0) || in mt76x02_phy_adjust_vga_gain()
182 (dev->cal.agc_gain_adjust >= limit && false_cca < 500)) { in mt76x02_phy_adjust_vga_gain()
183 dev->cal.agc_gain_adjust -= 2; in mt76x02_phy_adjust_vga_gain()
187 dev->cal.agc_lowest_gain = dev->cal.agc_gain_adjust >= limit; in mt76x02_phy_adjust_vga_gain()
195 dev->cal.agc_gain_init[0] = mt76_get_field(dev, MT_BBP(AGC, 8), in mt76x02_init_agc_gain()
197 dev->cal.agc_gain_init[1] = mt76_get_field(dev, MT_BBP(AGC, 9), in mt76x02_init_agc_gain()
[all …]
H A Dmt76x02_debugfs.c79 seq_printf(file, "avg_rssi: %d\n", dev->cal.avg_rssi_all); in read_agc()
80 seq_printf(file, "low_gain: %d\n", dev->cal.low_gain); in read_agc()
81 seq_printf(file, "false_cca: %d\n", dev->cal.false_cca); in read_agc()
82 seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust); in read_agc()
142 debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); in mt76x02_init_debugfs()
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dti,cal.yaml4 $id: http://devicetree.org/schemas/media/ti,cal.yaml#
7 title: Texas Instruments DRA72x CAMERA ADAPTATION LAYER (CAL)
13 The Camera Adaptation Layer (CAL) is a key component for image capture
18 CAL supports 2 camera port nodes on MIPI bus.
24 - ti,dra72-cal
26 - ti,dra72-pre-es2-cal
28 - ti,dra76-cal
30 - ti,am654-cal
35 - description: The CAL main register region
127 cal: cal@4845b000 {
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_filegen.c109 struct calendar cal; in filegen_open() local
154 ntpcal_ntp_to_date(&cal, stamp, pivot); in filegen_open()
156 SUFFIX_SEP, cal.year, cal.month, cal.monthday); in filegen_open()
157 cal.hour = cal.minute = cal.second = 0; in filegen_open()
158 gen->id_lo = ntpcal_date_to_ntp(&cal); in filegen_open()
173 ntpcal_ntp_to_date(&cal, stamp, pivot); in filegen_open()
175 SUFFIX_SEP, cal.year, cal.month); in filegen_open()
176 cal.hour = cal.minute = cal.second = 0; in filegen_open()
177 cal.monthday = 1; in filegen_open()
178 gen->id_lo = ntpcal_date_to_ntp(&cal); in filegen_open()
[all …]
/freebsd/usr.bin/ncal/tests/
H A Dregress.sh3 CAL="${CAL_BIN} -C"
23 REGRESSION_TEST(`b-y${y}-md-nhl', `$CAL -h ${y}')
27 REGRESSION_TEST(`b-y${y}-jd-nhl', `$CAL -jh ${y}')
37 REGRESSION_TEST(`b-3m${ONEYEAR}${m}-md-nhl', `$CAL -h3 ${m} ${ONEYEAR}')
42 REGRESSION_TEST(`b-3m${ONEYEAR}${m}-jd-nhl', `$CAL -jh3 ${m} ${ONEYEAR}')
64 REGRESSION_TEST(`s-b-3-nhl', `$CAL -d 2008.03 -3')
65 REGRESSION_TEST(`s-b-A-nhl', `$CAL -d 2008.03 -A 1')
66 REGRESSION_TEST(`s-b-B-nhl', `$CAL -d 2008.03 -B 1')
67 REGRESSION_TEST(`s-b-AB-nhl', `$CAL -d 2008.03 -A 1 -B 1')
68 REGRESSION_TEST(`s-b-m-nhl', `$CAL -d 2008.03 -m 1')
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dchrono.cppm
H A Dchrono.inc133 // [time.cal.last], class last_spec
136 // [time.cal.day], class day
139 // [time.cal.month], class month
142 // [time.cal.year], class year
145 // [time.cal.wd], class weekday
148 // [time.cal.wdidx], class weekday_indexed
151 // [time.cal.wdlast], class weekday_last
154 // [time.cal.md], class month_day
157 // [time.cal.mdlast], class month_day_last
160 // [time.cal.mwd], class month_weekday
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nvidia/
H A Dtegra124-apalis-emc.dtsi317 nvidia,emc-auto-cal-config = <0xa1430000>;
318 nvidia,emc-auto-cal-config2 = <0x00000000>;
319 nvidia,emc-auto-cal-config3 = <0x00000000>;
320 nvidia,emc-auto-cal-interval = <0x001fffff>;
414 nvidia,emc-auto-cal-config = <0xa1430000>;
415 nvidia,emc-auto-cal-config2 = <0x00000000>;
416 nvidia,emc-auto-cal-config3 = <0x00000000>;
417 nvidia,emc-auto-cal-interval = <0x001fffff>;
511 nvidia,emc-auto-cal-config = <0xa1430000>;
512 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
H A Dtegra124-jetson-tk1-emc.dtsi421 nvidia,emc-auto-cal-config = <0xa1430000>;
422 nvidia,emc-auto-cal-config2 = <0x00000000>;
423 nvidia,emc-auto-cal-config3 = <0x00000000>;
424 nvidia,emc-auto-cal-interval = <0x001fffff>;
589 nvidia,emc-auto-cal-config = <0xa1430000>;
590 nvidia,emc-auto-cal-config2 = <0x00000000>;
591 nvidia,emc-auto-cal-config3 = <0x00000000>;
592 nvidia,emc-auto-cal-interval = <0x001fffff>;
757 nvidia,emc-auto-cal-config = <0xa1430000>;
758 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
H A Dtegra124-nyan-blaze-emc.dtsi383 nvidia,emc-auto-cal-config = <0xa1430000>;
384 nvidia,emc-auto-cal-config2 = <0x00000000>;
385 nvidia,emc-auto-cal-config3 = <0x00000000>;
386 nvidia,emc-auto-cal-interval = <0x001fffff>;
551 nvidia,emc-auto-cal-config = <0xa1430000>;
552 nvidia,emc-auto-cal-config2 = <0x00000000>;
553 nvidia,emc-auto-cal-config3 = <0x00000000>;
554 nvidia,emc-auto-cal-interval = <0x001fffff>;
719 nvidia,emc-auto-cal-config = <0xa1430000>;
720 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
H A Dtegra124-nyan-big-emc.dtsi1134 nvidia,emc-auto-cal-config = <0xa1430000>;
1135 nvidia,emc-auto-cal-config2 = <0x00000000>;
1136 nvidia,emc-auto-cal-config3 = <0x00000000>;
1137 nvidia,emc-auto-cal-interval = <0x001fffff>;
1302 nvidia,emc-auto-cal-config = <0xa1430000>;
1303 nvidia,emc-auto-cal-config2 = <0x00000000>;
1304 nvidia,emc-auto-cal-config3 = <0x00000000>;
1305 nvidia,emc-auto-cal-interval = <0x001fffff>;
1470 nvidia,emc-auto-cal-config = <0xa1430000>;
1471 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
/freebsd/sys/arm/nvidia/
H A Dtegra_soctherm.c402 struct soctherm_shared_cal *cal; in tegra124_shared_cal() local
404 cal = &sc->shared_cal; in tegra124_shared_cal()
406 cal->base_cp = TEGRA124_FUSE_COMMON_CP_TS_BASE(val); in tegra124_shared_cal()
407 cal->base_ft = TEGRA124_FUSE_COMMON_FT_TS_BASE(val); in tegra124_shared_cal()
418 cal->actual_temp_cp = 2 * TEGRA124_NOMINAL_CALIB_CP + calib_cp; in tegra124_shared_cal()
419 cal->actual_temp_ft = 2 * TEGRA124_NOMINAL_CALIB_FT + calib_ft; in tegra124_shared_cal()
423 __func__, cal->base_cp, cal->base_ft, in tegra124_shared_cal()
424 cal->actual_temp_cp, cal->actual_temp_ft); in tegra124_shared_cal()
433 struct soctherm_shared_cal *cal; in tegra210_shared_cal() local
435 cal = &sc->shared_cal; in tegra210_shared_cal()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dnvidia,tegra124-emc.yaml71 nvidia,emc-auto-cal-config:
77 nvidia,emc-auto-cal-config2:
83 nvidia,emc-auto-cal-config3:
89 nvidia,emc-auto-cal-interval:
317 - nvidia,emc-auto-cal-config
318 - nvidia,emc-auto-cal-config2
319 - nvidia,emc-auto-cal-config3
320 - nvidia,emc-auto-cal-interval
385 nvidia,emc-auto-cal-config = <0xa1430000>;
386 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
/freebsd/usr.bin/ncal/
H A Dncal.129 .Dt CAL 1
32 .Nm cal ,
93 .Nm cal
141 .Nm cal
159 .Dq Li cal 89
168 .Dq Li cal -m 8
/freebsd/contrib/bsddialog/examples_library/
H A Dcalendar.c20 time_t cal; in main() local
23 time(&cal); in main()
24 localtm = localtime(&cal); in main()
H A Ddatebox.c20 time_t cal; in main() local
23 time(&cal); in main()
24 localtm = localtime(&cal); in main()
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dmxs-usb-phy.txt18 - fsl,tx-cal-45-dn-ohms: Integer [35-54]. Resistance (in ohms) of switchable
21 - fsl,tx-cal-45-dp-ohms: Integer [35-54]. Resistance (in ohms) of switchable
24 - fsl,tx-d-cal: Integer [79-119]. Current trimming value (as a percentage) of

12345678