Lines Matching full:adjust
452 int adjust; in igc_ptp_rx_pktstamp() local
468 /* Adjust timestamp for the RX latency based on link speed */ in igc_ptp_rx_pktstamp()
471 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
474 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
477 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
480 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
483 adjust = 0; in igc_ptp_rx_pktstamp()
488 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
650 int adjust = 0; in igc_ptp_tx_hwtstamp() local
662 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_hwtstamp()
665 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_hwtstamp()
668 adjust = IGC_I225_TX_LATENCY_1000; in igc_ptp_tx_hwtstamp()
671 adjust = IGC_I225_TX_LATENCY_2500; in igc_ptp_tx_hwtstamp()
676 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()