Home
last modified time | relevance | path

Searched refs:macmode (Results 1 – 4 of 4) sorted by relevance

/netbsd/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416_misc.c208 uint32_t macmode; in ar5416Set11nMac2040() local
212 macmode = AR_2040_JOINED_RX_CLEAR; in ar5416Set11nMac2040()
214 macmode = 0; in ar5416Set11nMac2040()
216 OS_REG_WRITE(ah, AR_2040_MODE, macmode); in ar5416Set11nMac2040()
H A Dar5416_reset.c2208 HAL_HT_MACMODE macmode; /* MAC - 20/40 mode */ in ar5416Set11nRegs() local
2229 macmode = HAL_HT_MACMODE_2040; in ar5416Set11nRegs()
2231 macmode = HAL_HT_MACMODE_20; in ar5416Set11nRegs()
2235 ar5416Set11nMac2040(ah, macmode); in ar5416Set11nRegs()
/netbsd/sys/arch/macppc/dev/
H A Dplatinumfb.c106 uint8_t macmode; member
690 (sc->sc_pfs->macmode == 1 || sc->sc_pfs->macmode == 2)) in platinumfb_set_hardware()
760 sc->sc_modereg = sc->sc_pfs->macmode; in platinumfb_set_mode()
/netbsd/sys/dev/pci/
H A Dif_bge.c3226 uint32_t misccfg, mimode, macmode; in bge_attach() local
3940 macmode = CSR_READ_4(sc, BGE_MAC_MODE); in bge_attach()
3941 macmode &= ~BGE_MACMODE_PORTMODE; in bge_attach()
3945 macmode | BGE_PORTMODE_TBI); in bge_attach()
3970 macmode |= BGE_PORTMODE_GMII; in bge_attach()
3972 macmode |= BGE_PORTMODE_MII; in bge_attach()
3973 CSR_WRITE_4_FLUSH(sc, BGE_MAC_MODE, macmode); in bge_attach()