/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.c | 105 bool neg_adj = false; in ptp_adjfine() local 111 neg_adj = true; in ptp_adjfine() 136 comp = neg_adj ? comp - adj : comp + adj; in ptp_adjfine()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_tai.c | 169 bool neg_adj; in mvpp22_tai_adjfine() local 173 neg_adj = scaled_ppm < 0; in mvpp22_tai_adjfine() 174 if (neg_adj) in mvpp22_tai_adjfine() 180 if (neg_adj) { in mvpp22_tai_adjfine()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 100 bool neg_adj = false; in cavium_ptp_adjfine() local 103 neg_adj = true; in cavium_ptp_adjfine() 126 comp = neg_adj ? comp - adj : comp + adj; in cavium_ptp_adjfine()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 128 int neg_adj = 0; in ptp_ixp_adjfreq() local 133 neg_adj = 1; in ptp_ixp_adjfreq() 141 addend = neg_adj ? addend - diff : addend + diff; in ptp_ixp_adjfreq()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 47 int neg_adj = 0; in igc_ptp_adjfine_i225() local 52 neg_adj = 1; in igc_ptp_adjfine_i225() 60 if (neg_adj) in igc_ptp_adjfine_i225()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 280 int neg_adj = 0; in fec_ptp_adjfreq() local 294 neg_adj = 1; in fec_ptp_adjfreq() 319 if (neg_adj) in fec_ptp_adjfreq()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 107 int neg_adj = 0; in i40e_ptp_adjfreq() local 110 neg_adj = 1; in i40e_ptp_adjfreq() 118 if (neg_adj) in i40e_ptp_adjfreq()
|
/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_qoriq.c | 181 int neg_adj = 0; in ptp_qoriq_adjfine() local 186 neg_adj = 1; in ptp_qoriq_adjfine() 201 tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff; in ptp_qoriq_adjfine()
|
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_idt82p33.c | 297 int neg_adj = 0; in _idt82p33_adjfine() local 318 neg_adj = 1; in _idt82p33_adjfine() 325 if (neg_adj) in _idt82p33_adjfine()
|
D | ptp_clockmatrix.c | 1302 bool neg_adj = 0; in _idtcm_adjfine() local 1327 neg_adj = 1; in _idtcm_adjfine() 1336 if (neg_adj) in _idtcm_adjfine()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 221 int neg_adj = 0; in mlx5_ptp_adjfreq() local 227 neg_adj = 1; in mlx5_ptp_adjfreq() 238 clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff : in mlx5_ptp_adjfreq()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpts.c | 219 int neg_adj = 0; in cpts_ptp_adjfreq() local 224 neg_adj = 1; in cpts_ptp_adjfreq() 234 cpts->mult_new = neg_adj ? mult - diff : mult + diff; in cpts_ptp_adjfreq()
|
D | am65-cpts.c | 387 int neg_adj = 0; in am65_cpts_ptp_adjfreq() local 392 neg_adj = 1; in am65_cpts_ptp_adjfreq() 410 if (neg_adj) in am65_cpts_ptp_adjfreq()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | dp83640.c | 372 int neg_adj = 0; in ptp_dp83640_adjfine() local 376 neg_adj = 1; in ptp_dp83640_adjfine() 384 if (neg_adj) in ptp_dp83640_adjfine()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 1529 bool neg_adj = false; in liquidio_ptp_adjfreq() local 1532 neg_adj = true; in liquidio_ptp_adjfreq() 1545 if (neg_adj) in liquidio_ptp_adjfreq()
|