Searched refs:ravb_read (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 34 ts->tv_nsec = ravb_read(ndev, GCT0); in ravb_ptp_time_read() 35 ts->tv_sec = ravb_read(ndev, GCT1) | in ravb_ptp_time_read() 36 ((s64)ravb_read(ndev, GCT2) << 32); in ravb_ptp_time_read() 53 gccr = ravb_read(ndev, GCCR); in ravb_ptp_time_write() 81 gccr = ravb_read(ndev, GCCR); in ravb_ptp_update_compare() 114 gccr = ravb_read(ndev, GCCR); in ravb_ptp_adjfreq() 307 u32 gis = ravb_read(ndev, GIS); in ravb_ptp_interrupt() 309 gis &= ravb_read(ndev, GIC); in ravb_ptp_interrupt() 315 event.timestamp = ravb_read(ndev, GCPT); in ravb_ptp_interrupt() 337 priv->ptp.default_addend = ravb_read(ndev, GTI); in ravb_ptp_init()
|
D | ravb_main.c | 56 ravb_write(ndev, (ravb_read(ndev, reg) & ~clear) | set, reg); in ravb_modify() 64 if ((ravb_read(ndev, reg) & mask) == value) in ravb_wait() 117 u32 mahr = ravb_read(ndev, MAHR); in ravb_read_mac_address() 118 u32 malr = ravb_read(ndev, MALR); in ravb_read_mac_address() 161 return (ravb_read(priv->ndev, PIR) & PIR_MDI) != 0; in ravb_get_mdio_data() 490 count = (ravb_read(ndev, TSR) & TSR_TFFL) >> 8; in ravb_get_tx_tstamp() 492 tfa2 = ravb_read(ndev, TFA2); in ravb_get_tx_tstamp() 494 ts.tv_nsec = (u64)ravb_read(ndev, TFA0); in ravb_get_tx_tstamp() 496 ravb_read(ndev, TFA1); in ravb_get_tx_tstamp() 694 ecsr = ravb_read(ndev, ECSR); in ravb_emac_interrupt_unlocked() [all …]
|
D | ravb.h | 1045 static inline u32 ravb_read(struct net_device *ndev, enum ravb_reg reg) in ravb_read() function
|