Searched refs:cal (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-current/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_cal_adcdc.c38 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
42 cal->totalAdcDcOffsetIOddPhase(i) += (int32_t)
44 cal->totalAdcDcOffsetIEvenPhase(i) += (int32_t)
46 cal->totalAdcDcOffsetQOddPhase(i) += (int32_t)
48 cal->totalAdcDcOffsetQEvenPhase(i) += (int32_t)
53 cal->calSamples, i,
54 cal->totalAdcDcOffsetIOddPhase(i),
55 cal->totalAdcDcOffsetIEvenPhase(i),
56 cal->totalAdcDcOffsetQOddPhase(i),
57 cal
64 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
[all...]
H A Dar5416_cal_adcgain.c41 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
45 * Accumulate ADC Gain cal measures for active chains
48 cal->totalAdcIOddPhase(i) +=
50 cal->totalAdcIEvenPhase(i) +=
52 cal->totalAdcQOddPhase(i) +=
54 cal->totalAdcQEvenPhase(i) +=
59 cal->calSamples, i, cal->totalAdcIOddPhase(i),
60 cal->totalAdcIEvenPhase(i), cal
71 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
[all...]
H A Dar5416_cal_iq.c40 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
44 * Accumulate IQ cal measures for active chains
47 cal->totalPowerMeasI(i) +=
49 cal->totalPowerMeasQ(i) +=
51 cal->totalIqCorrMeas(i) += (int32_t)
55 cal->calSamples, i, cal->totalPowerMeasI(i),
56 cal->totalPowerMeasQ(i), cal->totalIqCorrMeas(i));
66 struct ar5416PerCal *cal local
[all...]
H A Dar5416_cal.c27 #include "ar5212/ar5212.h" /* for NF cal related declarations */
67 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
69 switch (calType & cal->suppCals) {
94 * Setup HW to collect samples used for current cal
127 /* Kick-off cal */
132 * Initialize shared data structures and prepare a cal to be run.
137 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
140 OS_MEMZERO(cal->caldata, sizeof(cal->caldata));
141 cal
245 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
340 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
389 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
446 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
546 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local
[all...]
/freebsd-current/usr.bin/ncal/
H A DMakefile8 LINKS= ${BINDIR}/ncal ${BINDIR}/cal
9 MLINKS= ncal.1 cal.1
/freebsd-current/contrib/bsddialog/examples_library/
H A Ddatebox.c20 time_t cal; local
23 time(&cal);
24 localtm = localtime(&cal);
H A Dcalendar.c20 time_t cal; local
23 time(&cal);
24 localtm = localtime(&cal);
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_filegen.c109 struct calendar cal; local
154 ntpcal_ntp_to_date(&cal, stamp, pivot);
156 SUFFIX_SEP, cal.year, cal.month, cal.monthday);
157 cal.hour = cal.minute = cal.second = 0;
158 gen->id_lo = ntpcal_date_to_ntp(&cal);
173 ntpcal_ntp_to_date(&cal, stam
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_phy.c171 u8 limit = dev->cal.low_gain > 0 ? 16 : 4;
177 dev->cal.false_cca = false_cca;
178 if (false_cca > 800 && dev->cal.agc_gain_adjust < limit) {
179 dev->cal.agc_gain_adjust += 2;
181 } else if ((false_cca < 10 && dev->cal.agc_gain_adjust > 0) ||
182 (dev->cal.agc_gain_adjust >= limit && false_cca < 500)) {
183 dev->cal.agc_gain_adjust -= 2;
187 dev->cal.agc_lowest_gain = dev->cal.agc_gain_adjust >= limit;
195 dev->cal
[all...]
H A Dmt76x02_debugfs.c79 seq_printf(file, "avg_rssi: %d\n", dev->cal.avg_rssi_all);
80 seq_printf(file, "low_gain: %d\n", dev->cal.low_gain);
81 seq_printf(file, "false_cca: %d\n", dev->cal.false_cca);
82 seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust);
142 debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp);
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dphy.c35 s8 *gain_adj = dev->cal.rx.high_gain;
209 if (!dev->cal.tssi_cal_done)
212 if (!dev->cal.tssi_comp_pending) {
216 dev->cal.tssi_comp_pending = true;
221 dev->cal.tssi_comp_pending = false;
234 if (t.pa_mode || dev->cal.dpd_cal_done || dev->ed_tx_blocked)
239 dev->cal.dpd_cal_done = true;
250 gain_val[0] = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust;
251 gain_val[1] = dev->cal
[all...]
H A Dusb_phy.c16 if (dev->cal.channel_cal_done)
39 dev->cal.channel_cal_done = true;
90 dev->cal.channel_cal_done = false;
141 mt76x2_mcu_init_gain(dev, channel, dev->cal.rx.mcu_gain, true);
147 if (!dev->cal.init_cal_done) {
157 if (!dev->cal.init_cal_done)
159 dev->cal.init_cal_done = true;
194 dev->cal.tssi_cal_done = true;
H A Dpci_phy.c31 dev->cal.tssi_cal_done = true;
41 if (dev->cal.channel_cal_done)
47 if (!dev->cal.tssi_cal_done)
68 dev->cal.channel_cal_done = true;
152 dev->cal.channel_cal_done = false;
204 mt76x2_mcu_init_gain(dev, channel, dev->cal.rx.mcu_gain, true);
212 if (!dev->cal.init_cal_done) {
222 if (!dev->cal.init_cal_done)
225 dev->cal.init_cal_done = true;
265 dev->cal
[all...]
H A Deeprom.c185 s8 *dest = dev->cal.rx.high_gain;
200 s8 *dest = dev->cal.rx.rssi_offset;
273 dev->cal.rx.mcu_gain = (lna_2g & 0xff);
274 dev->cal.rx.mcu_gain |= (lna_5g[0] & 0xff) << 8;
275 dev->cal.rx.mcu_gain |= (lna_5g[1] & 0xff) << 16;
276 dev->cal.rx.mcu_gain |= (lna_5g[2] & 0xff) << 24;
279 dev->cal.rx.lna_gain = mt76x02_sign_extend(lna, 8);
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dchrono.inc134 // [time.cal.last], class last_spec
137 // [time.cal.day], class day
140 // [time.cal.month], class month
143 // [time.cal.year], class year
146 // [time.cal.wd], class weekday
149 // [time.cal.wdidx], class weekday_indexed
152 // [time.cal.wdlast], class weekday_last
155 // [time.cal.md], class month_day
158 // [time.cal.mdlast], class month_day_last
161 // [time.cal
[all...]
/freebsd-current/contrib/ntp/libntp/
H A Dntp_calgps.c409 TCivilDate cal; local
415 cal = *jd;
416 if (cal.year < 80)
417 cal.year += 2000;
418 else if (cal.year < 100)
419 cal.year += 1900;
422 again: if (cal.month && cal.monthday) { /* use Y/M/D civil date */
423 days = ntpcal_date_to_rd(&cal);
425 days = ntpcal_year_to_ystart(cal
[all...]
/freebsd-current/sys/arm/nvidia/
H A Dtegra_soctherm.c402 struct soctherm_shared_cal *cal; local
404 cal = &sc->shared_cal;
406 cal->base_cp = TEGRA124_FUSE_COMMON_CP_TS_BASE(val);
407 cal->base_ft = TEGRA124_FUSE_COMMON_FT_TS_BASE(val);
418 cal->actual_temp_cp = 2 * TEGRA124_NOMINAL_CALIB_CP + calib_cp;
419 cal->actual_temp_ft = 2 * TEGRA124_NOMINAL_CALIB_FT + calib_ft;
423 __func__, cal->base_cp, cal->base_ft,
424 cal->actual_temp_cp, cal
433 struct soctherm_shared_cal *cal; local
466 struct soctherm_shared_cal *cal; local
[all...]
/freebsd-current/contrib/ntp/ntpq/
H A Dntpq.c2105 struct calendar cal; local
2108 cal.yearday = 0;
2131 cal.monthday = (u_char) (*cp++ - '0'); /* ascii dependent */
2133 cal.monthday = (u_char)((cal.monthday << 3) + (cal.monthday << 1));
2134 cal.monthday = (u_char)(cal.monthday + *cp++ - '0');
2149 cal.month = (u_char)(i + 1);
2156 cal
[all...]
/freebsd-current/usr.bin/calendar/
H A Dcalendar.c217 cal();
228 cal();
H A Dcalendar.h168 void cal(void);
/freebsd-current/contrib/bsddialog/utility/
H A Dutil_builders.c178 time_t cal; local
182 time(&cal);
183 localtm = localtime(&cal);
205 time(&cal);
206 localtm = localtime(&cal);
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Deeprom.c22 dev->cal = devm_kzalloc(mdev->dev, val, GFP_KERNEL);
23 if (!dev->cal)
28 return mt76_get_of_eeprom(mdev, dev->cal, offs, val);
/freebsd-current/sys/arm/freescale/imx/
H A Dimx6_anatop.c585 uint32_t cal; local
591 cal = fsl_ocotp_read_4(FSL_OCOTP_ANA1);
592 sc->temp_room_cnt = (cal & 0xFFF00000) >> 20;
593 sc->temp_high_cnt = (cal & 0x000FFF00) >> 8;
594 sc->temp_high_val = (cal & 0x000000FF) * 10;
/freebsd-current/sys/dev/bwn/
H A Dif_bwn_phy_g.c468 struct bwn_lo_calib *cal, *tmp; local
472 TAILQ_FOREACH_SAFE(cal, &lo->calib_list, list, tmp) {
473 TAILQ_REMOVE(&lo->calib_list, cal, list);
474 free(cal, M_DEVBUF);
762 struct bwn_lo_calib *cal, *tmp; local
781 TAILQ_FOREACH_SAFE(cal, &lo->calib_list, list, tmp) {
782 if (!ieee80211_time_before(cal->calib_time, expire))
784 if (BWN_BBATTCMP(&cal->bbatt, &pg->pg_bbatt) &&
785 BWN_RFATTCMP(&cal->rfatt, &pg->pg_rfatt)) {
791 cal
2506 struct bwn_lo_calib *cal; local
2593 struct bwn_lo_calib *cal; local
2644 struct bwn_lo_calib *cal; local
[all...]
/freebsd-current/sys/dev/agp/
H A Dagp.c344 int rq, sba, fw, rate, arqsz, cal; local
367 cal = AGP_MODE_GET_CAL(tstatus);
368 if (AGP_MODE_GET_CAL(mstatus) < cal)
369 cal = AGP_MODE_GET_CAL(mstatus);
396 command = AGP_MODE_SET_CAL(command, cal);

Completed in 204 milliseconds

12