/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 109 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...] |
H A D | refclock_arc.c | 1075 struct calendar cal; local 1079 caljulian (new_stamp.l_ui, &cal); 1081 current_time + 60 - cal.second + 5;
|
/freebsd-11-stable/sys/arm/freescale/imx/ |
H A D | imx6_anatop.c | 583 uint32_t cal; local 589 cal = fsl_ocotp_read_4(FSL_OCOTP_ANA1); 590 sc->temp_room_cnt = (cal & 0xFFF00000) >> 20; 591 sc->temp_high_cnt = (cal & 0x000FFF00) >> 8; 592 sc->temp_high_val = (cal & 0x000000FF) * 10;
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_soctherm.c | 288 get_shared_cal(struct soctherm_softc *sc, struct soctherm_shared_cal *cal) argument 294 cal->base_cp = FUSE_TSENSOR8_CALIB_CP_TS_BASE(val); 295 cal->base_ft = FUSE_TSENSOR8_CALIB_FT_TS_BASE(val); 305 cal->actual_temp_cp = 2 * NOMINAL_CALIB_CP_T124 + calib_cp; 306 cal->actual_temp_ft = 2 * NOMINAL_CALIB_FT_T124 + calib_ft; 310 __func__, cal->base_cp, cal->base_ft, 311 cal->actual_temp_cp, cal->actual_temp_ft);
|
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_spectral.c | 218 int cal; member in struct:nf_cal 243 /* ch 64 */ {5320, { {N2DBM(-113, 00), N2DBM( -95, 00)}, // not cal'ed 272 return nf_cal_table[i].chain[ch].cal; 278 "no nf cal offset found for freq %d chain %d\n", 373 /* if noise power cal, force high priority */
|
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp.c | 324 int rq, sba, fw, rate, arqsz, cal; local 347 cal = AGP_MODE_GET_CAL(tstatus); 348 if (AGP_MODE_GET_CAL(mstatus) < cal) 349 cal = AGP_MODE_GET_CAL(mstatus); 376 command = AGP_MODE_SET_CAL(command, cal);
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_cal.c | 27 #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 246 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local 341 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local 390 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local 447 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local 539 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; local [all...] |
H A D | ar5416_cal_adcdc.c | 38 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 D | ar5416_cal_adcgain.c | 41 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 D | ar5416_cal_iq.c | 40 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...] |
/freebsd-11-stable/sys/dev/bwn/ |
H A D | if_bwn_phy_g.c | 457 struct bwn_lo_calib *cal, *tmp; local 461 TAILQ_FOREACH_SAFE(cal, &lo->calib_list, list, tmp) { 462 TAILQ_REMOVE(&lo->calib_list, cal, list); 463 free(cal, M_DEVBUF); 751 struct bwn_lo_calib *cal, *tmp; local 770 TAILQ_FOREACH_SAFE(cal, &lo->calib_list, list, tmp) { 771 if (!ieee80211_time_before(cal->calib_time, expire)) 773 if (BWN_BBATTCMP(&cal->bbatt, &pg->pg_bbatt) && 774 BWN_RFATTCMP(&cal->rfatt, &pg->pg_rfatt)) { 780 cal 2498 struct bwn_lo_calib *cal; local 2585 struct bwn_lo_calib *cal; local 2636 struct bwn_lo_calib *cal; local [all...] |
/freebsd-11-stable/sys/dev/malo/ |
H A D | if_malohal.c | 259 malo_hal_get_pwrcal_table(struct malo_hal *mh, struct malo_hal_caldata *cal) argument 270 memcpy(cal->pt_ratetable_20m, &data[12], len); 285 * Fetch cal data for later use. 691 const struct malo_hal_caldata *cal = &mh->mh_caldata; local 703 pow = cal->pt_ratetable_20m[idx];
|
/freebsd-11-stable/sys/mips/nlm/dev/net/ |
H A D | nae.c | 83 int cal_len, cal = 0, last_free = 0; local 98 if (cal >= MAX_CAL_SLOTS) 100 last_free = cal; 103 val = (cal_len << 16) | (port << 8) | cal; 106 cal++; 110 if (last_free == cal) 120 int cal = 0, last_free = 0; local 134 if (cal >= MAX_CAL_SLOTS) 136 last_free = cal; 139 val = (port << 7) | (cal << [all...] |
/freebsd-11-stable/usr.bin/calendar/ |
H A D | calendar.h | 166 void cal(void);
|
H A D | io.c | 378 cal(void) function
|
H A D | calendar.c | 214 cal(); 219 cal();
|
/freebsd-11-stable/usr.bin/ncal/ |
H A D | Makefile | 9 LINKS= ${BINDIR}/ncal ${BINDIR}/cal 10 MLINKS= ncal.1 cal.1
|
/freebsd-11-stable/usr.sbin/crunch/examples/ |
H A D | really-big.conf | 41 progs apropos ar asa at basename biff cal calendar cap_mkdb checknr chpass
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | ntp_calgps.c | 409 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-11-stable/contrib/ntp/ntpq/ |
H A D | ntpq.c | 2056 struct calendar cal; local 2059 cal.yearday = 0; 2082 cal.monthday = (u_char) (*cp++ - '0'); /* ascii dependent */ 2084 cal.monthday = (u_char)((cal.monthday << 3) + (cal.monthday << 1)); 2085 cal.monthday = (u_char)(cal.monthday + *cp++ - '0'); 2100 cal.month = (u_char)(i + 1); 2107 cal [all...] |