Lines Matching refs:adjust
475 int adjust; in igc_ptp_rx_pktstamp() local
494 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
497 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
500 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
503 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
506 adjust = 0; in igc_ptp_rx_pktstamp()
511 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
715 int adjust = 0; in igc_ptp_tx_reg_to_stamp() local
726 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_reg_to_stamp()
729 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_reg_to_stamp()
732 adjust = IGC_I225_TX_LATENCY_1000; in igc_ptp_tx_reg_to_stamp()
735 adjust = IGC_I225_TX_LATENCY_2500; in igc_ptp_tx_reg_to_stamp()
740 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_reg_to_stamp()