Searched refs:mac_speed (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A 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, 410 #define MAC_SPEED_FROM_MODE(mode) (enum mac_speed)((mode) & 0x0000FFFF)
|
H A D | hns_dsaf_gmac.c | 246 static bool hns_gmac_need_adjust_link(void *mac_drv, enum mac_speed speed, in hns_gmac_need_adjust_link() 256 static int hns_gmac_adjust_link(void *mac_drv, enum mac_speed speed, in hns_gmac_adjust_link()
|
H A D | hns_dsaf_mac.c | 157 (enum mac_speed)speed, duplex); in hns_mac_need_adjust_link() 174 (enum mac_speed)speed, duplex); in hns_mac_adjust_link()
|
/openbmc/u-boot/include/net/pfe_eth/pfe/cbus/ |
H A D | emac.h | 99 enum mac_speed {PFE_MAC_SPEED_10M, PFE_MAC_SPEED_100M, PFE_MAC_SPEED_1000M, enum
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A 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() 1422 if (phy_dev->speed != bgmac->mac_speed) { in bgmac_adjust_link() 1423 bgmac->mac_speed = phy_dev->speed; in bgmac_adjust_link()
|
H A D | bgmac.h | 478 int mac_speed; member
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 926 int mac_speed, mode = 0; in ocelot_phylink_mac_link_up() local 938 mac_speed = OCELOT_SPEED_1000; in ocelot_phylink_mac_link_up() 941 mac_speed = OCELOT_SPEED_2500; in ocelot_phylink_mac_link_up() 944 mac_speed = OCELOT_SPEED_100; in ocelot_phylink_mac_link_up() 946 mac_speed = OCELOT_SPEED_10; in ocelot_phylink_mac_link_up() 957 ocelot_port_writel(ocelot_port, DEV_CLOCK_CFG_LINK_SPEED(mac_speed), in ocelot_phylink_mac_link_up()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 375 enum atl1c_mac_speed mac_speed; member
|
H A D | atl1c_main.c | 1230 hw->mac_speed = adapter->link_speed == SPEED_1000 ? in atl1c_start_mac() 1248 mac = FIELD_SETX(mac, MAC_CTRL_SPEED, hw->mac_speed); in atl1c_start_mac()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 3403 ixgbe_link_speed mac_speed; member 3415 u32 mac_speed; member 3440 edata->lp_advertised |= ixgbe_lp_map[i].mac_speed; in ixgbe_get_eee_fw() 3445 if (hw->phy.eee_speeds_supported & ixgbe_ls_map[i].mac_speed) in ixgbe_get_eee_fw() 3451 if (hw->phy.eee_speeds_advertised & ixgbe_ls_map[i].mac_speed) in ixgbe_get_eee_fw()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 1667 static int be_mac_to_link_speed(int mac_speed) in be_mac_to_link_speed() argument 1669 switch (mac_speed) { in be_mac_to_link_speed() 1729 be_mac_to_link_speed(resp->mac_speed); in be_cmd_link_status_query()
|
H A D | be_cmds.h | 1081 u8 mac_speed; member
|