Searched refs:mac_speed (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_mac.h | 60 enum mac_speed { enum 353 int (*adjust_link)(void *mac_drv, enum mac_speed speed, 356 bool (*need_adjust_link)(void *mac_drv, enum mac_speed speed, 414 #define MAC_SPEED_FROM_MODE(mode) (enum mac_speed)((mode) & 0x0000FFFF)
|
| D | hns_dsaf_gmac.c | 262 static bool hns_gmac_need_adjust_link(void *mac_drv, enum mac_speed speed, in hns_gmac_need_adjust_link() 272 static int hns_gmac_adjust_link(void *mac_drv, enum mac_speed speed, in hns_gmac_adjust_link()
|
| D | hns_dsaf_mac.c | 128 (enum mac_speed)speed, duplex); in hns_mac_need_adjust_link() 145 (enum mac_speed)speed, duplex); in hns_mac_adjust_link()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/ |
| D | bgmac.c | 831 switch (bgmac->mac_speed) { in bgmac_mac_speed() 846 bgmac->mac_speed); in bgmac_mac_speed() 863 bgmac->mac_speed = SPEED_2500; in bgmac_miiconfig() 872 bgmac->mac_speed = SPEED_100; in bgmac_miiconfig() 1017 bgmac->mac_speed = SPEED_UNKNOWN; in bgmac_chip_reset() 1421 if (phy_dev->speed != bgmac->mac_speed) { in bgmac_adjust_link() 1422 bgmac->mac_speed = phy_dev->speed; in bgmac_adjust_link()
|
| D | bgmac.h | 515 int mac_speed; member
|
| /Linux-v5.4/drivers/net/ethernet/atheros/atl1c/ |
| D | atl1c.h | 376 enum atl1c_mac_speed mac_speed; member
|
| D | atl1c_main.c | 1193 hw->mac_speed = adapter->link_speed == SPEED_1000 ? in atl1c_start_mac() 1211 mac = FIELD_SETX(mac, MAC_CTRL_SPEED, hw->mac_speed); in atl1c_start_mac()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_ethtool.c | 3279 ixgbe_link_speed mac_speed; member 3291 u32 mac_speed; member 3316 edata->lp_advertised |= ixgbe_lp_map[i].mac_speed; in ixgbe_get_eee_fw() 3321 if (hw->phy.eee_speeds_supported & ixgbe_ls_map[i].mac_speed) in ixgbe_get_eee_fw() 3327 if (hw->phy.eee_speeds_advertised & ixgbe_ls_map[i].mac_speed) in ixgbe_get_eee_fw()
|
| /Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
| D | be_cmds.c | 1664 static int be_mac_to_link_speed(int mac_speed) in be_mac_to_link_speed() argument 1666 switch (mac_speed) { in be_mac_to_link_speed() 1726 be_mac_to_link_speed(resp->mac_speed); in be_cmd_link_status_query()
|
| D | be_cmds.h | 1081 u8 mac_speed; member
|