Home
last modified time | relevance | path

Searched refs:ravb_read (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/renesas/
Dravb_ptp.c34 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()
309 u32 gis = ravb_read(ndev, GIS); in ravb_ptp_interrupt()
311 gis &= ravb_read(ndev, GIC); in ravb_ptp_interrupt()
317 event.timestamp = ravb_read(ndev, GCPT); in ravb_ptp_interrupt()
339 priv->ptp.default_addend = ravb_read(ndev, GTI); in ravb_ptp_init()
Dravb_main.c56 ravb_write(ndev, (ravb_read(ndev, reg) & ~clear) | set, reg); in ravb_modify()
64 if ((ravb_read(ndev, reg) & mask) == value) in ravb_wait()
136 u32 mahr = ravb_read(ndev, MAHR); in ravb_read_mac_address()
137 u32 malr = ravb_read(ndev, MALR); in ravb_read_mac_address()
182 return (ravb_read(priv->ndev, PIR) & PIR_MDI) != 0; in ravb_get_mdio_data()
702 count = (ravb_read(ndev, TSR) & TSR_TFFL) >> 8; in ravb_get_tx_tstamp()
704 tfa2 = ravb_read(ndev, TFA2); in ravb_get_tx_tstamp()
706 ts.tv_nsec = (u64)ravb_read(ndev, TFA0); in ravb_get_tx_tstamp()
708 ravb_read(ndev, TFA1); in ravb_get_tx_tstamp()
1059 ecsr = ravb_read(ndev, ECSR); in ravb_emac_interrupt_unlocked()
[all …]
Dravb.h1111 static inline u32 ravb_read(struct net_device *ndev, enum ravb_reg reg) in ravb_read() function