| /linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_ptp.c | 41 int neg_adj = 0; in stmmac_adjust_freq() local 45 neg_adj = 1; in stmmac_adjust_freq() 53 addend = neg_adj ? (addend - diff) : (addend + diff); in stmmac_adjust_freq() 79 int neg_adj = 0; in stmmac_adjust_time() local 82 neg_adj = 1; in stmmac_adjust_time() 92 priv->hw->ptp->adjust_systime(priv->ioaddr, sec, nsec, neg_adj); in stmmac_adjust_time()
|
| /linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
| D | ptp.c | 42 bool neg_adj = false; in e1000e_phc_adjfreq() local 52 neg_adj = true; in e1000e_phc_adjfreq() 69 incvalue = neg_adj ? (incvalue - adjustment) : (incvalue + adjustment); in e1000e_phc_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_clock.c | 117 int neg_adj = 0; in mlx4_en_phc_adjfreq() local 123 neg_adj = 1; in mlx4_en_phc_adjfreq() 133 mdev->cycles.mult = neg_adj ? mult - diff : mult + diff; in mlx4_en_phc_adjfreq()
|
| /linux-4.4.14/drivers/ptp/ |
| D | ptp_ixp46x.c | 140 int neg_adj = 0; in ptp_ixp_adjfreq() local 145 neg_adj = 1; in ptp_ixp_adjfreq() 153 addend = neg_adj ? addend - diff : addend + diff; in ptp_ixp_adjfreq()
|
| D | ptp_pch.c | 416 int neg_adj = 0; in ptp_pch_adjfreq() local 421 neg_adj = 1; in ptp_pch_adjfreq() 429 addend = neg_adj ? addend - diff : addend + diff; in ptp_pch_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/ti/ |
| D | cpts.c | 134 int neg_adj = 0; in cpts_ptp_adjfreq() local 139 neg_adj = 1; in cpts_ptp_adjfreq() 151 cpts->cc.mult = neg_adj ? mult - diff : mult + diff; in cpts_ptp_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/renesas/ |
| D | ravb_ptp.c | 102 bool neg_adj = false; in ravb_ptp_adjfreq() local 106 neg_adj = true; in ravb_ptp_adjfreq() 112 addend = neg_adj ? addend - diff : addend + diff; in ravb_ptp_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/intel/igb/ |
| D | igb_ptp.c | 205 int neg_adj = 0; in igb_ptp_adjfreq_82576() local 210 neg_adj = 1; in igb_ptp_adjfreq_82576() 219 if (neg_adj) in igb_ptp_adjfreq_82576() 234 int neg_adj = 0; in igb_ptp_adjfreq_82580() local 239 neg_adj = 1; in igb_ptp_adjfreq_82580() 247 if (neg_adj) in igb_ptp_adjfreq_82580()
|
| /linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 125 int neg_adj = 0; in i40e_ptp_adjfreq() local 128 neg_adj = 1; in i40e_ptp_adjfreq() 139 if (neg_adj) in i40e_ptp_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/freescale/ |
| D | fec_ptp.c | 305 int neg_adj = 0; in fec_ptp_adjfreq() local 319 neg_adj = 1; in fec_ptp_adjfreq() 344 if (neg_adj) in fec_ptp_adjfreq()
|
| D | gianfar_ptp.c | 287 int neg_adj = 0; in ptp_gianfar_adjfreq() local 291 neg_adj = 1; in ptp_gianfar_adjfreq() 299 tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff; in ptp_gianfar_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_ptp.c | 220 int neg_adj = 0; in ixgbe_ptp_adjfreq() local 223 neg_adj = 1; in ixgbe_ptp_adjfreq() 234 incval = neg_adj ? (incval - diff) : (incval + diff); in ixgbe_ptp_adjfreq()
|
| /linux-4.4.14/drivers/net/phy/ |
| D | dp83640.c | 383 int neg_adj = 0; in ptp_dp83640_adjfreq() local 387 neg_adj = 1; in ptp_dp83640_adjfreq() 395 if (neg_adj) in ptp_dp83640_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/adi/ |
| D | bfin_mac.c | 948 int neg_adj = 0; in bfin_ptp_adjfreq() local 953 neg_adj = 1; in bfin_ptp_adjfreq() 961 addend = neg_adj ? addend - diff : addend + diff; in bfin_ptp_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
| D | lio_main.c | 1477 bool neg_adj = false; in liquidio_ptp_adjfreq() local 1480 neg_adj = true; in liquidio_ptp_adjfreq() 1493 if (neg_adj) in liquidio_ptp_adjfreq()
|
| /linux-4.4.14/drivers/net/ethernet/broadcom/ |
| D | tg3.c | 6176 bool neg_adj = false; in tg3_ptp_adjfreq() local 6180 neg_adj = true; in tg3_ptp_adjfreq() 6200 (neg_adj ? TG3_EAV_REF_CLK_CORRECT_NEG : 0) | correction); in tg3_ptp_adjfreq()
|