Home
last modified time | relevance | path

Searched refs:sec_h (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c109 u32 sec_h; in hclge_ptp_get_rx_hwts() local
119 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()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c1373 u64 sec_h; in hw_atl_b0_get_sync_ts() local
1383 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()