![]() |
![]() |
Data Structures | |
struct | CpswCpts_Event_s |
CPTS Event. More... | |
struct | CpswCpts_LookUpEventInArgs_s |
CPTS Lookup event IOCTL inArgs. More... | |
struct | CpswCpts_EventStats_s |
CPTS event statistics. More... | |
struct | CpswCpts_StackConfig_s |
CPTS Register Stack InArgs. More... | |
struct | CpswCpts_SetTsPpmInArgs_s |
Set time stamp PPM IOCTL inArgs. More... | |
struct | CpswCpts_SetCompValInArgs_s |
Setup Compare Value IOCTL inArgs. More... | |
struct | CpswCpts_SetFxnGenInArgs_s |
Set Function Generator(same data structure for both Generic and Ethernet) IOCTL inArgs. More... | |
struct | CptsSetFxnGenNudgeInArgs_s |
Setup Function generator(same data structure for both Generic and Ethernet) Nudge IOCTL inArgs. More... | |
struct | CpswCpts_Config_s |
CPTS configuration. More... | |
Macros | |
#define | CPSW_CPTS_PUBLIC_IOCTL(x) (CPSW_IOCTL_CPTS_BASE | CPSW_IOCTL_MIN(x)) |
Helper macro to create IOCTL commands for CPTS submodule. | |
Typedefs | |
typedef enum CpswCpts_RftClkFreq_e | CpswCpts_RftClkFreq |
CPTS clock frequency add value enumeration. | |
typedef enum CpswCpts_EventType_e | CpswCpts_EventType |
CPTS event type enumeration. | |
typedef enum CpswCpts_MsgType_e | CpswCpts_MsgType |
CPTS Ethernet message type enumeration. | |
typedef enum CpswCpts_OutputBitSel_e | CpswCpts_OutputBitSel |
CPTS time stamp output bit enumeration. | |
typedef enum CpswCpts_PpmMode_e | CpswCpts_PpmMode |
CPTS PPM mode enumeration. | |
typedef enum CpswCpts_PpmDir_e | CpswCpts_PpmDir |
CPTS PPM direction Enumeration. | |
typedef struct CpswCpts_Event_s | CpswCpts_Event |
CPTS Event. | |
typedef struct CpswCpts_LookUpEventInArgs_s | CpswCpts_LookUpEventInArgs |
CPTS Lookup event IOCTL inArgs. | |
typedef struct CpswCpts_EventStats_s | CpswCpts_EventStats |
CPTS event statistics. | |
typedef void(* | CpswCpts_EventNotifyCb )(void *hEventNotifyCbArg, CpswCpts_Event *eventInfo) |
CPTS Event notify callback type. | |
typedef struct CpswCpts_StackConfig_s | CpswCpts_RegisterStackInArgs |
CPTS Register Stack InArgs. More... | |
typedef struct CpswCpts_SetTsPpmInArgs_s | CpswCpts_SetTsPpmInArgs |
Set time stamp PPM IOCTL inArgs. | |
typedef struct CpswCpts_SetCompValInArgs_s | CpswCpts_SetCompValInArgs |
Setup Compare Value IOCTL inArgs. | |
typedef struct CpswCpts_SetFxnGenInArgs_s | CpswCpts_SetFxnGenInArgs |
Set Function Generator(same data structure for both Generic and Ethernet) IOCTL inArgs. | |
typedef struct CptsSetFxnGenNudgeInArgs_s | CptsSetFxnGenNudgeInArgs |
Setup Function generator(same data structure for both Generic and Ethernet) Nudge IOCTL inArgs. | |
typedef struct CpswCpts_Config_s | CpswCpts_Config |
CPTS configuration. More... | |
typedef struct CpswCpts_Obj_s * | CpswCpts_Handle |
CPTS handle. More... | |
typedef struct CpswCpts_Config_s CpswCpts_Config |
CPTS configuration.
Configuration information for the CPTS submodule.
typedef struct CpswCpts_Obj_s* CpswCpts_Handle |
CPTS handle.
CPTS submodule opaque handle.
typedef struct CpswCpts_StackConfig_s CpswCpts_RegisterStackInArgs |
CPTS Register Stack InArgs.
Configuration information for registering a stack with the CPTS module
enum CpswCpts_EventType_e |
CPTS event type enumeration.
enum CpswCpts_Ioctl_e |
CPTS module IOCTL commands.
Enumerator | |
---|---|
CPSW_CPTS_IOCTL_GET_VERSION |
Get the hardware version of the CPTS submodule. IOCTL parameters:
|
CPSW_CPTS_IOCTL_REGISTER_STACK |
CPTS register stack. IOCTL parameters:
|
CPSW_CPTS_IOCTL_UNREGISTER_STACK |
CPTS unregister stack. IOCTL parameters:
|
CPSW_CPTS_IOCTL_PUSH_TIMESTAMP_EVENT |
CPTS time stamp push. IOCTL parameters:
|
CPSW_CPTS_IOCTL_LOAD_TIMESTAMP |
CPTS time stamp load. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_TS_NUDGE |
CPTS set time stamp nudge. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_TS_PPM |
CPTS set time stamp PPM. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_COMP |
CPTS set compare value. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_COMP_NUDGE |
CPTS set compare nudge. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_GENF |
CPTS set function generator. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_GENF_NUDGE |
CPTS set GenFn stamp nudge. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_ESTF |
CPTS set EST function generator. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SET_ESTF_NUDGE |
CPTS set ESTFn stamp nudge. IOCTL parameters:
|
CPSW_CPTS_IOCTL_SELECT_TS_OUTPUT_BIT |
CPTS TS output bit select. IOCTL parameters:
|
CPSW_CPTS_IOCTL_LOOKUP_EVENT |
CPTS lookup event. IOCTL parameters:
|
CPSW_CPTS_IOCTL_CLEAR_ALL_EVENTS |
CPTS clear all events. IOCTL parameters:
|
CPSW_CPTS_IOCTL_PRINT_REGS |
Print CPTS registers. IOCTL parameters:
|
CPSW_CPTS_IOCTL_PRINT_STATS |
Print CPTS event statistics. IOCTL parameters:
|
enum CpswCpts_MsgType_e |
CPTS Ethernet message type enumeration.
CPTS time stamp output bit enumeration.
enum CpswCpts_PpmDir_e |
enum CpswCpts_PpmMode_e |
CPTS clock frequency add value enumeration.