Lines Matching refs:extts_request
58 struct ptp_extts_request extts_request; in do_flag_test() local
72 memset(&extts_request, 0, sizeof(extts_request)); in do_flag_test()
73 extts_request.index = index; in do_flag_test()
77 extts_request.flags = enable_flags[j]; in do_flag_test()
78 err = ioctl(fd, request[i], &extts_request); in do_flag_test()
79 show_flag_test(i, extts_request.flags, err); in do_flag_test()
81 extts_request.flags = 0; in do_flag_test()
82 err = ioctl(fd, request[i], &extts_request); in do_flag_test()
148 struct ptp_extts_request extts_request; in main() local
344 memset(&extts_request, 0, sizeof(extts_request)); in main()
345 extts_request.index = index; in main()
346 extts_request.flags = PTP_ENABLE_FEATURE; in main()
347 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()
364 extts_request.flags = 0; in main()
365 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()