/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 27 int neg_adj = 0; in stmmac_adjust_freq() local 31 neg_adj = 1; in stmmac_adjust_freq() 39 addend = neg_adj ? (addend - diff) : (addend + diff); in stmmac_adjust_freq() 63 int neg_adj = 0; in stmmac_adjust_time() local 69 neg_adj = 1; in stmmac_adjust_time() 78 stmmac_adjust_systime(priv, priv->ptpaddr, sec, nsec, neg_adj, xmac); in stmmac_adjust_time()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 125 int neg_adj = 0; in mlx4_en_phc_adjfreq() local 131 neg_adj = 1; in mlx4_en_phc_adjfreq() 141 mdev->cycles.mult = neg_adj ? mult - diff : mult + diff; in mlx4_en_phc_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 30 bool neg_adj = false; in e1000e_phc_adjfreq() local 40 neg_adj = true; in e1000e_phc_adjfreq() 57 incvalue = neg_adj ? (incvalue - adjustment) : (incvalue + adjustment); in e1000e_phc_adjfreq()
|
/Linux-v5.4/drivers/ptp/ |
D | ptp_ixp46x.c | 127 int neg_adj = 0; in ptp_ixp_adjfreq() local 132 neg_adj = 1; in ptp_ixp_adjfreq() 140 addend = neg_adj ? addend - diff : addend + diff; in ptp_ixp_adjfreq()
|
D | ptp_pch.c | 404 int neg_adj = 0; in ptp_pch_adjfreq() local 409 neg_adj = 1; in ptp_pch_adjfreq() 417 addend = neg_adj ? addend - diff : addend + diff; in ptp_pch_adjfreq()
|
D | ptp_qoriq.c | 199 int neg_adj = 0; in ptp_qoriq_adjfine() local 204 neg_adj = 1; in ptp_qoriq_adjfine() 217 tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff; in ptp_qoriq_adjfine()
|
/Linux-v5.4/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 97 bool neg_adj = false; in cavium_ptp_adjfine() local 100 neg_adj = true; in cavium_ptp_adjfine() 123 comp = neg_adj ? comp - adj : comp + adj; in cavium_ptp_adjfine()
|
/Linux-v5.4/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 98 bool neg_adj = false; in ravb_ptp_adjfreq() local 102 neg_adj = true; in ravb_ptp_adjfreq() 108 addend = neg_adj ? addend - diff : addend + diff; in ravb_ptp_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 451 int neg_adj = 0; in ixgbe_ptp_adjfreq_82599() local 454 neg_adj = 1; in ixgbe_ptp_adjfreq_82599() 465 incval = neg_adj ? (incval - diff) : (incval + diff); in ixgbe_ptp_adjfreq_82599() 500 int neg_adj = 0; in ixgbe_ptp_adjfreq_X550() local 505 neg_adj = 1; in ixgbe_ptp_adjfreq_X550() 516 if (neg_adj) in ixgbe_ptp_adjfreq_X550()
|
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 203 int neg_adj = 0; in mv88e6xxx_ptp_adjfine() local 208 neg_adj = 1; in mv88e6xxx_ptp_adjfine() 220 chip->tstamp_cc.mult = neg_adj ? mult - diff : mult + diff; in mv88e6xxx_ptp_adjfine()
|
/Linux-v5.4/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 121 bool neg_adj = false; in gem_ptp_adjfine() local 126 neg_adj = true; in gem_ptp_adjfine() 143 adj = neg_adj ? (word - adj) : (word + adj); in gem_ptp_adjfine()
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 291 int neg_adj = 0; in fec_ptp_adjfreq() local 305 neg_adj = 1; in fec_ptp_adjfreq() 330 if (neg_adj) in fec_ptp_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 199 int neg_adj = 0; in igb_ptp_adjfreq_82576() local 204 neg_adj = 1; in igb_ptp_adjfreq_82576() 213 if (neg_adj) in igb_ptp_adjfreq_82576() 228 int neg_adj = 0; in igb_ptp_adjfine_82580() local 233 neg_adj = 1; in igb_ptp_adjfine_82580() 241 if (neg_adj) in igb_ptp_adjfine_82580()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 106 int neg_adj = 0; in i40e_ptp_adjfreq() local 109 neg_adj = 1; in i40e_ptp_adjfreq() 117 if (neg_adj) in i40e_ptp_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 198 int neg_adj = 0; in mlx5_ptp_adjfreq() local 203 neg_adj = 1; in mlx5_ptp_adjfreq() 213 clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff : in mlx5_ptp_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | cpts.c | 220 int neg_adj = 0; in cpts_ptp_adjfreq() local 225 neg_adj = 1; in cpts_ptp_adjfreq() 237 cpts->cc.mult = neg_adj ? mult - diff : mult + diff; in cpts_ptp_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 155 int neg_adj = 0; in mlxsw_sp1_ptp_adjfine() local 163 neg_adj = 1; in mlxsw_sp1_ptp_adjfine() 173 clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff : in mlxsw_sp1_ptp_adjfine() 177 return mlxsw_sp1_ptp_phc_adjfreq(clock, neg_adj ? -ppb : ppb); in mlxsw_sp1_ptp_adjfine()
|
/Linux-v5.4/drivers/net/phy/ |
D | dp83640.c | 371 int neg_adj = 0; in ptp_dp83640_adjfine() local 375 neg_adj = 1; in ptp_dp83640_adjfine() 383 if (neg_adj) in ptp_dp83640_adjfine()
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 1566 bool neg_adj = false; in liquidio_ptp_adjfreq() local 1569 neg_adj = true; in liquidio_ptp_adjfreq() 1582 if (neg_adj) in liquidio_ptp_adjfreq()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6198 bool neg_adj = false; in tg3_ptp_adjfreq() local 6202 neg_adj = true; in tg3_ptp_adjfreq() 6222 (neg_adj ? TG3_EAV_REF_CLK_CORRECT_NEG : 0) | correction); in tg3_ptp_adjfreq()
|