Searched refs:SIS_PHYCTL (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/sis/ |
H A D | if_sis.c | 504 CSR_WRITE_4(sc, SIS_PHYCTL, in sis_miibus_readreg() 506 SIS_SETBIT(sc, SIS_PHYCTL, SIS_PHYCTL_ACCESS); in sis_miibus_readreg() 509 if (!(CSR_READ_4(sc, SIS_PHYCTL) & SIS_PHYCTL_ACCESS)) in sis_miibus_readreg() 519 val = (CSR_READ_4(sc, SIS_PHYCTL) >> 16) & 0xFFFF; in sis_miibus_readreg() 556 CSR_WRITE_4(sc, SIS_PHYCTL, (data << 16) | (phy << 11) | in sis_miibus_writereg() 558 SIS_SETBIT(sc, SIS_PHYCTL, SIS_PHYCTL_ACCESS); in sis_miibus_writereg() 561 if (!(CSR_READ_4(sc, SIS_PHYCTL) & SIS_PHYCTL_ACCESS)) in sis_miibus_writereg()
|
H A D | if_sisreg.h | 52 #define SIS_PHYCTL 0x1C macro
|