Home
last modified time | relevance | path

Searched refs:mac_mode (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h83 enum mac_mode { enum
190 enum mac_mode mac_mode; member
398 enum mac_mode mac_mode; member
412 #define MAC_MAKE_MODE(interface, speed) (enum mac_mode)((interface) | (speed))
Dhns_dsaf_mac.c39 static const enum mac_mode g_mac_mode_100[] = {
44 static const enum mac_mode g_mac_mode_1000[] = {
55 static enum mac_mode hns_get_enet_interface(const struct hns_mac_cb *mac_cb) in hns_get_enet_interface()
399 param->mac_mode = hns_get_enet_interface(mac_cb); in hns_mac_param_get()
669 if (MAC_SPEED_FROM_MODE(param.mac_mode) < MAC_SPEED_10000) in hns_mac_init_ex()
Dhns_dsaf_gmac.c735 mac_drv->mac_mode = mac_param->mac_mode; in hns_gmac_config()
Dhns_dsaf_xgmac.c808 mac_drv->mac_mode = mac_param->mac_mode; in hns_xgmac_config()
/drivers/net/ethernet/broadcom/
Dtg3.c2008 u32 mac_mode, lcl_adv, rmt_adv; in tg3_adjust_link() local
2014 mac_mode = tp->mac_mode & ~(MAC_MODE_PORT_MODE_MASK | in tg3_adjust_link()
2024 mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_adjust_link()
2027 mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_adjust_link()
2029 mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_adjust_link()
2032 mac_mode |= MAC_MODE_HALF_DUPLEX; in tg3_adjust_link()
2045 mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_adjust_link()
2047 if (mac_mode != tp->mac_mode) { in tg3_adjust_link()
2048 tp->mac_mode = mac_mode; in tg3_adjust_link()
2049 tw32_f(MAC_MODE, tp->mac_mode); in tg3_adjust_link()
[all …]
Dbnx2.c2434 u32 mac_mode; in bnx2_set_mac_loopback() local
2436 mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_mac_loopback()
2437 mac_mode &= ~BNX2_EMAC_MODE_PORT; in bnx2_set_mac_loopback()
2438 mac_mode |= BNX2_EMAC_MODE_MAC_LOOP | BNX2_EMAC_MODE_FORCE_LINK; in bnx2_set_mac_loopback()
2439 BNX2_WR(bp, BNX2_EMAC_MODE, mac_mode); in bnx2_set_mac_loopback()
2449 u32 mac_mode; in bnx2_set_phy_loopback() local
2465 mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_phy_loopback()
2466 mac_mode &= ~(BNX2_EMAC_MODE_PORT | BNX2_EMAC_MODE_HALF_DUPLEX | in bnx2_set_phy_loopback()
2470 mac_mode |= BNX2_EMAC_MODE_PORT_GMII; in bnx2_set_phy_loopback()
2471 BNX2_WR(bp, BNX2_EMAC_MODE, mac_mode); in bnx2_set_phy_loopback()
Dtg3.h3253 u32 mac_mode; member
/drivers/net/ethernet/aurora/
Dnb8800.c593 u32 mac_mode = 0; in nb8800_mac_config() local
599 mac_mode |= HALF_DUPLEX; in nb8800_mac_config()
603 mac_mode |= RGMII_MODE; in nb8800_mac_config()
605 mac_mode |= GMAC_MODE; in nb8800_mac_config()
619 nb8800_maskb(priv, NB8800_MAC_MODE, mac_mode_mask, mac_mode); in nb8800_mac_config()
/drivers/net/wireless/intersil/p54/
Dlmac.h289 __le16 mac_mode; member
Dfwio.c358 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac()
/drivers/crypto/chelsio/
Dchcr_algo.c2974 unsigned int mac_mode = CHCR_SCMD_AUTH_MODE_CBCMAC; in fill_sec_cpl_for_aead() local
3012 cipher_mode, mac_mode, in fill_sec_cpl_for_aead()