Searched refs:neg_adj (Results 1 – 12 of 12) sorted by relevance
41 int neg_adj = 0; in stmmac_adjust_freq() local45 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() local82 neg_adj = 1; in stmmac_adjust_time()92 priv->hw->ptp->adjust_systime(priv->ioaddr, sec, nsec, neg_adj); in stmmac_adjust_time()
49 bool neg_adj = false; in e1000e_phc_adjfreq() local58 neg_adj = true; in e1000e_phc_adjfreq()73 incvalue = neg_adj ? (incvalue - adjustment) : (incvalue + adjustment); in e1000e_phc_adjfreq()
149 int neg_adj = 0; in fec_ptp_adjfreq() local157 neg_adj = 1; in fec_ptp_adjfreq()172 fep->cc.mult = neg_adj ? mult - diff : mult + diff; in fec_ptp_adjfreq()
288 int neg_adj = 0; in ptp_gianfar_adjfreq() local292 neg_adj = 1; in ptp_gianfar_adjfreq()300 tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff; in ptp_gianfar_adjfreq()
140 int neg_adj = 0; in ptp_ixp_adjfreq() local145 neg_adj = 1; in ptp_ixp_adjfreq()153 addend = neg_adj ? addend - diff : addend + diff; in ptp_ixp_adjfreq()
416 int neg_adj = 0; in ptp_pch_adjfreq() local421 neg_adj = 1; in ptp_pch_adjfreq()429 addend = neg_adj ? addend - diff : addend + diff; in ptp_pch_adjfreq()
203 int neg_adj = 0; in igb_ptp_adjfreq_82576() local208 neg_adj = 1; in igb_ptp_adjfreq_82576()217 if (neg_adj) in igb_ptp_adjfreq_82576()232 int neg_adj = 0; in igb_ptp_adjfreq_82580() local237 neg_adj = 1; in igb_ptp_adjfreq_82580()245 if (neg_adj) in igb_ptp_adjfreq_82580()
136 int neg_adj = 0; in cpts_ptp_adjfreq() local141 neg_adj = 1; in cpts_ptp_adjfreq()153 cpts->cc.mult = neg_adj ? mult - diff : mult + diff; in cpts_ptp_adjfreq()
218 int neg_adj = 0; in ixgbe_ptp_adjfreq() local221 neg_adj = 1; in ixgbe_ptp_adjfreq()232 incval = neg_adj ? (incval - diff) : (incval + diff); in ixgbe_ptp_adjfreq()
332 int neg_adj = 0; in ptp_dp83640_adjfreq() local336 neg_adj = 1; in ptp_dp83640_adjfreq()344 if (neg_adj) in ptp_dp83640_adjfreq()
943 int neg_adj = 0; in bfin_ptp_adjfreq() local948 neg_adj = 1; in bfin_ptp_adjfreq()956 addend = neg_adj ? addend - diff : addend + diff; in bfin_ptp_adjfreq()
6063 bool neg_adj = false; in tg3_ptp_adjfreq() local6067 neg_adj = true; in tg3_ptp_adjfreq()6087 (neg_adj ? TG3_EAV_REF_CLK_CORRECT_NEG : 0) | correction); in tg3_ptp_adjfreq()