Searched refs:addend (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 127 u32 diff, addend; in ptp_ixp_adjfreq() local 136 addend = DEFAULT_ADDEND; in ptp_ixp_adjfreq() 137 adj = addend; in ptp_ixp_adjfreq() 141 addend = neg_adj ? addend - diff : addend + diff; in ptp_ixp_adjfreq() 143 __raw_writel(addend, ®s->addend); in ptp_ixp_adjfreq() 292 __raw_writel(DEFAULT_ADDEND, &ixp_clock.regs->addend); in ptp_ixp_probe()
|
D | ixp46x_ts.h | 28 u32 addend; /* 0x08 Time Sync Addend Register */ member
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 27 u32 diff, addend; in stmmac_adjust_freq() local 36 addend = priv->default_addend; in stmmac_adjust_freq() 37 adj = addend; in stmmac_adjust_freq() 40 addend = neg_adj ? (addend - diff) : (addend + diff); in stmmac_adjust_freq() 43 stmmac_config_addend(priv, priv->ptpaddr, addend); in stmmac_adjust_freq()
|
D | stmmac_hwtstamp.c | 80 static int config_addend(void __iomem *ioaddr, u32 addend) in config_addend() argument 85 writel(addend, ioaddr + PTP_TAR); in config_addend()
|
D | hwif.h | 519 int (*config_addend) (void __iomem *ioaddr, u32 addend);
|
/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 97 u32 diff, addend; in ravb_ptp_adjfreq() local 105 addend = priv->ptp.default_addend; in ravb_ptp_adjfreq() 106 diff = div_u64((u64)addend * ppb, NSEC_PER_SEC); in ravb_ptp_adjfreq() 108 addend = neg_adj ? addend - diff : addend + diff; in ravb_ptp_adjfreq() 112 priv->ptp.current_addend = addend; in ravb_ptp_adjfreq() 119 ravb_write(ndev, addend & GTI_TIV, GTI); in ravb_ptp_adjfreq()
|
/drivers/ptp/ |
D | ptp_pch.c | 47 u32 addend; member 396 u32 diff, addend; in ptp_pch_adjfreq() local 405 addend = DEFAULT_ADDEND; in ptp_pch_adjfreq() 406 adj = addend; in ptp_pch_adjfreq() 410 addend = neg_adj ? addend - diff : addend + diff; in ptp_pch_adjfreq() 412 iowrite32(addend, ®s->addend); in ptp_pch_adjfreq() 600 iowrite32(DEFAULT_ADDEND, &chip->regs->addend); in pch_probe()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 144 u32 addend, diff; in xgbe_adjfreq() local 156 addend = (neg_adjust) ? pdata->tstamp_addend - diff : in xgbe_adjfreq() 161 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfreq()
|
D | xgbe-dev.c | 1530 unsigned int addend) in xgbe_update_tstamp_addend() argument 1535 XGMAC_IOWRITE(pdata, MAC_TSAR, addend); in xgbe_update_tstamp_addend()
|
/drivers/net/dsa/hirschmann/ |
D | hellcreek_ptp.c | 130 u32 addend; in hellcreek_ptp_adjfine() local 152 addend = (u32)div_u64(adj, 15625); in hellcreek_ptp_adjfine() 154 addendh = (addend & 0xffff0000) >> 16; in hellcreek_ptp_adjfine() 155 addendl = addend & 0xffff; in hellcreek_ptp_adjfine()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.c | 81 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ argument 82 (service->stats. stat += addend) 86 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) argument
|