Searched refs:RGE_READ_4 (Results 1 – 4 of 4) sorted by relevance
| /src/sys/dev/rge/ |
| H A D | if_rgevar.h | 232 #define RGE_READ_4(sc, reg) \ macro 240 RGE_WRITE_4(sc, reg, RGE_READ_4(sc, reg) | (val)) 247 RGE_WRITE_4(sc, reg, RGE_READ_4(sc, reg) & ~(val))
|
| H A D | if_rge_stats.c | 112 reg = RGE_READ_4(sc, RGE_DTCCR_LO); in rge_hw_mac_stats_fetch()
|
| H A D | if_rge_hw.c | 1777 *(uint32_t *)&addr[0] = RGE_READ_4(sc, RGE_ADDR0); in rge_get_macaddr() 1828 RGE_WRITE_4(sc, RGE_ISR, RGE_READ_4(sc, RGE_ISR)); in rge_hw_reset() 2022 if (!(RGE_READ_4(sc, RGE_CSIAR) & RGE_CSIAR_BUSY)) in rge_write_csi() 2039 if (RGE_READ_4(sc, RGE_CSIAR) & RGE_CSIAR_BUSY) in rge_read_csi() 2045 return (RGE_READ_4(sc, RGE_CSIDR)); in rge_read_csi() 2067 return (RGE_READ_4(sc, RGE_MACOCP) & RGE_MACOCP_DATA_MASK); in rge_read_mac_ocp() 2082 if (!(RGE_READ_4(sc, RGE_EPHYAR) & RGE_EPHYAR_BUSY)) in rge_write_ephy() 2100 val = RGE_READ_4(sc, RGE_EPHYAR); in rge_read_ephy() 2169 if (!(RGE_READ_4(sc, RGE_PHYOCP) & RGE_PHYOCP_BUSY)) in rge_write_phy_ocp() 2185 val = RGE_READ_4(sc, RGE_PHYOCP); in rge_read_phy_ocp()
|
| H A D | if_rge.c | 412 hwrev = RGE_READ_4(sc, RGE_TXCFG) & RGE_TXCFG_HWREV; in rge_attach() 706 if ((RGE_READ_4(sc, RGE_ISR) & sc->rge_intrs) == 0) in rge_intr_msi() 710 status = RGE_READ_4(sc, RGE_ISR); in rge_intr_msi() 2433 rxfilt = RGE_READ_4(sc, RGE_RXCFG); in rge_iff_locked()
|