Macros | |
| #define | NVPPS_GETVERSION _IOR('p', 0x1, struct nvpps_version *) |
| Get NVPPS driver and API version information. More... | |
| #define | NVPPS_GETPARAMS _IOR('p', 0x2, struct nvpps_params *) |
| Get current NVPPS driver configuration parameters. More... | |
| #define | NVPPS_SETPARAMS _IOW('p', 0x3, struct nvpps_params *) |
| Set NVPPS driver configuration parameters. More... | |
| #define | NVPPS_GETEVENT _IOR('p', 0x4, struct nvpps_timeevent *) |
| Get precision timestamped PPS event data. More... | |
| #define | NVPPS_GETTIMESTAMP _IOWR('p', 0x5, struct nvpps_timestamp_struct *) |
| Get kernel and hardware PTP timestamps. More... | |
| #define NVPPS_GETEVENT _IOR('p', 0x4, struct nvpps_timeevent *) |
Get precision timestamped PPS event data.
Behaviour of IOCTL and user expectations:
| [out] | event | Pointer to struct nvpps_timeevent where event data will be stored. The memory for this structure shall be allocated by the caller. |
Usage considerations
Definition at line 203 of file nvpps_ioctl.h.
| #define NVPPS_GETPARAMS _IOR('p', 0x2, struct nvpps_params *) |
Get current NVPPS driver configuration parameters.
Behaviour of IOCTL and user expectations:
| [out] | params | Pointer to struct nvpps_params where current configuration will be stored. The memory for this structure shall be allocated by the caller. |
Usage considerations
Definition at line 98 of file nvpps_ioctl.h.
| #define NVPPS_GETTIMESTAMP _IOWR('p', 0x5, struct nvpps_timestamp_struct *) |
Get kernel and hardware PTP timestamps.
Behaviour of IOCTL and user expectations:
| [in,out] | timestamp | Pointer to struct nvpps_timestamp_struct. Input: clockid field must be set to desired clock source Identifier Output: kernel_ts and hw_ptp_ts fields populated with timestamps The memory for this structure shall be allocated by the caller. |
Usage considerations
Definition at line 260 of file nvpps_ioctl.h.
| #define NVPPS_GETVERSION _IOR('p', 0x1, struct nvpps_version *) |
Get NVPPS driver and API version information.
Behaviour of IOCTL and user expectations:
| [out] | version | Pointer to struct nvpps_version where version information will be stored. The memory for this structure shall be allocated by the caller. |
Usage considerations
Definition at line 58 of file nvpps_ioctl.h.
| #define NVPPS_SETPARAMS _IOW('p', 0x3, struct nvpps_params *) |
Set NVPPS driver configuration parameters.
Behaviour of IOCTL and user expectations:
| [in] | params | Pointer to struct nvpps_params containing desired configuration to be set. The memory for this structure shall be allocated and initialized by the caller. |
Usage considerations
Definition at line 147 of file nvpps_ioctl.h.