Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c480 u32 iepcount_lo, iepcount_hi, hi_rollover_count; in icssg_ts_to_ns() local
484 iepcount_hi = (hi & GENMASK(11, 0)) << 12 | lo >> 20; in icssg_ts_to_ns()
487 ns = ((u64)hi_rollover_count) << 23 | (iepcount_hi + hi_sw); in icssg_ts_to_ns()
1172 u32 iepcount_hi, iepcount_hi_r; in prueth_iep_gettime() local
1182 iepcount_hi = icss_iep_get_count_hi(emac->iep); in prueth_iep_gettime()
1183 iepcount_hi += readl(fw_count_hi_addr); in prueth_iep_gettime()
1192 } while ((iepcount_hi_r != iepcount_hi) || in prueth_iep_gettime()
1196 ts = ((u64)hi_rollover_count) << 23 | iepcount_hi; in prueth_iep_gettime()