![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * Virtual PTP 1588 clock for use with KVM guests 0004 * 0005 * Copyright (C) 2017 Red Hat Inc. 0006 */ 0007 0008 #ifndef _PTP_KVM_H_ 0009 #define _PTP_KVM_H_ 0010 0011 #include <linux/types.h> 0012 0013 struct timespec64; 0014 struct clocksource; 0015 0016 int kvm_arch_ptp_init(void); 0017 int kvm_arch_ptp_get_clock(struct timespec64 *ts); 0018 int kvm_arch_ptp_get_crosststamp(u64 *cycle, 0019 struct timespec64 *tspec, struct clocksource **cs); 0020 0021 #endif /* _PTP_KVM_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |