Searched refs:ravb_read (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/renesas/ |
H A 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() 107 gccr = ravb_read(ndev, GCCR); in ravb_ptp_adjfine() 302 u32 gis = ravb_read(ndev, GIS); in ravb_ptp_interrupt() 304 gis &= ravb_read(ndev, GIC); in ravb_ptp_interrupt() 310 event.timestamp = ravb_read(ndev, GCPT); in ravb_ptp_interrupt() 332 priv->ptp.default_addend = ravb_read(ndev, GTI); in ravb_ptp_init()
|
H A D | ravb_main.c | 46 ravb_write(ndev, (ravb_read(ndev, reg) & ~clear) | set, reg); in ravb_modify() 54 if ((ravb_read(ndev, reg) & mask) == value) in ravb_wait() 129 u32 mahr = ravb_read(ndev, MAHR); in ravb_read_mac_address() 130 u32 malr = ravb_read(ndev, MALR); in ravb_read_mac_address() 175 return (ravb_read(priv->ndev, PIR) & PIR_MDI) != 0; in ravb_get_mdio_data() 723 count = (ravb_read(ndev, TSR) & TSR_TFFL) >> 8; in ravb_get_tx_tstamp() 725 tfa2 = ravb_read(ndev, TFA2); in ravb_get_tx_tstamp() 727 ts.tv_nsec = (u64)ravb_read(ndev, TFA0); in ravb_get_tx_tstamp() 729 ravb_read(ndev, TFA1); in ravb_get_tx_tstamp() 1110 ecsr = ravb_read(ndev, ECSR); in ravb_emac_interrupt_unlocked() [all …]
|
H A D | ravb.h | 1147 static inline u32 ravb_read(struct net_device *ndev, enum ravb_reg reg) in ravb_read() function
|