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()
156 struct ptp_extts_request extts_request; in main() local
417 memset(&extts_request, 0, sizeof(extts_request)); in main()
418 extts_request.index = index; in main()
419 extts_request.flags = PTP_ENABLE_FEATURE; in main()
420 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()
437 extts_request.flags = 0; in main()
438 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()