|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
7 #ifndef __UAPI_NVPPS_IOCTL_H__
8 #define __UAPI_NVPPS_IOCTL_H__
10 #include <linux/types.h>
11 #include <linux/ioctl.h>
58 #define NVPPS_GETVERSION _IOR('p', 0x1, struct nvpps_version *)
98 #define NVPPS_GETPARAMS _IOR('p', 0x2, struct nvpps_params *)
147 #define NVPPS_SETPARAMS _IOW('p', 0x3, struct nvpps_params *)
203 #define NVPPS_GETEVENT _IOR('p', 0x4, struct nvpps_timeevent *)
260 #define NVPPS_GETTIMESTAMP _IOWR('p', 0x5, struct nvpps_timestamp_struct *)
299 #define NVPPS_VERSION_MAJOR 0
300 #define NVPPS_VERSION_MINOR 2
301 #define NVPPS_API_MAJOR 0
302 #define NVPPS_API_MINOR 4
316 #define NVPPS_MODE_GPIO 0x01
317 #define NVPPS_MODE_TIMER 0x02
320 #define NVPPS_TSC_NSEC 0
321 #define NVPPS_TSC_COUNTER 1
330 struct nvpps_timeevent {
341 #ifndef _LINUX_TIME64_H
__u64 tsc
TSC timestamp (ns or counter based on mode)
struct _version version
Driver version info struct.
struct timespec64 hw_ptp_ts
Output: Hardware PTP timestamp.
Driver & API Version information structure.
Structure to hold primary PTP & kernel timestamps.
__u32 tsc_mode
TSC mode: Nanoseconds or Counter.
structure to hold precise timestamp data
__u32 minor
API minor version.
__u32 minor
Driver minor version.
struct _api api
API version info struct.
__u64 secondary_ptp
Secondary PTP timestamp in nanoseconds.
__u32 major
Driver major version.
__u64 extra[2]
Reserved for future use.
__u32 evt_mode
Event mode: GPIO or Timer.
structure to hold API version info
__u64 tsc_res_ns
TSC resolution in nanoseconds.
__u32 tsc_mode
TSC mode used for this capture.
structure to hold Driver version info
clockid_t clockid
Input: Kernel clock source identifier.
__u32 evt_nb
Event sequence number.
struct timespec64 kernel_ts
Output: Kernel timestamp.
__u64 irq_latency
Interrupt latency in nanoseconds.
__u64 ptp
Primary PTP timestamp in nanoseconds.
__u32 evt_mode
Event mode used for this capture.
__u32 major
API major version.
Configuration parameters structure.