Lines Matching full:pps
3 * PPS sysfs support
21 struct pps_device *pps = dev_get_drvdata(dev); in assert_show() local
23 if (!(pps->info.mode & PPS_CAPTUREASSERT)) in assert_show()
27 (long long) pps->assert_tu.sec, pps->assert_tu.nsec, in assert_show()
28 pps->assert_sequence); in assert_show()
35 struct pps_device *pps = dev_get_drvdata(dev); in clear_show() local
37 if (!(pps->info.mode & PPS_CAPTURECLEAR)) in clear_show()
41 (long long) pps->clear_tu.sec, pps->clear_tu.nsec, in clear_show()
42 pps->clear_sequence); in clear_show()
49 struct pps_device *pps = dev_get_drvdata(dev); in mode_show() local
51 return sprintf(buf, "%4x\n", pps->info.mode); in mode_show()
58 struct pps_device *pps = dev_get_drvdata(dev); in echo_show() local
60 return sprintf(buf, "%d\n", !!pps->info.echo); in echo_show()
67 struct pps_device *pps = dev_get_drvdata(dev); in name_show() local
69 return sprintf(buf, "%s\n", pps->info.name); in name_show()
76 struct pps_device *pps = dev_get_drvdata(dev); in path_show() local
78 return sprintf(buf, "%s\n", pps->info.path); in path_show()