Lines Matching full:pps
3 * pps-ktimer.c -- kernel timer test client
21 static struct pps_device *pps; variable
35 pps_event(pps, &ts, PPS_CAPTUREASSERT, NULL); in pps_ktimer_event()
41 * The PPS info struct
59 dev_info(pps->dev, "ktimer PPS source unregistered\n"); in pps_ktimer_exit()
62 pps_unregister_source(pps); in pps_ktimer_exit()
67 pps = pps_register_source(&pps_ktimer_info, in pps_ktimer_init()
69 if (IS_ERR(pps)) { in pps_ktimer_init()
70 pr_err("cannot register PPS source\n"); in pps_ktimer_init()
71 return PTR_ERR(pps); in pps_ktimer_init()
77 dev_info(pps->dev, "ktimer PPS source registered\n"); in pps_ktimer_init()
86 MODULE_DESCRIPTION("dummy PPS source by using a kernel timer (just for debug)");