Searched refs:mac_speed (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/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, 410 #define MAC_SPEED_FROM_MODE(mode) (enum mac_speed)((mode) & 0x0000FFFF)
|
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()
|
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()
|
/linux-6.6.21/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() 1422 if (phy_dev->speed != bgmac->mac_speed) { in bgmac_adjust_link() 1423 bgmac->mac_speed = phy_dev->speed; in bgmac_adjust_link()
|
D | bgmac.h | 478 int mac_speed; member
|
/linux-6.6.21/drivers/net/ethernet/mscc/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 375 enum atl1c_mac_speed mac_speed; member
|
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()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/emulex/benet/ |
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()
|
D | be_cmds.h | 1081 u8 mac_speed; member
|