Home
last modified time | relevance | path

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

/linux-6.6.21/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()
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()
Dravb_main.c54 ravb_write(ndev, (ravb_read(ndev, reg) & ~clear) | set, reg); in ravb_modify()
62 if ((ravb_read(ndev, reg) & mask) == value) in ravb_wait()
145 u32 mahr = ravb_read(ndev, MAHR); in ravb_read_mac_address()
146 u32 malr = ravb_read(ndev, MALR); in ravb_read_mac_address()
191 return (ravb_read(priv->ndev, PIR) & PIR_MDI) != 0; in ravb_get_mdio_data()
710 count = (ravb_read(ndev, TSR) & TSR_TFFL) >> 8; in ravb_get_tx_tstamp()
712 tfa2 = ravb_read(ndev, TFA2); in ravb_get_tx_tstamp()
714 ts.tv_nsec = (u64)ravb_read(ndev, TFA0); in ravb_get_tx_tstamp()
716 ravb_read(ndev, TFA1); in ravb_get_tx_tstamp()
1067 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