/netbsd/sys/external/isc/atheros_hal/dist/ar5416/ |
H A D | ar5416_cal.c | 108 OS_MEMZERO(cal->caldata, sizeof(cal->caldata)); in ar5416ResetMeasurement() 109 cal->calSamples = 0; in ar5416ResetMeasurement() 145 cal->cal_list = cal->cal_last = cal->cal_curr = AH_NULL; 160 cal->cal_list = cal->cal_last = cal->cal_curr = AH_NULL; 236 cal->cal_list = cal->cal_last = cal->cal_curr = AH_NULL; in ar5416InitCal() 247 INSERT_CAL(cal, &cal->adcDcCalInitData); in ar5416InitCal() 250 cal->cal_curr = cal->cal_list; in ar5416InitCal() 260 INSERT_CAL(cal, &cal->adcGainCalData); in ar5416InitCal() 266 INSERT_CAL(cal, &cal->adcDcCalData); in ar5416InitCal() 272 INSERT_CAL(cal, &cal->iqCalData); in ar5416InitCal() [all …]
|
H A D | ar5416_cal_adcdc.c | 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() 57 cal->totalAdcDcOffsetQEvenPhase(i)); in ar5416AdcDcCalCollect() [all …]
|
H A D | ar5416_cal_adcgain.c | 41 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416AdcGainCalCollect() local 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() 71 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416AdcGainCalibration() local 75 uint32_t iOddMeasOffset = cal->totalAdcIOddPhase(i); in ar5416AdcGainCalibration() [all …]
|
H A D | ar5416_cal_iq.c | 40 struct ar5416PerCal *cal = &AH5416(ah)->ah_cal; in ar5416IQCalCollect() local 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() 71 uint32_t powerMeasQ = cal->totalPowerMeasQ(i); in ar5416IQCalibration() 72 uint32_t iqCorrMeas = cal->totalIqCorrMeas(i); in ar5416IQCalibration()
|
/netbsd/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_filegen.c | 111 struct calendar cal; in filegen_open() local 158 SUFFIX_SEP, cal.year, cal.month, cal.monthday); in filegen_open() 159 cal.hour = cal.minute = cal.second = 0; in filegen_open() 177 SUFFIX_SEP, cal.year, cal.month); in filegen_open() 178 cal.hour = cal.minute = cal.second = 0; in filegen_open() 179 cal.monthday = 1; in filegen_open() 181 cal.month++; in filegen_open() 188 SUFFIX_SEP, cal.year); in filegen_open() 189 cal.hour = cal.minute = cal.second = 0; in filegen_open() 190 cal.month = cal.monthday = 1; in filegen_open() [all …]
|
/netbsd/external/bsd/ntp/dist/tests/libntp/ |
H A D | calendar.c | 106 cal->year, (u_int)cal->month, (u_int)cal->monthday, in CalendarFromCalToString() 107 cal->yearday, in CalendarFromCalToString() 108 (u_int)cal->hour, (u_int)cal->minute, (u_int)cal->second); in CalendarFromCalToString() 178 cal->year, (u_int)cal->month, (u_int)cal->monthday, in DateFromCalToString() 723 TEST_ASSERT_MESSAGE((days==-1 && cal.hour==0 && cal.minute==0 && cal.second==0), in test_DaySecToDate() 727 TEST_ASSERT_MESSAGE((days==-1 && cal.hour==0 && cal.minute==0 && cal.second==1), in test_DaySecToDate() 731 TEST_ASSERT_MESSAGE((days==-1 && cal.hour==23 && cal.minute==59 && cal.second==59), in test_DaySecToDate() 735 TEST_ASSERT_MESSAGE((days==0 && cal.hour==0 && cal.minute==0 && cal.second==0), in test_DaySecToDate() 739 TEST_ASSERT_MESSAGE((days==0 && cal.hour==0 && cal.minute==0 && cal.second==1), in test_DaySecToDate() 743 TEST_ASSERT_MESSAGE((days==0 && cal.hour==23 && cal.minute==59 && cal.second==59), in test_DaySecToDate() [all …]
|
H A D | caljulian.c | 14 char * CalendarToString(const struct calendar cal); 25 CalendarToString(const struct calendar cal) in CalendarToString() argument 31 snprintf(buffer, 100, "%u", cal.year); in CalendarToString() 34 snprintf(buffer, 100, "%u", (u_int)cal.month); in CalendarToString() 37 snprintf(buffer, 100, "%u", (u_int)cal.monthday); in CalendarToString() 40 snprintf(buffer, 100, "%u", (u_int) cal.yearday); in CalendarToString() 43 snprintf(buffer, 100, "%u", (u_int)cal.hour); in CalendarToString() 46 snprintf(buffer, 100, "%u", (u_int)cal.minute); in CalendarToString() 49 snprintf(buffer, 100, "%u", (u_int)cal.second); in CalendarToString()
|
/netbsd/external/cddl/dtracetoolkit/dist/Examples/ |
H A D | shellsnoop_example.txt | 3 in another several commands were run: date, cal, uname -a, uptime and find. 18 4724 3762 ksh W cal 20 4742 4724 cal W March 2004 21 4742 4724 cal W S M Tu W Th F S 22 4742 4724 cal W 1 2 3 4 5 6 23 4742 4724 cal W 7 8 9 10 11 12 13 24 4742 4724 cal W 14 15 16 17 18 19 20 25 4742 4724 cal W 21 22 23 24 25 26 27 26 4742 4724 cal W 28 29 30 31 27 4742 4724 cal W [all …]
|
H A D | opensnoop_example.txt | 5 This first example is of the default output. The commands "cat", "cal", 14 100 3505 cal -1 /var/ld/ld.config 15 100 3505 cal 3 /usr/lib/libc.so.1 16 100 3505 cal 3 /usr/share/lib/zoneinfo/Australia/NSW 31 100 3529 /var/ld/ld.config -1 cal 32 100 3529 /usr/lib/libc.so.1 3 cal 33 100 3529 /usr/share/lib/zoneinfo/Australia/NSW 3 cal
|
/netbsd/external/cddl/dtracetoolkit/dist/Docs/Examples/ |
H A D | shellsnoop_example.txt | 3 in another several commands were run: date, cal, uname -a, uptime and find. 18 4724 3762 ksh W cal 20 4742 4724 cal W March 2004 21 4742 4724 cal W S M Tu W Th F S 22 4742 4724 cal W 1 2 3 4 5 6 23 4742 4724 cal W 7 8 9 10 11 12 13 24 4742 4724 cal W 14 15 16 17 18 19 20 25 4742 4724 cal W 21 22 23 24 25 26 27 26 4742 4724 cal W 28 29 30 31 27 4742 4724 cal W [all …]
|
H A D | opensnoop_example.txt | 5 This first example is of the default output. The commands "cat", "cal", 14 100 3505 cal -1 /var/ld/ld.config 15 100 3505 cal 3 /usr/lib/libc.so.1 16 100 3505 cal 3 /usr/share/lib/zoneinfo/Australia/NSW 31 100 3529 /var/ld/ld.config -1 cal 32 100 3529 /usr/lib/libc.so.1 3 cal 33 100 3529 /usr/share/lib/zoneinfo/Australia/NSW 3 cal
|
/netbsd/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | tegra124-jetson-tk1-emc.dtsi | 89 nvidia,emc-auto-cal-config = <0xa1430000>; 90 nvidia,emc-auto-cal-config2 = <0x00000000>; 91 nvidia,emc-auto-cal-config3 = <0x00000000>; 92 nvidia,emc-auto-cal-interval = <0x001fffff>; 257 nvidia,emc-auto-cal-config = <0xa1430000>; 258 nvidia,emc-auto-cal-config2 = <0x00000000>; 259 nvidia,emc-auto-cal-config3 = <0x00000000>; 425 nvidia,emc-auto-cal-config = <0xa1430000>; 426 nvidia,emc-auto-cal-config2 = <0x00000000>; 593 nvidia,emc-auto-cal-config = <0xa1430000>; [all …]
|
H A D | tegra124-apalis-emc.dtsi | 94 nvidia,emc-auto-cal-config = <0xa1430000>; 95 nvidia,emc-auto-cal-config2 = <0x00000000>; 96 nvidia,emc-auto-cal-config3 = <0x00000000>; 97 nvidia,emc-auto-cal-interval = <0x001fffff>; 191 nvidia,emc-auto-cal-config = <0xa1430000>; 192 nvidia,emc-auto-cal-config2 = <0x00000000>; 193 nvidia,emc-auto-cal-config3 = <0x00000000>; 288 nvidia,emc-auto-cal-config = <0xa1430000>; 289 nvidia,emc-auto-cal-config2 = <0x00000000>; 385 nvidia,emc-auto-cal-config = <0xa1430000>; [all …]
|
H A D | tegra124-nyan-blaze-emc.dtsi | 78 nvidia,emc-auto-cal-config = <0xa1430000>; 79 nvidia,emc-auto-cal-config2 = <0x00000000>; 80 nvidia,emc-auto-cal-config3 = <0x00000000>; 81 nvidia,emc-auto-cal-interval = <0x001fffff>; 246 nvidia,emc-auto-cal-config = <0xa1430000>; 247 nvidia,emc-auto-cal-config2 = <0x00000000>; 248 nvidia,emc-auto-cal-config3 = <0x00000000>; 414 nvidia,emc-auto-cal-config = <0xa1430000>; 415 nvidia,emc-auto-cal-config2 = <0x00000000>; 582 nvidia,emc-auto-cal-config = <0xa1430000>; [all …]
|
H A D | tegra124-nyan-big-emc.dtsi | 229 nvidia,emc-auto-cal-config = <0xa1430000>; 230 nvidia,emc-auto-cal-config2 = <0x00000000>; 231 nvidia,emc-auto-cal-config3 = <0x00000000>; 232 nvidia,emc-auto-cal-interval = <0x001fffff>; 397 nvidia,emc-auto-cal-config = <0xa1430000>; 398 nvidia,emc-auto-cal-config2 = <0x00000000>; 399 nvidia,emc-auto-cal-config3 = <0x00000000>; 565 nvidia,emc-auto-cal-config = <0xa1430000>; 566 nvidia,emc-auto-cal-config2 = <0x00000000>; 733 nvidia,emc-auto-cal-config = <0xa1430000>; [all …]
|
H A D | dra72x.dtsi | 42 cal: cal@0 { label 43 compatible = "ti,dra72-cal";
|
H A D | dra76x.dtsi | 60 cal: cal@0 { label 61 compatible = "ti,dra76-cal";
|
H A D | imx6q-b650v3.dts | 101 fsl,tx-cal-45-dn-ohms = <55>; 102 fsl,tx-cal-45-dp-ohms = <55>; 103 fsl,tx-d-cal = <100>;
|
/netbsd/external/bsd/ntp/dist/libntp/ |
H A D | ntp_calgps.c | 411 TCivilDate cal; in gpscal_from_calendar_ex() local 417 cal = *jd; in gpscal_from_calendar_ex() 418 if (cal.year < 80) in gpscal_from_calendar_ex() 419 cal.year += 2000; in gpscal_from_calendar_ex() 420 else if (cal.year < 100) in gpscal_from_calendar_ex() 421 cal.year += 1900; in gpscal_from_calendar_ex() 424 again: if (cal.month && cal.monthday) { /* use Y/M/D civil date */ in gpscal_from_calendar_ex() 425 days = ntpcal_date_to_rd(&cal); in gpscal_from_calendar_ex() 427 days = ntpcal_year_to_ystart(cal.year) in gpscal_from_calendar_ex() 428 + (int32_t)cal.yearday in gpscal_from_calendar_ex() [all …]
|
/netbsd/external/bsd/ntp/dist/ntpq/ |
H A D | ntpq.c | 2086 cal.monthday = (u_char)((cal.monthday << 3) + (cal.monthday << 1)); in rtdatetolfp() 2111 cal.year = (u_short)((cal.year << 3) + (cal.year << 1)); in rtdatetolfp() 2115 cal.year = (u_short)((cal.year << 3) + (cal.year << 1)); in rtdatetolfp() 2116 cal.year = (u_short)(cal.year + *cp++ - '0'); in rtdatetolfp() 2119 cal.year = (u_short)((cal.year << 3) + (cal.year << 1)); in rtdatetolfp() 2120 cal.year = (u_short)(cal.year + *cp++ - '0'); in rtdatetolfp() 2135 cal.hour = (u_char)((cal.hour << 3) + (cal.hour << 1)); in rtdatetolfp() 2136 cal.hour = (u_char)(cal.hour + *cp++ - '0'); in rtdatetolfp() 2143 cal.minute = (u_char)((cal.minute << 3) + (cal.minute << 1)); in rtdatetolfp() 2144 cal.minute = (u_char)(cal.minute + *cp++ - '0'); in rtdatetolfp() [all …]
|
/netbsd/sys/dev/dm/ |
H A D | dm_target_delay.c | 62 struct callout cal; member 203 callout_init(&di->cal, 0); in _init() 312 if (!callout_pending(&di->cal)) in _strategy() 313 callout_reset(&di->cal, di->delay, _timeout, di); in _strategy() 357 callout_reset(&di->cal, next - tick, _timeout, di); in _submit_queue() 411 if (callout_pending(&di->cal)) in _destroy() 412 callout_halt(&di->cal, NULL); in _destroy()
|
/netbsd/sys/dev/ic/ |
H A D | arn5008.c | 2030 struct athn_iq_cal *cal; in ar5008_calib_iq() local 2041 cal->iq_corr_meas += in ar5008_calib_iq() 2058 cal->iq_corr_meas = -cal->iq_corr_meas; in ar5008_calib_iq() 2061 (cal->pwr_meas_i / 2 + cal->pwr_meas_q / 2) / 128; in ar5008_calib_iq() 2098 struct athn_adc_cal *cal; in ar5008_calib_adc_gain() local 2121 if (cal->pwr_meas_odd_i == 0 || cal->pwr_meas_even_q == 0) in ar5008_calib_adc_gain() 2125 (cal->pwr_meas_even_i * 32) / cal->pwr_meas_odd_i; in ar5008_calib_adc_gain() 2127 (cal->pwr_meas_odd_q * 32) / cal->pwr_meas_even_q; in ar5008_calib_adc_gain() 2149 struct athn_adc_cal *cal; in ar5008_calib_adc_dc_off() local 2178 (cal->pwr_meas_even_i - cal->pwr_meas_odd_i * 2) / count; in ar5008_calib_adc_dc_off() [all …]
|
/netbsd/usr.bin/calendar/ |
H A D | calendar.c | 117 static void cal(void); 196 cal(); in main() 204 cal(); in main() 207 cal(); in main() 213 cal(void) in cal() function
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/ppc/ |
H A D | test2xcoff32.d | 25 30: 3b ff 00 01 cal r31,1\(r31\) 28 3c: 38 21 00 40 cal r1,64\(r1\)
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/ppc/ |
H A D | test2xcoff32.d | 25 30: 3b ff 00 01 cal r31,1\(r31\) 28 3c: 38 21 00 40 cal r1,64\(r1\)
|