Lines Matching defs:gpsd_unit

283 struct gpsd_unit {  struct
285 gpsd_unitT *next_unit; argument
286 size_t refcount;
289 peerT *pps_peer;
292 int unit;
293 int mode;
294 char *logname; /* cached name for log/print */
295 char * device; /* device name of unit */
298 uint32_t proto_version;
301 l_fp pps_local; /* when we received the PPS message */
302 l_fp pps_stamp; /* related reference time */
303 l_fp pps_recvt; /* when GPSD detected the pulse */
304 l_fp pps_stamp2;/* related reference time (secondary) */
305 l_fp pps_recvt2;/* when GPSD detected the pulse (secondary)*/
306 int ppscount; /* PPS counter (primary unit) */
307 int ppscount2; /* PPS counter (secondary unit) */
310 l_fp sti_local; /* when we received the TPV/TOFF message */
311 l_fp sti_stamp; /* effective GPS time stamp */
312 l_fp sti_recvt; /* when GPSD got the fix */
315 int16_t sti_prec; /* serial precision based on EPT */
316 int16_t pps_prec; /* PPS precision from GPSD or above */
319 l_fp pps_fudge; /* PPS fudge primary channel */
320 l_fp pps_fudge2; /* PPS fudge secondary channel */
321 l_fp sti_fudge; /* TPV/TOFF serial data fudge */
324 int fl_nosync: 1; /* GPSD signals bad quality */
325 int fl_sti : 1; /* valid TPV/TOFF seen (have time) */
326 int fl_pps : 1; /* valid pulse seen */
327 int fl_pps2 : 1; /* valid pulse seen for PPS channel */
328 int fl_rawsti: 1; /* permit raw TPV/TOFF time stamps */
329 int fl_vers : 1; /* have protocol version */
330 int fl_watch : 1; /* watch reply seen */
332 int pf_nsec : 1; /* have nanosec PPS info */
333 int pf_toff : 1; /* have TOFF record for timing */
336 int fdt; /* current connecting socket */
337 addrinfoT * addr; /* next address to try */
338 u_int tickover; /* timeout countdown */
339 u_int tickpres; /* timeout preset */
342 u_int tc_recv; /* received known records */
343 u_int tc_breply; /* bad replies / parsing errors */
344 u_int tc_nosync; /* TPV / sample cycles w/o fix */
345 u_int tc_sti_recv;/* received serial time info records */
346 u_int tc_sti_used;/* used --^-- */
347 u_int tc_pps_recv;/* received PPS timing info records */
348 u_int tc_pps_used;/* used --^-- */
372 static int syslogok(clockprocT * const pp, gpsd_unitT * const up); argument