Lines Matching refs:extts_request
60 struct ptp_extts_request extts_request; in do_flag_test() local
74 memset(&extts_request, 0, sizeof(extts_request)); in do_flag_test()
75 extts_request.index = index; in do_flag_test()
79 extts_request.flags = enable_flags[j]; in do_flag_test()
80 err = ioctl(fd, request[i], &extts_request); in do_flag_test()
81 show_flag_test(i, extts_request.flags, err); in do_flag_test()
83 extts_request.flags = 0; in do_flag_test()
84 err = ioctl(fd, request[i], &extts_request); in do_flag_test()
152 struct ptp_extts_request extts_request; in main() local
358 memset(&extts_request, 0, sizeof(extts_request)); in main()
359 extts_request.index = index; in main()
360 extts_request.flags = PTP_ENABLE_FEATURE; in main()
361 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()
378 extts_request.flags = 0; in main()
379 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()