Searched refs:mac_mode (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.h | 83 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))
|
D | hns_dsaf_mac.c | 39 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()
|
D | hns_dsaf_gmac.c | 716 mac_drv->mac_mode = mac_param->mac_mode; in hns_gmac_config()
|
D | hns_dsaf_xgmac.c | 793 mac_drv->mac_mode = mac_param->mac_mode; in hns_xgmac_config()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | tg3.c | 2001 u32 mac_mode, lcl_adv, rmt_adv; in tg3_adjust_link() local 2007 mac_mode = tp->mac_mode & ~(MAC_MODE_PORT_MODE_MASK | in tg3_adjust_link() 2017 mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_adjust_link() 2020 mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_adjust_link() 2022 mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_adjust_link() 2025 mac_mode |= MAC_MODE_HALF_DUPLEX; in tg3_adjust_link() 2038 mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_adjust_link() 2040 if (mac_mode != tp->mac_mode) { in tg3_adjust_link() 2041 tp->mac_mode = mac_mode; in tg3_adjust_link() 2042 tw32_f(MAC_MODE, tp->mac_mode); in tg3_adjust_link() [all …]
|
D | bnx2.c | 2434 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()
|
D | tg3.h | 3253 u32 mac_mode; member
|
/linux-6.1.9/drivers/net/wireless/intersil/p54/ |
D | lmac.h | 289 __le16 mac_mode; member
|
D | fwio.c | 356 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac()
|
/linux-6.1.9/drivers/crypto/chelsio/ |
D | chcr_algo.c | 2968 unsigned int mac_mode = CHCR_SCMD_AUTH_MODE_CBCMAC; in fill_sec_cpl_for_aead() local 3006 cipher_mode, mac_mode, in fill_sec_cpl_for_aead()
|