mac_mode 2818 drivers/crypto/chelsio/chcr_algo.c unsigned int mac_mode = CHCR_SCMD_AUTH_MODE_CBCMAC; mac_mode 2856 drivers/crypto/chelsio/chcr_algo.c cipher_mode, mac_mode, mac_mode 593 drivers/net/ethernet/aurora/nb8800.c u32 mac_mode = 0; mac_mode 599 drivers/net/ethernet/aurora/nb8800.c mac_mode |= HALF_DUPLEX; mac_mode 603 drivers/net/ethernet/aurora/nb8800.c mac_mode |= RGMII_MODE; mac_mode 605 drivers/net/ethernet/aurora/nb8800.c mac_mode |= GMAC_MODE; mac_mode 619 drivers/net/ethernet/aurora/nb8800.c nb8800_maskb(priv, NB8800_MAC_MODE, mac_mode_mask, mac_mode); mac_mode 2440 drivers/net/ethernet/broadcom/bnx2.c u32 mac_mode; mac_mode 2442 drivers/net/ethernet/broadcom/bnx2.c mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); mac_mode 2443 drivers/net/ethernet/broadcom/bnx2.c mac_mode &= ~BNX2_EMAC_MODE_PORT; mac_mode 2444 drivers/net/ethernet/broadcom/bnx2.c mac_mode |= BNX2_EMAC_MODE_MAC_LOOP | BNX2_EMAC_MODE_FORCE_LINK; mac_mode 2445 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MODE, mac_mode); mac_mode 2455 drivers/net/ethernet/broadcom/bnx2.c u32 mac_mode; mac_mode 2471 drivers/net/ethernet/broadcom/bnx2.c mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); mac_mode 2472 drivers/net/ethernet/broadcom/bnx2.c mac_mode &= ~(BNX2_EMAC_MODE_PORT | BNX2_EMAC_MODE_HALF_DUPLEX | mac_mode 2476 drivers/net/ethernet/broadcom/bnx2.c mac_mode |= BNX2_EMAC_MODE_PORT_GMII; mac_mode 2477 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MODE, mac_mode); mac_mode 2013 drivers/net/ethernet/broadcom/tg3.c u32 mac_mode, lcl_adv, rmt_adv; mac_mode 2019 drivers/net/ethernet/broadcom/tg3.c mac_mode = tp->mac_mode & ~(MAC_MODE_PORT_MODE_MASK | mac_mode 2029 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 2032 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 2034 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 2037 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_HALF_DUPLEX; mac_mode 2050 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 2052 drivers/net/ethernet/broadcom/tg3.c if (mac_mode != tp->mac_mode) { mac_mode 2053 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode = mac_mode; mac_mode 2054 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 4137 drivers/net/ethernet/broadcom/tg3.c u32 mac_mode; mac_mode 4151 drivers/net/ethernet/broadcom/tg3.c mac_mode = MAC_MODE_PORT_MODE_GMII; mac_mode 4155 drivers/net/ethernet/broadcom/tg3.c mac_mode = MAC_MODE_PORT_MODE_GMII; mac_mode 4157 drivers/net/ethernet/broadcom/tg3.c mac_mode = MAC_MODE_PORT_MODE_MII; mac_mode 4159 drivers/net/ethernet/broadcom/tg3.c mac_mode = MAC_MODE_PORT_MODE_MII; mac_mode 4161 drivers/net/ethernet/broadcom/tg3.c mac_mode |= tp->mac_mode & MAC_MODE_LINK_POLARITY; mac_mode 4166 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_LINK_POLARITY; mac_mode 4168 drivers/net/ethernet/broadcom/tg3.c mac_mode &= ~MAC_MODE_LINK_POLARITY; mac_mode 4171 drivers/net/ethernet/broadcom/tg3.c mac_mode = MAC_MODE_PORT_MODE_TBI; mac_mode 4177 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_MAGIC_PKT_ENABLE; mac_mode 4180 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_KEEP_FRAME_IN_WOL; mac_mode 4183 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_APE_TX_EN | mac_mode 4187 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, mac_mode); mac_mode 4996 drivers/net/ethernet/broadcom/tg3.c (tp->mac_mode & MAC_MODE_PORT_INT_LPBACK)) mac_mode 5000 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_PORT_MODE_MASK; mac_mode 5004 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 5006 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 5008 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 5010 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 5032 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_HALF_DUPLEX; mac_mode 5034 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_HALF_DUPLEX; mac_mode 5039 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_LINK_POLARITY; mac_mode 5041 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_LINK_POLARITY; mac_mode 5054 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5241 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_SEND_CONFIGS; mac_mode 5242 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5270 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_SEND_CONFIGS; mac_mode 5271 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5285 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_SEND_CONFIGS; mac_mode 5286 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5371 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_SEND_CONFIGS; mac_mode 5372 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5423 drivers/net/ethernet/broadcom/tg3.c tmp = tp->mac_mode & ~MAC_MODE_PORT_MODE_MASK; mac_mode 5427 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode | MAC_MODE_SEND_CONFIGS); mac_mode 5443 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_SEND_CONFIGS; mac_mode 5444 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5707 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, (tp->mac_mode | MAC_MODE_SEND_CONFIGS)); mac_mode 5710 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5749 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~(MAC_MODE_PORT_MODE_MASK | MAC_MODE_HALF_DUPLEX); mac_mode 5750 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_TBI; mac_mode 5751 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5789 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, (tp->mac_mode | mac_mode 5792 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5838 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_PORT_MODE_MASK; mac_mode 5841 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 5846 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 5849 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 5852 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 5861 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5869 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 5870 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 5999 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_HALF_DUPLEX; mac_mode 6001 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_HALF_DUPLEX; mac_mode 6003 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 8178 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~(MAC_MODE_HALF_DUPLEX | mac_mode 8181 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_INT_LPBACK; mac_mode 8184 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_LINK_POLARITY; mac_mode 8187 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 8189 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 8191 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_PORT_INT_LPBACK; mac_mode 8196 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_LINK_POLARITY; mac_mode 8199 drivers/net/ethernet/broadcom/tg3.c tw32(MAC_MODE, tp->mac_mode); mac_mode 8205 drivers/net/ethernet/broadcom/tg3.c u32 val, bmcr, mac_mode, ptest = 0; mac_mode 8271 drivers/net/ethernet/broadcom/tg3.c mac_mode = tp->mac_mode & mac_mode 8274 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_PORT_MODE_GMII; mac_mode 8276 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_PORT_MODE_MII; mac_mode 8282 drivers/net/ethernet/broadcom/tg3.c mac_mode &= ~MAC_MODE_LINK_POLARITY; mac_mode 8284 drivers/net/ethernet/broadcom/tg3.c mac_mode |= MAC_MODE_LINK_POLARITY; mac_mode 8290 drivers/net/ethernet/broadcom/tg3.c tw32(MAC_MODE, mac_mode); mac_mode 8301 drivers/net/ethernet/broadcom/tg3.c if (tp->mac_mode & MAC_MODE_PORT_INT_LPBACK) mac_mode 8310 drivers/net/ethernet/broadcom/tg3.c if (!(tp->mac_mode & MAC_MODE_PORT_INT_LPBACK)) mac_mode 8892 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_TDE_ENABLE; mac_mode 8916 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode &= ~MAC_MODE_TDE_ENABLE; mac_mode 8917 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 9280 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode = MAC_MODE_PORT_MODE_TBI; mac_mode 9281 drivers/net/ethernet/broadcom/tg3.c val = tp->mac_mode; mac_mode 9283 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode = MAC_MODE_PORT_MODE_GMII; mac_mode 9284 drivers/net/ethernet/broadcom/tg3.c val = tp->mac_mode; mac_mode 10433 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_TXSTAT_ENABLE | MAC_MODE_RXSTAT_ENABLE | mac_mode 10437 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_APE_TX_EN | MAC_MODE_APE_RX_EN; mac_mode 10441 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode |= MAC_MODE_LINK_POLARITY; mac_mode 10442 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode | MAC_MODE_RXSTAT_CLEAR | MAC_MODE_TXSTAT_CLEAR); mac_mode 11069 drivers/net/ethernet/broadcom/tg3.c (tp->mac_mode & mac_mode 11072 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tp->mac_mode); mac_mode 16897 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode = MAC_MODE_APE_TX_EN | MAC_MODE_APE_RX_EN; mac_mode 16899 drivers/net/ethernet/broadcom/tg3.c tp->mac_mode = 0; mac_mode 3253 drivers/net/ethernet/broadcom/tg3.h u32 mac_mode; mac_mode 735 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c mac_drv->mac_mode = mac_param->mac_mode; mac_mode 39 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c static const enum mac_mode g_mac_mode_100[] = { mac_mode 44 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c static const enum mac_mode g_mac_mode_1000[] = { mac_mode 55 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c static enum mac_mode hns_get_enet_interface(const struct hns_mac_cb *mac_cb) mac_mode 370 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c param->mac_mode = hns_get_enet_interface(mac_cb); mac_mode 639 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (MAC_SPEED_FROM_MODE(param.mac_mode) < MAC_SPEED_10000) mac_mode 190 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h enum mac_mode mac_mode; mac_mode 398 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h enum mac_mode mac_mode; mac_mode 412 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h #define MAC_MAKE_MODE(interface, speed) (enum mac_mode)((interface) | (speed)) mac_mode 808 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c mac_drv->mac_mode = mac_param->mac_mode; mac_mode 358 drivers/net/wireless/intersil/p54/fwio.c setup->mac_mode = cpu_to_le16(mode); mac_mode 289 drivers/net/wireless/intersil/p54/lmac.h __le16 mac_mode;