Home
last modified time | relevance | path

Searched refs:MGE_REG_SMI (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/mge/
H A Dif_mge.c219 (MGE_READ(sc, MGE_REG_SMI) & MGE_SMI_BUSY)) in mv_read_ge_smi()
228 MGE_WRITE(sc, MGE_REG_SMI, MGE_SMI_MASK & in mv_read_ge_smi()
234 !((MGE_READ(sc, MGE_REG_SMI) & MGE_SMI_READVALID))) in mv_read_ge_smi()
245 ret = MGE_READ(sc, MGE_REG_SMI) & MGE_SMI_DATA_MASK; in mv_read_ge_smi()
265 (MGE_READ(sc, MGE_REG_SMI) & MGE_SMI_BUSY)) in mv_write_ge_smi()
273 MGE_WRITE(sc, MGE_REG_SMI, MGE_SMI_MASK & in mv_write_ge_smi()
291 MGE_WRITE(sc->phy_sc, MGE_REG_SMI, MGE_SMI_MASK & in mv_read_ext_phy()
296 !(MGE_READ(sc->phy_sc, MGE_REG_SMI) & MGE_SMI_READVALID)) in mv_read_ext_phy()
302 ret = MGE_READ(sc->phy_sc, MGE_REG_SMI) & MGE_SMI_DATA_MASK; in mv_read_ext_phy()
317 MGE_WRITE(sc->phy_sc, MGE_REG_SMI, MGE_SMI_MASK & in mv_write_ext_phy()
[all …]
H A Dif_mgevar.h166 #define MGE_REG_SMI 0x004 macro