Searched refs:HCLGE_PTP_SEC_H_OFFSET (Results 1 – 2 of 2) sorted by relevance
45 #define HCLGE_PTP_SEC_H_OFFSET 32u macro
122 ns += (((u64)sec_h) << HCLGE_PTP_SEC_H_OFFSET | sec) * NSEC_PER_SEC; in hclge_ptp_get_rx_hwts()142 ns += (((u64)hi) << HCLGE_PTP_SEC_H_OFFSET | lo) * NSEC_PER_SEC; in hclge_ptp_gettimex()156 writel(ts->tv_sec >> HCLGE_PTP_SEC_H_OFFSET, in hclge_ptp_settime()