Sub Modules | |
CPSW CPTS | |
ICSSG TimeSync | |
Data Structures | |
struct | EnetTimeSync_setTimestamp |
Timestamp set. More... | |
struct | EnetTimeSync_TimestampAdj |
Timestamp adjustment. More... | |
struct | EnetTimeSync_GetEthTimestampInArgs |
Input args for ENET_TIMESYNC_IOCTL_GET_ETH_RX_TIMESTAMP and ENET_TIMESYNC_IOCTL_GET_ETH_TX_TIMESTAMP commands. More... | |
Macros | |
#define | ENET_TIMESYNC_PUBLIC_IOCTL(x) |
Helper macro to create IOCTL commands for TIMESYNC module. More... | |
#define ENET_TIMESYNC_PUBLIC_IOCTL | ( | x | ) |
Helper macro to create IOCTL commands for TIMESYNC module.
enum EnetTimeSync_Ioctl |
TimeSync module IOCTL commands.
Enumerator | |
---|---|
ENET_TIMESYNC_IOCTL_GET_VERSION | Get the hardware version of the TimeSync module. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_PRINT_REGS | Print TimeSync registers. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_PRINT_STATS | Print TimeSync event statistics. They could be either hardware or software based statistics. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_GET_CURRENT_TIMESTAMP | Get current timestamp. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_SET_TIMESTAMP | Set timestamp value. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_ADJUST_TIMESTAMP | Adjust the timestamp value. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_GET_ETH_RX_TIMESTAMP | Get Ethernet RX timestamp. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_GET_ETH_TX_TIMESTAMP | Get Ethernet TX timestamp. For CPSW the driver maintains a pool of the timestamps that are captured by CPTS and gives back the matched entry. But, In case of ICSSG, Driver doesn't maintain any software pool, it returns back the top entry in the queue if it matches the seq id passed. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_RESET | Reset TimeSync module. IOCTL parameters:
|
ENET_TIMESYNC_IOCTL_SET_TIMESTAMP_COMPLETE | ICSSG Set timestamp operation completed. IOCTL parameters:
|
enum EnetTimeSync_MsgType |
TimeSync Ethernet message type.
enum EnetTimeSync_AdjMode |
enum EnetTimeSync_AdjDir |