Home
last modified time | relevance | path

Searched refs:PTP_CLK_MAGIC (Results 1 – 4 of 4) sorted by relevance

/external/kernel-headers/original/uapi/linux/
Dptp_clock.h138 #define PTP_CLK_MAGIC '=' macro
140 #define PTP_CLOCK_GETCAPS _IOR(PTP_CLK_MAGIC, 1, struct ptp_clock_caps)
141 #define PTP_EXTTS_REQUEST _IOW(PTP_CLK_MAGIC, 2, struct ptp_extts_request)
142 #define PTP_PEROUT_REQUEST _IOW(PTP_CLK_MAGIC, 3, struct ptp_perout_request)
143 #define PTP_ENABLE_PPS _IOW(PTP_CLK_MAGIC, 4, int)
144 #define PTP_SYS_OFFSET _IOW(PTP_CLK_MAGIC, 5, struct ptp_sys_offset)
145 #define PTP_PIN_GETFUNC _IOWR(PTP_CLK_MAGIC, 6, struct ptp_pin_desc)
146 #define PTP_PIN_SETFUNC _IOW(PTP_CLK_MAGIC, 7, struct ptp_pin_desc)
148 _IOWR(PTP_CLK_MAGIC, 8, struct ptp_sys_offset_precise)
150 _IOWR(PTP_CLK_MAGIC, 9, struct ptp_sys_offset_extended)
/external/strace/tests-m32/
Dioctl_ptp.c108 ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); in test_no_device()
110 " = -1 EBADF (%m)\n", PTP_CLK_MAGIC); in test_no_device()
113 ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); in test_no_device()
115 " = -1 EBADF (%m)\n", PTP_CLK_MAGIC, arg); in test_no_device()
/external/strace/tests-mx32/
Dioctl_ptp.c108 ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); in test_no_device()
110 " = -1 EBADF (%m)\n", PTP_CLK_MAGIC); in test_no_device()
113 ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); in test_no_device()
115 " = -1 EBADF (%m)\n", PTP_CLK_MAGIC, arg); in test_no_device()
/external/strace/tests/
Dioctl_ptp.c108 ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); in test_no_device()
110 " = -1 EBADF (%m)\n", PTP_CLK_MAGIC); in test_no_device()
113 ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); in test_no_device()
115 " = -1 EBADF (%m)\n", PTP_CLK_MAGIC, arg); in test_no_device()