Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h83 enum mac_mode { enum
190 enum mac_mode mac_mode; member
394 enum mac_mode mac_mode; member
408 #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()
370 param->mac_mode = hns_get_enet_interface(mac_cb); in hns_mac_param_get()
640 if (MAC_SPEED_FROM_MODE(param.mac_mode) < MAC_SPEED_10000) in hns_mac_init_ex()
Dhns_dsaf_gmac.c716 mac_drv->mac_mode = mac_param->mac_mode; in hns_gmac_config()
Dhns_dsaf_xgmac.c793 mac_drv->mac_mode = mac_param->mac_mode; in hns_xgmac_config()
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dtg3.c2002 u32 mac_mode, lcl_adv, rmt_adv; in tg3_adjust_link() local
2008 mac_mode = tp->mac_mode & ~(MAC_MODE_PORT_MODE_MASK | in tg3_adjust_link()
2018 mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_adjust_link()
2021 mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_adjust_link()
2023 mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_adjust_link()
2026 mac_mode |= MAC_MODE_HALF_DUPLEX; in tg3_adjust_link()
2039 mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_adjust_link()
2041 if (mac_mode != tp->mac_mode) { in tg3_adjust_link()
2042 tp->mac_mode = mac_mode; in tg3_adjust_link()
2043 tw32_f(MAC_MODE, tp->mac_mode); in tg3_adjust_link()
[all …]
Dbnx2.c2433 u32 mac_mode; in bnx2_set_mac_loopback() local
2435 mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_mac_loopback()
2436 mac_mode &= ~BNX2_EMAC_MODE_PORT; in bnx2_set_mac_loopback()
2437 mac_mode |= BNX2_EMAC_MODE_MAC_LOOP | BNX2_EMAC_MODE_FORCE_LINK; in bnx2_set_mac_loopback()
2438 BNX2_WR(bp, BNX2_EMAC_MODE, mac_mode); in bnx2_set_mac_loopback()
2448 u32 mac_mode; in bnx2_set_phy_loopback() local
2464 mac_mode = BNX2_RD(bp, BNX2_EMAC_MODE); in bnx2_set_phy_loopback()
2465 mac_mode &= ~(BNX2_EMAC_MODE_PORT | BNX2_EMAC_MODE_HALF_DUPLEX | in bnx2_set_phy_loopback()
2469 mac_mode |= BNX2_EMAC_MODE_PORT_GMII; in bnx2_set_phy_loopback()
2470 BNX2_WR(bp, BNX2_EMAC_MODE, mac_mode); in bnx2_set_phy_loopback()
Dtg3.h3253 u32 mac_mode; member
/Linux-v6.6/drivers/net/wireless/intersil/p54/
Dlmac.h289 __le16 mac_mode; member
Dfwio.c356 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac()
/Linux-v6.6/drivers/crypto/chelsio/
Dchcr_algo.c2969 unsigned int mac_mode = CHCR_SCMD_AUTH_MODE_CBCMAC; in fill_sec_cpl_for_aead() local
3007 cipher_mode, mac_mode, in fill_sec_cpl_for_aead()