Searched refs:pps_params (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/external/bsd/ntp/dist/include/ |
H A D | refclock_atom.h | 13 pps_params_t pps_params; member in struct:refclock_atom
|
H A D | timepps-Solaris.h | 170 typedef struct pps_params { struct
|
H A D | timepps-SunOS.h | 170 typedef struct pps_params { struct
|
H A D | timepps-SCO.h | 170 typedef struct pps_params { struct
|
/netbsd-current/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_jupiter.c | 115 pps_params_t pps_params; /* pps parameters */ member in struct:instance 383 memset(&up->pps_params, 0, sizeof(pps_params_t)); 385 up->pps_params.mode = capability & PPS_CAPTURECLEAR; 387 up->pps_params.mode = capability & PPS_CAPTUREASSERT; 388 if (!(up->pps_params.mode & (PPS_CAPTUREASSERT | PPS_CAPTURECLEAR))) { 394 up->pps_params.mode |= PPS_TSFMT_TSPEC; 395 if (time_pps_setparams(up->pps_handle, &up->pps_params) < 0) { 402 up->pps_params.mode & ~PPS_TSFMT_TSPEC, 414 time_pps_getparams(up->pps_handle, &up->pps_params); 417 capability, up->pps_params [all...] |
H A D | ntp_refclock.c | 1460 ZERO(ap->pps_params); 1461 ap->pps_params.api_version = PPS_API_VERS_1; 1470 ap->pps_params.mode = PPS_TSFMT_TSPEC | PPS_CAPTURECLEAR; 1472 ap->pps_params.mode = PPS_TSFMT_TSPEC | PPS_CAPTUREASSERT; 1473 if (time_pps_setparams(ap->handle, &ap->pps_params) < 0) { 1488 ap->pps_params.mode & ~PPS_TSFMT_TSPEC, 1532 if (ap->pps_params.mode == 0 && sys_leap != LEAP_NOTINSYNC) { 1544 if (ap->pps_params.mode & PPS_CAPTUREASSERT) 1546 else if (ap->pps_params.mode & PPS_CAPTURECLEAR) 1690 if (ap->pps_params [all...] |
H A D | refclock_ripencc.c | 266 pps_params_t pps_params; /* pps parameters */ member in struct:ripencc_unit 660 memset(&up->pps_params, 0, sizeof(pps_params_t)); 662 up->pps_params.mode = capability & PPS_CAPTURECLEAR; 664 up->pps_params.mode = capability & PPS_CAPTUREASSERT; 665 if (!up->pps_params.mode) { 671 up->pps_params.mode |= PPS_TSFMT_TSPEC; 672 if (time_pps_setparams(up->handle, &up->pps_params) < 0) { 679 up->pps_params.mode & ~PPS_TSFMT_TSPEC, 691 time_pps_getparams(up->handle, &up->pps_params); 694 capability, up->pps_params [all...] |
H A D | refclock_parse.c | 2952 parse->atom.pps_params.clear_offset.tv_sec = (time_t)(-parse->ppsphaseadjust); 2953 parse->atom.pps_params.clear_offset.tv_nsec = (long)(-1e9*(parse->ppsphaseadjust - (double)(long)parse->ppsphaseadjust)); 2958 parse->atom.pps_params.assert_offset.tv_sec = (time_t)(-parse->ppsphaseadjust); 2959 parse->atom.pps_params.assert_offset.tv_nsec = (long)(-1e9*(parse->ppsphaseadjust - (double)(long)parse->ppsphaseadjust)); 2963 parse->atom.pps_params.mode |= mode_ppsoffset; 2965 if (time_pps_setparams(parse->atom.handle, &parse->atom.pps_params) < 0) { 4033 if (parse->atom.pps_params.mode & (PPS_OFFSETCLEAR|PPS_OFFSETASSERT))
|
Completed in 211 milliseconds