Home
last modified time | relevance | path

Searched refs:mac_speed (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h60 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)
Dhns_dsaf_gmac.c262 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()
Dhns_dsaf_mac.c128 (enum mac_speed)speed, duplex); in hns_mac_need_adjust_link()
145 (enum mac_speed)speed, duplex); in hns_mac_adjust_link()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbgmac.c831 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()
Dbgmac.h516 int mac_speed; member
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c.h376 enum atl1c_mac_speed mac_speed; member
Datl1c_main.c1190 hw->mac_speed = adapter->link_speed == SPEED_1000 ? in atl1c_start_mac()
1208 mac = FIELD_SETX(mac, MAC_CTRL_SPEED, hw->mac_speed); in atl1c_start_mac()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3380 ixgbe_link_speed mac_speed; member
3392 u32 mac_speed; member
3417 edata->lp_advertised |= ixgbe_lp_map[i].mac_speed; in ixgbe_get_eee_fw()
3422 if (hw->phy.eee_speeds_supported & ixgbe_ls_map[i].mac_speed) in ixgbe_get_eee_fw()
3428 if (hw->phy.eee_speeds_advertised & ixgbe_ls_map[i].mac_speed) in ixgbe_get_eee_fw()
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c1666 static int be_mac_to_link_speed(int mac_speed) in be_mac_to_link_speed() argument
1668 switch (mac_speed) { in be_mac_to_link_speed()
1728 be_mac_to_link_speed(resp->mac_speed); in be_cmd_link_status_query()
Dbe_cmds.h1081 u8 mac_speed; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch4208 +enum mac_speed {SPEED_10M, SPEED_100M, SPEED_1000M, SPEED_1000M_PCS};
5050 +void gemac_set_speed(void *base, enum mac_speed gem_speed);
9945 +void gemac_set_speed(void *base, enum mac_speed gem_speed)