Lines Matching refs:ioctl
65 ioctl(-1, PTP_CLOCK_GETCAPS, NULL); in test_no_device()
67 ioctl(-1, PTP_CLOCK_GETCAPS, caps); in test_no_device()
71 ioctl(-1, PTP_SYS_OFFSET, NULL); in test_no_device()
73 ioctl(-1, PTP_SYS_OFFSET, sysoff); in test_no_device()
78 ioctl(-1, PTP_ENABLE_PPS, 0); in test_no_device()
80 ioctl(-1, PTP_ENABLE_PPS, 1); in test_no_device()
84 ioctl(-1, PTP_EXTTS_REQUEST, NULL); in test_no_device()
86 ioctl(-1, PTP_EXTTS_REQUEST, extts); in test_no_device()
94 ioctl(-1, PTP_PEROUT_REQUEST, NULL); in test_no_device()
96 ioctl(-1, PTP_PEROUT_REQUEST, perout); in test_no_device()
108 ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); in test_no_device()
113 ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); in test_no_device()