Lines Matching refs:adjust
453 int adjust; in igc_ptp_rx_pktstamp() local
472 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
475 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
478 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
481 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
484 adjust = 0; in igc_ptp_rx_pktstamp()
489 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
647 int adjust = 0; in igc_ptp_tx_hwtstamp() local
659 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_hwtstamp()
662 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_hwtstamp()
665 adjust = IGC_I225_TX_LATENCY_1000; in igc_ptp_tx_hwtstamp()
668 adjust = IGC_I225_TX_LATENCY_2500; in igc_ptp_tx_hwtstamp()
673 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()