Searched refs:mac_mode_mask (Results 1 – 2 of 2) sorted by relevance
/dragonfly/sys/dev/netif/bge/ |
H A D | if_bge.c | 2754 uint32_t cachesize, command, reset, mac_mode, mac_mode_mask; in bge_reset() local 2758 mac_mode_mask = BGE_MACMODE_HALF_DUPLEX | BGE_MACMODE_PORTMODE; in bge_reset() 2760 mac_mode_mask |= BGE_MACMODE_APE_RX_EN | BGE_MACMODE_APE_TX_EN; in bge_reset() 2761 mac_mode = CSR_READ_4(sc, BGE_MAC_MODE) & mac_mode_mask; in bge_reset() 2963 val = (val & ~mac_mode_mask) | mac_mode; in bge_reset()
|
/dragonfly/sys/dev/netif/bnx/ |
H A D | if_bnx.c | 2572 uint32_t cachesize, command, reset, mac_mode, mac_mode_mask; in bnx_reset() local 2577 mac_mode_mask = BGE_MACMODE_HALF_DUPLEX | BGE_MACMODE_PORTMODE; in bnx_reset() 2579 mac_mode_mask |= BGE_MACMODE_APE_RX_EN | BGE_MACMODE_APE_TX_EN; in bnx_reset() 2580 mac_mode = CSR_READ_4(sc, BGE_MAC_MODE) & mac_mode_mask; in bnx_reset() 2710 val = (val & ~mac_mode_mask) | mac_mode; in bnx_reset()
|