Lines Matching full:adjust
822 int adjust = 0; in igb_ptp_tx_hwtstamp() local
828 /* adjust timestamp for the TX latency based on link speed */ in igb_ptp_tx_hwtstamp()
832 adjust = IGB_I210_TX_LATENCY_10; in igb_ptp_tx_hwtstamp()
835 adjust = IGB_I210_TX_LATENCY_100; in igb_ptp_tx_hwtstamp()
838 adjust = IGB_I210_TX_LATENCY_1000; in igb_ptp_tx_hwtstamp()
844 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igb_ptp_tx_hwtstamp()
874 int adjust = 0; in igb_ptp_rx_pktstamp() local
883 /* adjust timestamp for the RX latency based on link speed */ in igb_ptp_rx_pktstamp()
887 adjust = IGB_I210_RX_LATENCY_10; in igb_ptp_rx_pktstamp()
890 adjust = IGB_I210_RX_LATENCY_100; in igb_ptp_rx_pktstamp()
893 adjust = IGB_I210_RX_LATENCY_1000; in igb_ptp_rx_pktstamp()
898 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_pktstamp()
915 int adjust = 0; in igb_ptp_rx_rgtstamp() local
935 /* adjust timestamp for the RX latency based on link speed */ in igb_ptp_rx_rgtstamp()
939 adjust = IGB_I210_RX_LATENCY_10; in igb_ptp_rx_rgtstamp()
942 adjust = IGB_I210_RX_LATENCY_100; in igb_ptp_rx_rgtstamp()
945 adjust = IGB_I210_RX_LATENCY_1000; in igb_ptp_rx_rgtstamp()
950 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_rgtstamp()