Searched refs:sec_h (Results 1 – 2 of 2) sorted by relevance
109 u32 sec_h; in hclge_ptp_get_rx_hwts() local119 sec_h = readl(hdev->ptp->io_base + HCLGE_PTP_CUR_TIME_SEC_H_REG); in hclge_ptp_get_rx_hwts()122 ns += (((u64)sec_h) << HCLGE_PTP_SEC_H_OFFSET | sec) * NSEC_PER_SEC; in hclge_ptp_get_rx_hwts()
1373 u64 sec_h; in hw_atl_b0_get_sync_ts() local1383 sec_h = aq_phy_read_reg(self, MDIO_MMD_PCS, 0xc915); in hw_atl_b0_get_sync_ts()1389 *ts = (nsec_h << 16) + nsec_l + ((sec_h << 16) + sec_l) * NSEC_PER_SEC; in hw_atl_b0_get_sync_ts()