/* Reads the time stamp contents in to the respective pointers These registers are readonly. This function returns the 48 bit time stamp assuming Version 2 timestamp with higher word is selected.  */
void synopGMAC_TS_read_timestamp(synopGMACdevice *gmacdev, u16 *higher_sec_val, u32 *sec_val, u32 *sub_sec_val)
/* Reads the time stamp contents in to the respective pointers These registers are readonly. This function returns the 48 bit time stamp assuming Version 2 timestamp with higher word is selected.  */
void synopGMAC_TS_read_timestamp(synopGMACdevice *gmacdev, u16 *higher_sec_val, u32 *sec_val, u32 *sub_sec_val)
{
    * higher_sec_val = (u16)(synopGMACReadReg(gmacdev->MacBase,GmacTSHighWord) & GmacTSHighWordMask);
        * sec_val        = synopGMACReadReg(gmacdev->MacBase,GmacTSHigh);
        * sub_sec_val    = synopGMACReadReg(gmacdev->MacBase,GmacTSLow);
    return;
}