Searched refs:GET_MACREG (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/sun/io/eri/ |
H A D | eri_common.h | 360 #define GET_MACREG(reg) \ macro 416 PUT_MACREG(txcfg, GET_MACREG(txcfg) | BMAC_TXCFG_ENAB) 419 PUT_MACREG(rxcfg, GET_MACREG(rxcfg) | BMAC_RXCFG_ENAB) 422 PUT_MACREG(rxcfg, GET_MACREG(rxcfg) & ~BMAC_RXCFG_ENAB) 425 PUT_MACREG(txcfg, GET_MACREG(txcfg) & ~BMAC_TXCFG_ENAB)
|
H A D | eri.c | 1719 PUT_MACREG(txcfg, GET_MACREG(txcfg) & ~BMAC_TXCFG_ENAB); in eri_txmac_disable() 1724 if ((GET_MACREG(txcfg) & 1) == 0) in eri_txmac_disable() 1734 PUT_MACREG(rxcfg, GET_MACREG(rxcfg) & ~BMAC_RXCFG_ENAB); in eri_rxmac_disable() 1739 if ((GET_MACREG(rxcfg) & 1) == 0) in eri_rxmac_disable() 2046 PUT_MACREG(rxcfg, GET_MACREG(rxcfg) | BMAC_RXCFG_ENAB); in eri_init_rx_channel() 2488 PUT_MACREG(xifc, GET_MACREG(xifc) | BMAC_XIFC_MIILPBK); in eri_init() 3060 txmac_sts = GET_MACREG(txsts); in eri_nonfatal_err() 3107 rxmac_sts = GET_MACREG(rxsts); in eri_nonfatal_err() 3119 GET_MACREG(macsm), in eri_nonfatal_err() 3156 macctl_sts = GET_MACREG(macctl_sts); in eri_nonfatal_err() [all …]
|
/titanic_41/usr/src/uts/common/io/hme/ |
H A D | hme.c | 364 #define GET_MACREG(reg) \ macro 550 tmp_xif = GET_MACREG(xifc); in hme_mii_read() 604 tmp_xif = GET_MACREG(xifc); in hme_mii_write() 2735 PUT_MACREG(rxcfg, GET_MACREG(rxcfg) | BMAC_RXCFG_ENAB); in hmeinit() 2736 PUT_MACREG(txcfg, GET_MACREG(txcfg) | BMAC_TXCFG_ENAB); in hmeinit() 3511 fecnt = GET_MACREG(fecnt); in hmesavecntrs() 3514 aecnt = GET_MACREG(aecnt); in hmesavecntrs() 3518 lecnt = GET_MACREG(lecnt); in hmesavecntrs() 3522 rxcv = GET_MACREG(rxcv); in hmesavecntrs() 3534 ltcnt = GET_MACREG(ltcnt); in hmesavecntrs() [all …]
|