Lines Matching refs:so_timestamping
328 struct so_timestamping so_timestamping_get = { 0, 0 }; in main()
329 struct so_timestamping so_timestamping = { 0, 0 }; in main() local
347 if (argc >= 3 && sscanf(argv[2], "%d", &so_timestamping.bind_phc) == 1) in main()
366 so_timestamping.flags |= SOF_TIMESTAMPING_TX_HARDWARE; in main()
368 so_timestamping.flags |= SOF_TIMESTAMPING_TX_SOFTWARE; in main()
370 so_timestamping.flags |= SOF_TIMESTAMPING_RX_HARDWARE; in main()
372 so_timestamping.flags |= SOF_TIMESTAMPING_RX_SOFTWARE; in main()
374 so_timestamping.flags |= SOF_TIMESTAMPING_SOFTWARE; in main()
376 so_timestamping.flags |= SOF_TIMESTAMPING_RAW_HARDWARE; in main()
378 so_timestamping.flags |= SOF_TIMESTAMPING_BIND_PHC; in main()
397 (so_timestamping.flags & SOF_TIMESTAMPING_TX_HARDWARE) ? in main()
400 (so_timestamping.flags & SOF_TIMESTAMPING_RX_HARDWARE) ? in main()
459 if (so_timestamping.flags && in main()
460 setsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &so_timestamping, in main()
461 sizeof(so_timestamping)) < 0) in main()
490 if (so_timestamping_get.flags != so_timestamping.flags || in main()
491 so_timestamping_get.bind_phc != so_timestamping.bind_phc) in main()
493 so_timestamping.flags, so_timestamping.bind_phc); in main()