Searched refs:systime (Results 1 – 5 of 5) sorted by relevance
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_ptp.c | 338 u64 systime) in idpf_ptp_update_phctime_rxq_grp() argument 347 WRITE_ONCE(rxq->cached_phc_time, systime); in idpf_ptp_update_phctime_rxq_grp() 353 WRITE_ONCE(rxq->cached_phc_time, systime); in idpf_ptp_update_phctime_rxq_grp() 372 u64 systime; in idpf_ptp_update_cached_phctime() local 375 err = idpf_ptp_read_src_clk_reg(adapter, &systime, NULL); in idpf_ptp_update_cached_phctime() 383 WRITE_ONCE(adapter->ptp->cached_phc_time, systime); in idpf_ptp_update_cached_phctime() 397 idpf_ptp_update_phctime_rxq_grp(grp, split, systime); in idpf_ptp_update_cached_phctime()
|
| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | stmmac_hwtstamp.c | 202 static void get_systime(void __iomem *ioaddr, u64 *systime) in get_systime() argument 216 if (systime) in get_systime() 217 *systime = ns + (sec1 * 1000000000ULL); in get_systime()
|
| A D | hwif.h | 504 void (*get_systime) (void __iomem *ioaddr, u64 *systime);
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_ptp.c | 402 struct timespec64 systime; in ixgbe_ptp_convert_to_hwtstamp() local 425 systime.tv_sec = timestamp >> 32; in ixgbe_ptp_convert_to_hwtstamp() 426 systime.tv_nsec = timestamp & 0xFFFFFFFF; in ixgbe_ptp_convert_to_hwtstamp() 428 timestamp = timespec64_to_ns(&systime); in ixgbe_ptp_convert_to_hwtstamp()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_ptp.c | 959 u64 systime; in ice_ptp_update_cached_phctime() local 973 systime = ice_ptp_read_src_clk_reg(pf, NULL); in ice_ptp_update_cached_phctime() 976 WRITE_ONCE(pf->ptp.cached_phc_time, systime); in ice_ptp_update_cached_phctime() 995 WRITE_ONCE(vsi->rx_rings[j]->cached_phctime, systime); in ice_ptp_update_cached_phctime()
|
Completed in 24 milliseconds