Lines Matching refs:adjust
474 int adjust; in igc_ptp_rx_pktstamp() local
484 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
487 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
490 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
493 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
496 adjust = 0; in igc_ptp_rx_pktstamp()
501 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
731 int adjust = 0; in igc_ptp_tx_reg_to_stamp() local
742 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_reg_to_stamp()
745 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_reg_to_stamp()
748 adjust = IGC_I225_TX_LATENCY_1000; in igc_ptp_tx_reg_to_stamp()
751 adjust = IGC_I225_TX_LATENCY_2500; in igc_ptp_tx_reg_to_stamp()
756 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_reg_to_stamp()