Lines Matching full:adjust
170 int adjust = 0; in igc_ptp_rx_pktstamp() local
179 /* adjust timestamp for the RX latency based on link speed */ in igc_ptp_rx_pktstamp()
183 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
186 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
189 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
192 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
197 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igc_ptp_rx_pktstamp()
359 int adjust = 0; in igc_ptp_tx_hwtstamp() local
371 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_hwtstamp()
374 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_hwtstamp()
377 adjust = IGC_I225_TX_LATENCY_1000; in igc_ptp_tx_hwtstamp()
380 adjust = IGC_I225_TX_LATENCY_2500; in igc_ptp_tx_hwtstamp()
385 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()