Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c399 u64 tod_inc; in sparx5_ptp_adjfine() local
410 tod_inc = sparx5_ptp_get_nominal_value(sparx5); in sparx5_ptp_adjfine()
418 tod_inc = neg_adj ? tod_inc - ref : tod_inc + ref; in sparx5_ptp_adjfine()
426 spx5_wr((u32)tod_inc & 0xFFFFFFFF, sparx5, in sparx5_ptp_adjfine()
428 spx5_wr((u32)(tod_inc >> 32), sparx5, in sparx5_ptp_adjfine()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c387 u64 tod_inc; in lan966x_ptp_adjfine() local
398 tod_inc = lan966x_ptp_get_nominal_value(); in lan966x_ptp_adjfine()
406 tod_inc = neg_adj ? tod_inc - ref : tod_inc + ref; in lan966x_ptp_adjfine()
414 lan_wr((u32)tod_inc & 0xFFFFFFFF, lan966x, in lan966x_ptp_adjfine()
416 lan_wr((u32)(tod_inc >> 32), lan966x, in lan966x_ptp_adjfine()