link_speed 108 drivers/firewire/core-card.c BIB_LINK_SPEED(card->link_speed) | link_speed 547 drivers/firewire/core-card.c u32 max_receive, u32 link_speed, u64 guid) link_speed 552 drivers/firewire/core-card.c card->link_speed = link_speed; link_speed 1463 drivers/firewire/core-cdev.c if (a->speed > client->device->card->link_speed || link_speed 562 drivers/firewire/core-device.c device->max_speed = card->link_speed; link_speed 119 drivers/firewire/core.h u32 max_receive, u32 link_speed, u64 guid); link_speed 1138 drivers/firewire/net.c dev->card->link_speed, 8, link_speed 1501 drivers/firewire/net.c ha->uc.sspd = dev->card->link_speed; link_speed 3555 drivers/firewire/ohci.c u32 bus_options, max_receive, link_speed, version; link_speed 3690 drivers/firewire/ohci.c link_speed = bus_options & 0x7; link_speed 3704 drivers/firewire/ohci.c err = fw_card_add(&ohci->card, max_receive, link_speed, guid); link_speed 439 drivers/gpu/drm/tegra/sor.c unsigned int link_speed; link_speed 2004 drivers/gpu/drm/tegra/sor.c state->link_speed = 20; link_speed 2007 drivers/gpu/drm/tegra/sor.c state->link_speed = 10; link_speed 6970 drivers/infiniband/hw/hfi1/chip.c u16 link_speed; link_speed 6973 drivers/infiniband/hw/hfi1/chip.c link_speed = get_link_speed(ppd->link_speed_active); link_speed 6980 drivers/infiniband/hw/hfi1/chip.c get_xmit_wait_counters(ppd, tx_width, link_speed, i); link_speed 1560 drivers/infiniband/hw/hfi1/hfi.h u16 link_speed = ppd->link_speed_active; link_speed 1564 drivers/infiniband/hw/hfi1/hfi.h if (link_speed == OPA_LINK_SPEED_25G) link_speed 858 drivers/infiniband/hw/hfi1/mad.c pi->link_speed.supported = cpu_to_be16(ppd->link_speed_supported); link_speed 859 drivers/infiniband/hw/hfi1/mad.c pi->link_speed.active = cpu_to_be16(ppd->link_speed_active); link_speed 860 drivers/infiniband/hw/hfi1/mad.c pi->link_speed.enabled = cpu_to_be16(ppd->link_speed_enabled); link_speed 1512 drivers/infiniband/hw/hfi1/mad.c lse = be16_to_cpu(pi->link_speed.enabled); link_speed 1514 drivers/infiniband/hw/hfi1/mad.c if (lse & be16_to_cpu(pi->link_speed.supported)) link_speed 2694 drivers/infiniband/hw/hfi1/mad.c u16 link_width, u16 link_speed, int vl) link_speed 2715 drivers/infiniband/hw/hfi1/mad.c link_speed); link_speed 2744 drivers/infiniband/hw/hfi1/mad.c u16 link_speed; link_speed 2793 drivers/infiniband/hw/hfi1/mad.c link_speed = get_link_speed(ppd->link_speed_active); link_speed 2796 drivers/infiniband/hw/hfi1/mad.c link_speed, C_VL_COUNT)); link_speed 2866 drivers/infiniband/hw/hfi1/mad.c link_speed, link_speed 2996 drivers/infiniband/hw/hfi1/mad.c u16 link_speed; link_speed 3051 drivers/infiniband/hw/hfi1/mad.c link_speed = get_link_speed(ppd->link_speed_active); link_speed 3054 drivers/infiniband/hw/hfi1/mad.c link_speed, C_VL_COUNT)); link_speed 3095 drivers/infiniband/hw/hfi1/mad.c link_speed, link_speed 443 drivers/infiniband/hw/hfi1/mad.h u16 link_speed, int vl); link_speed 458 drivers/infiniband/hw/hfi1/mad.h static inline u16 get_link_speed(u16 link_speed) link_speed 460 drivers/infiniband/hw/hfi1/mad.h return (link_speed == 1) ? link_speed 473 drivers/infiniband/hw/hfi1/mad.h u16 link_speed) link_speed 476 drivers/infiniband/hw/hfi1/mad.h * link_speed) / DECIMAL_FACTORING; link_speed 246 drivers/infiniband/hw/qedr/verbs.c get_link_speed_and_width(rdma_port->link_speed, link_speed 166 drivers/net/ethernet/atheros/alx/ethtool.c cmd->base.speed = hw->link_speed; link_speed 70 drivers/net/ethernet/atheros/alx/hw.c clk_sel = hw->link_speed != SPEED_UNKNOWN ? link_speed 104 drivers/net/ethernet/atheros/alx/hw.c clk_sel = hw->link_speed != SPEED_UNKNOWN ? link_speed 622 drivers/net/ethernet/atheros/alx/hw.c hw->link_speed == SPEED_1000 ? ALX_MAC_CTRL_SPEED_1000 : link_speed 788 drivers/net/ethernet/atheros/alx/hw.c if (hw->link_speed != SPEED_UNKNOWN) { link_speed 795 drivers/net/ethernet/atheros/alx/hw.c if ((hw->link_speed == SPEED_1000 && link_speed 798 drivers/net/ethernet/atheros/alx/hw.c (hw->link_speed == SPEED_100 && link_speed 818 drivers/net/ethernet/atheros/alx/hw.c if (hw->link_speed == SPEED_100) { link_speed 821 drivers/net/ethernet/atheros/alx/hw.c } else if (hw->link_speed == SPEED_1000) { link_speed 880 drivers/net/ethernet/atheros/alx/hw.c hw->link_speed = SPEED_UNKNOWN; link_speed 895 drivers/net/ethernet/atheros/alx/hw.c hw->link_speed = SPEED_1000; link_speed 898 drivers/net/ethernet/atheros/alx/hw.c hw->link_speed = SPEED_100; link_speed 901 drivers/net/ethernet/atheros/alx/hw.c hw->link_speed = SPEED_10; link_speed 483 drivers/net/ethernet/atheros/alx/hw.h int link_speed; link_speed 1076 drivers/net/ethernet/atheros/alx/main.c hw->link_speed = SPEED_UNKNOWN; link_speed 1126 drivers/net/ethernet/atheros/alx/main.c hw->link_speed = SPEED_UNKNOWN; link_speed 1260 drivers/net/ethernet/atheros/alx/main.c switch (alx_speed_to_ethadv(hw->link_speed, hw->duplex)) { link_speed 1288 drivers/net/ethernet/atheros/alx/main.c old_speed = hw->link_speed; link_speed 1298 drivers/net/ethernet/atheros/alx/main.c if (old_speed == hw->link_speed) link_speed 1301 drivers/net/ethernet/atheros/alx/main.c if (hw->link_speed != SPEED_UNKNOWN) { link_speed 528 drivers/net/ethernet/atheros/atl1c/atl1c.h u16 link_speed; link_speed 38 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c if (adapter->link_speed != SPEED_0) { link_speed 39 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c cmd->base.speed = adapter->link_speed; link_speed 735 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c adapter->link_speed = speed; link_speed 763 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c speed = adapter->link_speed == SPEED_1000 ? link_speed 817 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c void atl1c_post_phy_linkchg(struct atl1c_hw *hw, u16 link_speed) link_speed 826 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c if (link_speed != SPEED_0) { /* link up */ link_speed 837 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c if (adj_thresh && link_speed == SPEED_100 && hw->msi_lnkpatch) { link_speed 53 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h void atl1c_post_phy_linkchg(struct atl1c_hw *hw, u16 link_speed); link_speed 44 drivers/net/ethernet/atheros/atl1c/atl1c_main.c static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed); link_speed 267 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (adapter->link_speed != speed || link_speed 269 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_speed = speed; link_speed 278 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_speed, link_speed 308 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_speed = SPEED_0; link_speed 773 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_speed = SPEED_0; link_speed 1193 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw->mac_speed = adapter->link_speed == SPEED_1000 ? link_speed 1290 drivers/net/ethernet/atheros/atl1c/atl1c_main.c static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed) link_speed 1303 drivers/net/ethernet/atheros/atl1c/atl1c_main.c link_speed == SPEED_1000 || link_speed == SPEED_100 ? link_speed 1310 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (link_speed != SPEED_1000 && link_speed != SPEED_100) link_speed 1317 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if ((hw->ctrl_flags & ATL1C_ASPM_L0S_SUPPORT) && link_speed != SPEED_0) link_speed 1336 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (link_speed == SPEED_0 || hw->nic_type == athr_l2c_b) link_speed 1341 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (link_speed != SPEED_0) { link_speed 2354 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_speed = SPEED_0; link_speed 428 drivers/net/ethernet/atheros/atl1e/atl1e.h u16 link_speed; link_speed 39 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c if (adapter->link_speed != SPEED_0) { link_speed 40 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c cmd->base.speed = adapter->link_speed; link_speed 169 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_speed = SPEED_0; link_speed 180 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (adapter->link_speed != speed || link_speed 182 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_speed = speed; link_speed 187 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_speed, link_speed 232 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_speed = SPEED_0; link_speed 573 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_speed = SPEED_0; /* hardware init */ link_speed 1056 drivers/net/ethernet/atheros/atl1e/atl1e_main.c value |= ((u32)((SPEED_1000 == adapter->link_speed) ? link_speed 1980 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_speed = SPEED_0; link_speed 942 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_speed = SPEED_0; /* hardware init */ link_speed 1254 drivers/net/ethernet/atheros/atlx/atl1.c value |= ((u32) ((SPEED_1000 == adapter->link_speed) ? link_speed 1297 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_speed = SPEED_0; link_speed 1333 drivers/net/ethernet/atheros/atlx/atl1.c if (adapter->link_speed != speed || link_speed 1335 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_speed = speed; link_speed 1341 drivers/net/ethernet/atheros/atlx/atl1.c netdev->name, adapter->link_speed, link_speed 1354 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_speed = SPEED_0; link_speed 2653 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_speed = SPEED_0; link_speed 3225 drivers/net/ethernet/atheros/atlx/atl1.c u16 link_speed, link_duplex; link_speed 3226 drivers/net/ethernet/atheros/atlx/atl1.c atl1_get_speed_and_duplex(hw, &link_speed, &link_duplex); link_speed 3227 drivers/net/ethernet/atheros/atlx/atl1.c cmd->base.speed = link_speed; link_speed 750 drivers/net/ethernet/atheros/atlx/atl1.h u16 link_speed; link_speed 88 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed = SPEED_0; /* hardware init */ link_speed 568 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed = SPEED_0; link_speed 766 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed = SPEED_0; link_speed 1168 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed = SPEED_0; link_speed 1199 drivers/net/ethernet/atheros/atlx/atl2.c if (adapter->link_speed != speed || link_speed 1201 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed = speed; link_speed 1206 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed, link_speed 1226 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_speed = SPEED_0; link_speed 1743 drivers/net/ethernet/atheros/atlx/atl2.c if (adapter->link_speed != SPEED_0) { link_speed 1744 drivers/net/ethernet/atheros/atlx/atl2.c cmd->base.speed = adapter->link_speed; link_speed 440 drivers/net/ethernet/atheros/atlx/atl2.h u16 link_speed; link_speed 97 drivers/net/ethernet/atheros/atlx/atlx.c adapter->link_speed = SPEED_0; link_speed 1475 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bulletin->link_speed = state->line_speed; link_speed 1496 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bulletin->link_speed = bnx2x_max_speed_cap(bp); link_speed 1505 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->link_cfg, bulletin->link_speed, bulletin->link_flags); link_speed 3092 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bulletin->link_speed, bulletin->link_flags); link_speed 3094 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bp->vf_link_vars.line_speed = bulletin->link_speed; link_speed 431 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h u16 link_speed; /* Effective line speed */ link_speed 8386 drivers/net/ethernet/broadcom/bnxt/bnxt.c speed = bnxt_fw_to_ethtool_speed(bp->link_info.link_speed); link_speed 8481 drivers/net/ethernet/broadcom/bnxt/bnxt.c link_info->link_speed = le16_to_cpu(resp->link_speed); link_speed 8483 drivers/net/ethernet/broadcom/bnxt/bnxt.c link_info->link_speed = 0; link_speed 1144 drivers/net/ethernet/broadcom/bnxt/bnxt.h u16 link_speed; link_speed 1467 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c ethtool_speed = bnxt_fw_to_ethtool_speed(link_info->link_speed); link_speed 2706 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fw_speed = bp->link_info.link_speed; link_speed 2416 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 link_speed; link_speed 290 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c pf_link_speed = bnxt_fw_to_ethtool_speed(bp->link_info.link_speed); link_speed 1049 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c phy_qcfg_resp.link_speed = cpu_to_le16( link_speed 1062 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c phy_qcfg_resp.link_speed = 0; link_speed 182 drivers/net/ethernet/brocade/bna/bfa_defs_cna.h u8 link_speed; link_speed 237 drivers/net/ethernet/cavium/thunder/thunder_bgx.h void xcv_setup_link(bool link_up, int link_speed); link_speed 110 drivers/net/ethernet/cavium/thunder/thunder_xcv.c void xcv_setup_link(bool link_up, int link_speed) link_speed 120 drivers/net/ethernet/cavium/thunder/thunder_xcv.c if (link_speed == 100) link_speed 122 drivers/net/ethernet/cavium/thunder/thunder_xcv.c else if (link_speed == 10) link_speed 396 drivers/net/ethernet/emulex/benet/be.h int link_speed; link_speed 289 drivers/net/ethernet/emulex/benet/be_cmds.c adapter->phy.link_speed = -1; link_speed 386 drivers/net/ethernet/emulex/benet/be_cmds.c if (adapter->phy.link_speed >= 0 && link_speed 388 drivers/net/ethernet/emulex/benet/be_cmds.c adapter->phy.link_speed = le16_to_cpu(evt->qos_link_speed) * 10; link_speed 1690 drivers/net/ethernet/emulex/benet/be_cmds.c int be_cmd_link_status_query(struct be_adapter *adapter, u16 *link_speed, link_speed 1723 drivers/net/ethernet/emulex/benet/be_cmds.c if (link_speed) { link_speed 1724 drivers/net/ethernet/emulex/benet/be_cmds.c *link_speed = resp->link_speed ? link_speed 1725 drivers/net/ethernet/emulex/benet/be_cmds.c le16_to_cpu(resp->link_speed) * 10 : link_speed 1729 drivers/net/ethernet/emulex/benet/be_cmds.c *link_speed = 0; link_speed 4594 drivers/net/ethernet/emulex/benet/be_cmds.c int be_cmd_config_qos(struct be_adapter *adapter, u32 max_rate, u16 link_speed, link_speed 4619 drivers/net/ethernet/emulex/benet/be_cmds.c bw_percent = max_rate ? (max_rate * 100) / link_speed : 100; link_speed 1085 drivers/net/ethernet/emulex/benet/be_cmds.h u16 link_speed; link_speed 2407 drivers/net/ethernet/emulex/benet/be_cmds.h int be_cmd_link_status_query(struct be_adapter *adapter, u16 *link_speed, link_speed 2455 drivers/net/ethernet/emulex/benet/be_cmds.h u16 link_speed, u8 domain); link_speed 613 drivers/net/ethernet/emulex/benet/be_ethtool.c u16 link_speed = 0; link_speed 619 drivers/net/ethernet/emulex/benet/be_ethtool.c if (adapter->phy.link_speed < 0) { link_speed 620 drivers/net/ethernet/emulex/benet/be_ethtool.c status = be_cmd_link_status_query(adapter, &link_speed, link_speed 624 drivers/net/ethernet/emulex/benet/be_ethtool.c cmd->base.speed = link_speed; link_speed 657 drivers/net/ethernet/emulex/benet/be_ethtool.c adapter->phy.link_speed = cmd->base.speed; link_speed 663 drivers/net/ethernet/emulex/benet/be_ethtool.c cmd->base.speed = adapter->phy.link_speed; link_speed 2016 drivers/net/ethernet/emulex/benet/be_main.c u16 link_speed = 0; link_speed 2031 drivers/net/ethernet/emulex/benet/be_main.c status = be_cmd_link_status_query(adapter, &link_speed, link_speed 2042 drivers/net/ethernet/emulex/benet/be_main.c if (max_tx_rate < 100 || max_tx_rate > link_speed) { link_speed 2044 drivers/net/ethernet/emulex/benet/be_main.c link_speed); link_speed 2050 drivers/net/ethernet/emulex/benet/be_main.c percent_rate = link_speed / 100; link_speed 2059 drivers/net/ethernet/emulex/benet/be_main.c status = be_cmd_config_qos(adapter, max_tx_rate, link_speed, vf + 1); link_speed 4387 drivers/net/ethernet/emulex/benet/be_main.c adapter->phy.link_speed = -1; link_speed 213 drivers/net/ethernet/intel/e1000/e1000.h u16 link_speed; link_speed 124 drivers/net/ethernet/intel/e1000/e1000_ethtool.c e1000_get_speed_and_duplex(hw, &adapter->link_speed, link_speed 126 drivers/net/ethernet/intel/e1000/e1000_ethtool.c cmd->base.speed = adapter->link_speed; link_speed 532 drivers/net/ethernet/intel/e1000/e1000_main.c adapter->link_speed = 0; link_speed 2438 drivers/net/ethernet/intel/e1000/e1000_main.c &adapter->link_speed, link_speed 2445 drivers/net/ethernet/intel/e1000/e1000_main.c adapter->link_speed, link_speed 2455 drivers/net/ethernet/intel/e1000/e1000_main.c switch (adapter->link_speed) { link_speed 2477 drivers/net/ethernet/intel/e1000/e1000_main.c adapter->link_speed = 0; link_speed 2628 drivers/net/ethernet/intel/e1000/e1000_main.c if (unlikely(adapter->link_speed != SPEED_1000)) { link_speed 3599 drivers/net/ethernet/intel/e1000/e1000_main.c if (adapter->link_speed == 0) link_speed 3714 drivers/net/ethernet/intel/e1000/e1000_main.c if ((adapter->link_speed == SPEED_1000) && link_speed 201 drivers/net/ethernet/intel/e1000e/e1000.h u16 link_speed; link_speed 147 drivers/net/ethernet/intel/e1000e/ethtool.c speed = adapter->link_speed; link_speed 2540 drivers/net/ethernet/intel/e1000e/netdev.c if (adapter->link_speed != SPEED_1000) { link_speed 4290 drivers/net/ethernet/intel/e1000e/netdev.c adapter->link_speed = 0; link_speed 4921 drivers/net/ethernet/intel/e1000e/netdev.c if (adapter->link_speed == 0) link_speed 5072 drivers/net/ethernet/intel/e1000e/netdev.c adapter->netdev->name, adapter->link_speed, link_speed 5221 drivers/net/ethernet/intel/e1000e/netdev.c &adapter->link_speed, link_speed 5237 drivers/net/ethernet/intel/e1000e/netdev.c (adapter->link_speed == SPEED_10 || link_speed 5238 drivers/net/ethernet/intel/e1000e/netdev.c adapter->link_speed == SPEED_100) && link_speed 5250 drivers/net/ethernet/intel/e1000e/netdev.c switch (adapter->link_speed) { link_speed 5277 drivers/net/ethernet/intel/e1000e/netdev.c switch (adapter->link_speed) { link_speed 5316 drivers/net/ethernet/intel/e1000e/netdev.c adapter->link_speed = 0; link_speed 1976 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 link_speed; /* bitmap using the above enum bit patterns */ link_speed 2028 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 link_speed; link_speed 2102 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 link_speed; /* i40e_aq_link_speed */ link_speed 1690 drivers/net/ethernet/intel/i40e/i40e_common.c config.link_speed = abilities->link_speed; link_speed 1842 drivers/net/ethernet/intel/i40e/i40e_common.c hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; link_speed 757 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u32 link_speed = hw_link_info->link_speed; link_speed 984 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (link_speed) { link_speed 1267 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_100MB; link_speed 1274 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_1GB; link_speed 1287 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_10GB; link_speed 1290 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_2_5GB; link_speed 1293 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_5GB; link_speed 1296 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_20GB; link_speed 1303 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_25GB; link_speed 1312 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed |= I40E_LINK_SPEED_40GB; link_speed 1318 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (!config.link_speed) link_speed 1319 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed = abilities.link_speed; link_speed 1320 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (autoneg_changed || abilities.link_speed != config.link_speed) { link_speed 1331 drivers/net/ethernet/intel/i40e/i40e_ethtool.c hw->phy.link_info.requested_speeds = config.link_speed; link_speed 1401 drivers/net/ethernet/intel/i40e/i40e_ethtool.c config.link_speed = abilities.link_speed; link_speed 5491 drivers/net/ethernet/intel/i40e/i40e_main.c switch (pf->hw.phy.link_info.link_speed) { link_speed 6505 drivers/net/ethernet/intel/i40e/i40e_main.c new_speed = pf->hw.phy.link_info.link_speed; link_speed 6522 drivers/net/ethernet/intel/i40e/i40e_main.c (pf->hw.phy.link_info.link_speed == I40E_LINK_SPEED_1GB || link_speed 6523 drivers/net/ethernet/intel/i40e/i40e_main.c pf->hw.phy.link_info.link_speed == I40E_LINK_SPEED_100MB)) link_speed 6527 drivers/net/ethernet/intel/i40e/i40e_main.c switch (pf->hw.phy.link_info.link_speed) { link_speed 6571 drivers/net/ethernet/intel/i40e/i40e_main.c if (pf->hw.phy.link_info.link_speed == I40E_LINK_SPEED_25GB) { link_speed 6719 drivers/net/ethernet/intel/i40e/i40e_main.c speed = abilities.link_speed; link_speed 6735 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_up && abilities.phy_type != 0 && abilities.link_speed != 0) link_speed 6747 drivers/net/ethernet/intel/i40e/i40e_main.c if (abilities.link_speed != 0) link_speed 6748 drivers/net/ethernet/intel/i40e/i40e_main.c config.link_speed = abilities.link_speed; link_speed 6750 drivers/net/ethernet/intel/i40e/i40e_main.c config.link_speed = speed; link_speed 9059 drivers/net/ethernet/intel/i40e/i40e_main.c old_link_speed = pf->hw.phy.link_info_old.link_speed; link_speed 9060 drivers/net/ethernet/intel/i40e/i40e_main.c new_link_speed = pf->hw.phy.link_info.link_speed; link_speed 15253 drivers/net/ethernet/intel/i40e/i40e_main.c pf->hw.phy.link_info.requested_speeds = abilities.link_speed; link_speed 354 drivers/net/ethernet/intel/i40e/i40e_prototype.h i40e_virtchnl_link_speed(enum i40e_aq_link_speed link_speed) link_speed 356 drivers/net/ethernet/intel/i40e/i40e_prototype.h switch (link_speed) { link_speed 465 drivers/net/ethernet/intel/i40e/i40e_ptp.c switch (hw_link_info->link_speed) { link_speed 971 drivers/net/ethernet/intel/i40e/i40e_txrx.c switch (q_vector->vsi->back->hw.phy.link_info.link_speed) { link_speed 165 drivers/net/ethernet/intel/i40e/i40e_type.h enum i40e_aq_link_speed link_speed; link_speed 62 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pfe.event_data.link_event.link_speed = 0; link_speed 65 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pfe.event_data.link_event.link_speed = link_speed 70 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pfe.event_data.link_event.link_speed = link_speed 71 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_virtchnl_link_speed(ls->link_speed); link_speed 3631 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c switch (ls->link_speed) { link_speed 4403 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pfe.event_data.link_event.link_speed = link_speed 4405 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pf->hw.phy.link_info.link_speed; link_speed 4411 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pfe.event_data.link_event.link_speed = VIRTCHNL_LINK_SPEED_40GB; link_speed 4417 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pfe.event_data.link_event.link_speed = 0; link_speed 308 drivers/net/ethernet/intel/iavf/iavf.h enum virtchnl_link_speed link_speed; link_speed 282 drivers/net/ethernet/intel/iavf/iavf_ethtool.c switch (adapter->link_speed) { link_speed 2490 drivers/net/ethernet/intel/iavf/iavf_main.c switch (adapter->link_speed) { link_speed 381 drivers/net/ethernet/intel/iavf/iavf_txrx.c switch (q_vector->adapter->link_speed) { link_speed 937 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c switch (adapter->link_speed) { link_speed 1194 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c adapter->link_speed = link_speed 1195 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c vpe->event_data.link_event.link_speed; link_speed 1097 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 link_speed; link_speed 300 drivers/net/ethernet/intel/ice/ice_common.c li->link_speed = le16_to_cpu(link_data.link_speed); link_speed 327 drivers/net/ethernet/intel/ice/ice_common.c ice_debug(hw, ICE_DBG_LINK, "link_speed = 0x%x\n", li->link_speed); link_speed 1990 drivers/net/ethernet/intel/ice/ice_ethtool.c switch (link_info->link_speed) { link_speed 2024 drivers/net/ethernet/intel/ice/ice_ethtool.c link_info->link_speed); link_speed 2464 drivers/net/ethernet/intel/ice/ice_ethtool.c curr_link_speed = p->phy.link_info.link_speed; link_speed 674 drivers/net/ethernet/intel/ice/ice_main.c switch (vsi->port_info->phy.link_info.link_speed) { link_speed 816 drivers/net/ethernet/intel/ice/ice_main.c u16 link_speed) link_speed 828 drivers/net/ethernet/intel/ice/ice_main.c old_link_speed = phy_info->link_info_old.link_speed; link_speed 840 drivers/net/ethernet/intel/ice/ice_main.c if (link_up == old_link && link_speed == old_link_speed) link_speed 948 drivers/net/ethernet/intel/ice/ice_main.c le16_to_cpu(link_data->link_speed)); link_speed 55 drivers/net/ethernet/intel/ice/ice_sriov.c u32 ice_conv_link_speed_to_virtchnl(bool adv_link_support, u16 link_speed) link_speed 60 drivers/net/ethernet/intel/ice/ice_sriov.c switch (link_speed) { link_speed 104 drivers/net/ethernet/intel/ice/ice_sriov.c switch (link_speed) { link_speed 14 drivers/net/ethernet/intel/ice/ice_sriov.h u32 ice_conv_link_speed_to_virtchnl(bool adv_link_support, u16 link_speed); link_speed 28 drivers/net/ethernet/intel/ice/ice_sriov.h u16 __always_unused link_speed) link_speed 1142 drivers/net/ethernet/intel/ice/ice_txrx.c switch (port_info->phy.link_info.link_speed) { link_speed 116 drivers/net/ethernet/intel/ice/ice_type.h u16 link_speed; link_speed 82 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c pfe->event_data.link_event_adv.link_speed = link_speed 87 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c pfe->event_data.link_event.link_speed = link_speed 103 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c u16 link_speed; link_speed 106 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c link_speed = ICE_AQ_LINK_SPEED_100GB; link_speed 108 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c link_speed = ICE_AQ_LINK_SPEED_UNKNOWN; link_speed 110 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_set_pfe_link(vf, pfe, link_speed, link_up); link_speed 138 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_set_pfe_link(vf, &pfe, ls->link_speed, ls->link_info & link_speed 3270 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_set_pfe_link(vf, &pfe, ls->link_speed, vf->link_up); link_speed 503 drivers/net/ethernet/intel/igb/igb.h u16 link_speed; link_speed 302 drivers/net/ethernet/intel/igb/igb_ethtool.c switch (adapter->link_speed) { link_speed 2213 drivers/net/ethernet/intel/igb/igb_main.c adapter->link_speed = 0; link_speed 5264 drivers/net/ethernet/intel/igb/igb_main.c &adapter->link_speed, link_speed 5272 drivers/net/ethernet/intel/igb/igb_main.c adapter->link_speed, link_speed 5301 drivers/net/ethernet/intel/igb/igb_main.c switch (adapter->link_speed) { link_speed 5310 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->link_speed != SPEED_1000) link_speed 5341 drivers/net/ethernet/intel/igb/igb_main.c adapter->link_speed = 0; link_speed 5473 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->link_speed != SPEED_1000) { link_speed 5596 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->link_speed != SPEED_1000) { link_speed 6276 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->link_speed == 0) link_speed 9197 drivers/net/ethernet/intel/igb/igb_main.c int link_speed) link_speed 9204 drivers/net/ethernet/intel/igb/igb_main.c rf_int = link_speed / tx_rate; link_speed 9205 drivers/net/ethernet/intel/igb/igb_main.c rf_dec = (link_speed - (rf_int * tx_rate)); link_speed 9235 drivers/net/ethernet/intel/igb/igb_main.c actual_link_speed = igb_link_mbps(adapter->link_speed); link_speed 9266 drivers/net/ethernet/intel/igb/igb_main.c actual_link_speed = igb_link_mbps(adapter->link_speed); link_speed 830 drivers/net/ethernet/intel/igb/igb_ptp.c switch (adapter->link_speed) { link_speed 885 drivers/net/ethernet/intel/igb/igb_ptp.c switch (adapter->link_speed) { link_speed 937 drivers/net/ethernet/intel/igb/igb_ptp.c switch (adapter->link_speed) { link_speed 169 drivers/net/ethernet/intel/igbvf/igbvf.h u16 link_speed; link_speed 1594 drivers/net/ethernet/intel/igbvf/netdev.c adapter->link_speed = 0; link_speed 1839 drivers/net/ethernet/intel/igbvf/netdev.c if (adapter->link_speed == 0) link_speed 1865 drivers/net/ethernet/intel/igbvf/netdev.c adapter->link_speed, link_speed 1923 drivers/net/ethernet/intel/igbvf/netdev.c &adapter->link_speed, link_speed 1932 drivers/net/ethernet/intel/igbvf/netdev.c adapter->link_speed = 0; link_speed 373 drivers/net/ethernet/intel/igc/igc.h u16 link_speed; link_speed 1916 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->link_speed == 0) link_speed 2151 drivers/net/ethernet/intel/igc/igc_main.c adapter->link_speed = 0; link_speed 2935 drivers/net/ethernet/intel/igc/igc_main.c &adapter->link_speed, link_speed 2943 drivers/net/ethernet/intel/igc/igc_main.c adapter->link_speed, link_speed 2958 drivers/net/ethernet/intel/igc/igc_main.c switch (adapter->link_speed) { link_speed 2967 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->link_speed != SPEED_1000) link_speed 2995 drivers/net/ethernet/intel/igc/igc_main.c adapter->link_speed = 0; link_speed 3099 drivers/net/ethernet/intel/igc/igc_main.c switch (adapter->link_speed) { link_speed 3302 drivers/net/ethernet/intel/igc/igc_main.c switch (adapter->link_speed) { link_speed 118 drivers/net/ethernet/intel/ixgb/ixgb.h u16 link_speed; link_speed 103 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c adapter->link_speed = 10000; link_speed 270 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->link_speed = 0; link_speed 432 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->link_speed = 0; link_speed 1143 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->link_speed = 10000; link_speed 1149 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->link_speed = 0; link_speed 689 drivers/net/ethernet/intel/ixgbe/ixgbe.h u32 link_speed; link_speed 280 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c u32 link_speed = 0; link_speed 305 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c hw->mac.ops.check_link(hw, &link_speed, &link_up, false); link_speed 306 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { link_speed 665 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; link_speed 707 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c status = hw->mac.ops.check_link(hw, &link_speed, link_speed 742 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c status = hw->mac.ops.check_link(hw, &link_speed, link_speed 757 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) link_speed 911 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c ixgbe_link_speed link_speed; link_speed 958 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c hw->mac.ops.check_link(hw, &link_speed, &link_up, false); link_speed 4200 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; link_speed 4208 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = hw->mac.ops.get_link_capabilities(hw, &link_speed, &autoneg); link_speed 4212 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c speed &= link_speed; link_speed 4257 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = hw->mac.ops.check_link(hw, &link_speed, link_speed 4303 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = hw->mac.ops.check_link(hw, &link_speed, &link_up, link_speed 114 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h u32 link_speed; /* For bandwidth allocation validation purpose */ link_speed 333 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c switch (adapter->link_speed) { link_speed 1321 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u32 link_speed = 0; link_speed 1329 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c hw->mac.ops.check_link(hw, &link_speed, &link_up, true); link_speed 2649 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c switch (q_vector->adapter->link_speed) { link_speed 7363 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 link_speed = adapter->link_speed; link_speed 7371 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hw->mac.ops.check_link(hw, &link_speed, &link_up, false); link_speed 7374 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c link_speed = IXGBE_LINK_SPEED_10GB_FULL; link_speed 7395 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->link_speed = link_speed; link_speed 7424 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 link_speed = adapter->link_speed; link_speed 7464 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c switch (link_speed) { link_speed 7516 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->link_speed = 0; link_speed 1181 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c switch (adapter->link_speed) { link_speed 1503 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c switch (adapter->link_speed) { link_speed 1593 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c int link_speed; link_speed 1604 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c link_speed = ixgbe_link_mbps(adapter); link_speed 1605 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (link_speed != 10000) link_speed 1612 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed))) link_speed 1616 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->vf_rate_link_speed = link_speed; link_speed 3393 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c ixgbe_link_speed link_speed; link_speed 3443 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hw->mac.ops.check_link(hw, &link_speed, &link_up, false); link_speed 97 drivers/net/ethernet/intel/ixgbevf/ethtool.c switch (adapter->link_speed) { link_speed 554 drivers/net/ethernet/intel/ixgbevf/ethtool.c u32 link_speed = 0; link_speed 557 drivers/net/ethernet/intel/ixgbevf/ethtool.c hw->mac.ops.check_link(hw, &link_speed, &link_up, true); link_speed 378 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u32 link_speed; link_speed 3222 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u32 link_speed = adapter->link_speed; link_speed 3228 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c err = hw->mac.ops.check_link(hw, &link_speed, &link_up, false); link_speed 3239 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c adapter->link_speed = link_speed; link_speed 3256 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c (adapter->link_speed == IXGBE_LINK_SPEED_10GB_FULL) ? link_speed 3258 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c (adapter->link_speed == IXGBE_LINK_SPEED_1GB_FULL) ? link_speed 3260 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c (adapter->link_speed == IXGBE_LINK_SPEED_100_FULL) ? link_speed 3276 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c adapter->link_speed = 0; link_speed 885 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c link_ksettings->base.speed = priv->port_state.link_speed; link_speed 93 drivers/net/ethernet/mellanox/mlx4/en_port.c switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) { link_speed 95 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = SPEED_100; link_speed 98 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = SPEED_1000; link_speed 102 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = SPEED_10000; link_speed 105 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = SPEED_20000; link_speed 108 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = SPEED_40000; link_speed 111 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = SPEED_56000; link_speed 114 drivers/net/ethernet/mellanox/mlx4/en_port.c state->link_speed = -1; link_speed 96 drivers/net/ethernet/mellanox/mlx4/en_port.h u8 link_speed; link_speed 156 drivers/net/ethernet/mellanox/mlx4/en_selftest.c if (priv->port_state.link_speed != SPEED_100 && link_speed 157 drivers/net/ethernet/mellanox/mlx4/en_selftest.c priv->port_state.link_speed != SPEED_1000 && link_speed 158 drivers/net/ethernet/mellanox/mlx4/en_selftest.c priv->port_state.link_speed != SPEED_10000 && link_speed 159 drivers/net/ethernet/mellanox/mlx4/en_selftest.c priv->port_state.link_speed != SPEED_20000 && link_speed 160 drivers/net/ethernet/mellanox/mlx4/en_selftest.c priv->port_state.link_speed != SPEED_40000 && link_speed 161 drivers/net/ethernet/mellanox/mlx4/en_selftest.c priv->port_state.link_speed != SPEED_56000) link_speed 162 drivers/net/ethernet/mellanox/mlx4/en_selftest.c return priv->port_state.link_speed; link_speed 457 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int link_speed; link_speed 476 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 link_speed; link_speed 495 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5e_port_linkspeed(dev, &link_speed); link_speed 499 drivers/net/ethernet/mellanox/mlx5/core/en/port.c return mlx5e_fec_admin_field(out, fec_configured_mode, 0, link_speed); link_speed 4671 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 link_speed = 0; link_speed 4674 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_port_max_linkspeed(mdev, &link_speed); link_speed 4677 drivers/net/ethernet/mellanox/mlx5/core/en_main.c link_speed, pci_bw); link_speed 4681 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return link_speed && pci_bw && link_speed 4682 drivers/net/ethernet/mellanox/mlx5/core/en_main.c link_speed > MLX5E_SLOW_PCI_RATIO * pci_bw; link_speed 782 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c u32 link_speed; link_speed 843 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_port_max_linkspeed(priv->mdev, &link_speed); link_speed 844 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c link_speed = max_t(u32, link_speed, 50000); link_speed 845 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c link_speed64 = link_speed; link_speed 844 drivers/net/ethernet/microchip/lan743x_ptp.c u32 link_speed) link_speed 846 drivers/net/ethernet/microchip/lan743x_ptp.c switch (link_speed) { link_speed 37 drivers/net/ethernet/microchip/lan743x_ptp.h u32 link_speed); link_speed 338 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h u16 link_speed; link_speed 133 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c hw->mac.link_speed = speed; link_speed 1060 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c hw->mac.link_speed = ethtool_cmd_speed(&cmd); link_speed 1063 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_set_rgmii_ctrl(adapter, hw->mac.link_speed, link_speed 1066 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_set_mode(adapter, hw->mac.link_speed, link_speed 1070 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c hw->mac.link_speed, link_speed 1077 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c hw->mac.link_speed = SPEED_10; link_speed 2423 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_set_rgmii_ctrl(adapter, hw->mac.link_speed, link_speed 2425 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_set_mode(adapter, hw->mac.link_speed, link_speed 328 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_10; link_speed 339 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_10; link_speed 351 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_10; link_speed 362 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_10; link_speed 369 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_10; link_speed 376 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_10; link_speed 387 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_100; link_speed 395 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_100; link_speed 403 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_100; link_speed 420 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.link_speed = SPEED_1000; link_speed 308 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c ethtool_cmd_speed_set(&cmd, hw->mac.link_speed); link_speed 213 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c (u32 *)&lif->info->status.link_speed); link_speed 232 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c ks->base.speed = le32_to_cpu(lif->info->status.link_speed); link_speed 1267 drivers/net/ethernet/pensando/ionic/ionic_if.h __le32 link_speed; /* units of 1Mbps: eg 10000 = 10Gbps */ link_speed 1890 drivers/net/ethernet/pensando/ionic/ionic_if.h __le32 link_speed; /* units of 1Mbps: e.g. 10000 = 10Gbps */ link_speed 85 drivers/net/ethernet/pensando/ionic/ionic_lif.c le32_to_cpu(lif->info->status.link_speed) / 1000); link_speed 1623 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u16 link_speed; link_speed 106 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c cmd->base.speed = adapter->link_speed; link_speed 123 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c cmd->base.speed = adapter->link_speed; link_speed 267 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c adapter->link_speed = speed; link_speed 1854 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = 0; link_speed 1863 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = SPEED_1000; link_speed 1876 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = SPEED_10; link_speed 1879 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = SPEED_100; link_speed 1882 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = SPEED_1000; link_speed 1885 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = 0; link_speed 1908 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->link_speed = 0; link_speed 1390 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c u16 link_speed; link_speed 1398 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c link_speed = (msg->body[1] >> 48) & 0xffff; link_speed 1420 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c adapter->link_speed = link_speed; link_speed 1525 drivers/net/ethernet/qlogic/qed/qed_cxt.c params.link_speed = p_link->speed; link_speed 4008 drivers/net/ethernet/qlogic/qed/qed_hsi.h u32 link_speed; link_speed 4072 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vport_id, u32 vport_rl, u32 link_speed); link_speed 715 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c u32 link_speed, link_speed 731 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c link_speed); link_speed 732 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) { link_speed 742 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c QM_VP_RL_UPPER_BOUND(link_speed) | link_speed 887 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_params->num_vports, p_params->link_speed, link_speed 953 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c u8 vport_id, u32 vport_rl, u32 link_speed) link_speed 963 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c inc_val = QM_RL_INC_VAL(vport_rl ? vport_rl : link_speed); link_speed 964 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) { link_speed 829 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_port->link_speed = p_link_output->speed; link_speed 500 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 link_speed; link_speed 2324 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = MSW(data[2]); link_speed 2331 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = SPEED_UNKNOWN; link_speed 3241 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = SPEED_10; link_speed 3244 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = SPEED_100; link_speed 3247 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = SPEED_1000; link_speed 3250 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = SPEED_10000; link_speed 3253 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->link_speed = 0; link_speed 3313 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ecmd->base.speed = ahw->link_speed; link_speed 3343 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c switch (ahw->link_speed) { link_speed 311 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c ecmd->base.speed = adapter->ahw->link_speed; link_speed 332 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c ahw->link_speed = speed * P3P_LINK_SPEED_MHZ; link_speed 335 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c ecmd->base.speed = ahw->link_speed; link_speed 504 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c adapter->ahw->link_speed = ecmd->base.speed; link_speed 1036 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u16 cable_len, link_speed; link_speed 1044 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c link_speed = (msg->body[1] >> 48) & 0xffff; link_speed 1075 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c adapter->ahw->link_speed = link_speed; link_speed 1077 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c adapter->ahw->link_speed = SPEED_UNKNOWN; link_speed 1370 drivers/net/ethernet/sfc/falcon/falcon.c int link_speed, isolate; link_speed 1375 drivers/net/ethernet/sfc/falcon/falcon.c case 10000: link_speed = 3; break; link_speed 1376 drivers/net/ethernet/sfc/falcon/falcon.c case 1000: link_speed = 2; break; link_speed 1377 drivers/net/ethernet/sfc/falcon/falcon.c case 100: link_speed = 1; break; link_speed 1378 drivers/net/ethernet/sfc/falcon/falcon.c default: link_speed = 0; break; link_speed 1390 drivers/net/ethernet/sfc/falcon/falcon.c FRF_AB_MAC_SPEED, link_speed); link_speed 863 drivers/net/hyperv/rndis_filter.c u32 link_speed; link_speed 869 drivers/net/hyperv/rndis_filter.c &link_speed, &size); link_speed 877 drivers/net/hyperv/rndis_filter.c ndc->speed = link_speed / 10000; link_speed 300 drivers/net/usb/aqc111.c switch (aqc111_data->link_speed) { link_speed 792 drivers/net/usb/aqc111.c aqc111_data->link_speed = (*event_data & AQ_SPEED_MASK) >> link_speed 804 drivers/net/usb/aqc111.c u16 link_speed = 0, usb_host = 0; link_speed 813 drivers/net/usb/aqc111.c switch (aqc111_data->link_speed) { link_speed 815 drivers/net/usb/aqc111.c link_speed = 5000; link_speed 820 drivers/net/usb/aqc111.c link_speed = 2500; link_speed 824 drivers/net/usb/aqc111.c link_speed = 1000; link_speed 828 drivers/net/usb/aqc111.c link_speed = 100; link_speed 877 drivers/net/usb/aqc111.c netdev_info(dev->net, "Link Speed %d, USB %d", link_speed, usb_host); link_speed 164 drivers/net/usb/aqc111.h u8 link_speed; link_speed 149 drivers/net/vmxnet3/vmxnet3_drv.c adapter->link_speed = ret >> 16; link_speed 152 drivers/net/vmxnet3/vmxnet3_drv.c adapter->link_speed); link_speed 2673 drivers/net/vmxnet3/vmxnet3_drv.c adapter->link_speed = 0; link_speed 497 drivers/net/vmxnet3/vmxnet3_ethtool.c if (adapter->link_speed) { link_speed 498 drivers/net/vmxnet3/vmxnet3_ethtool.c ecmd->base.speed = adapter->link_speed; link_speed 365 drivers/net/vmxnet3/vmxnet3_int.h u32 link_speed; /* in mbps */ link_speed 87 drivers/ntb/hw/mscc/ntb_hw_switchtec.c enum ntb_speed link_speed; link_speed 439 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->link_speed = NTB_SPEED_NONE; link_speed 449 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->link_speed = min(self_speed, peer_speed); link_speed 564 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *speed = sndev->link_speed; link_speed 1125 drivers/pci/controller/dwc/pci-keystone.c static void ks_pcie_set_link_speed(struct dw_pcie *pci, int link_speed) link_speed 1132 drivers/pci/controller/dwc/pci-keystone.c if ((val & PCI_EXP_LNKCAP_SLS) != link_speed) { link_speed 1134 drivers/pci/controller/dwc/pci-keystone.c val |= link_speed; link_speed 1140 drivers/pci/controller/dwc/pci-keystone.c if ((val & PCI_EXP_LNKCAP_SLS) != link_speed) { link_speed 1142 drivers/pci/controller/dwc/pci-keystone.c val |= link_speed; link_speed 1203 drivers/pci/controller/dwc/pci-keystone.c int link_speed; link_speed 1341 drivers/pci/controller/dwc/pci-keystone.c link_speed = of_pci_get_max_link_speed(np); link_speed 1342 drivers/pci/controller/dwc/pci-keystone.c if (link_speed < 0) link_speed 1343 drivers/pci/controller/dwc/pci-keystone.c link_speed = 2; link_speed 1345 drivers/pci/controller/dwc/pci-keystone.c ks_pcie_set_link_speed(pci, link_speed); link_speed 2416 drivers/rapidio/devices/rio_mport_cdev.c md->properties.link_speed = attr.link_speed; link_speed 2555 drivers/rapidio/devices/tsi721.c attr->link_speed = (rval & RIO_PORT_N_CTL2_SEL_BAUD) >> 28; link_speed 2559 drivers/rapidio/devices/tsi721.c attr->link_speed = RIO_LINK_DOWN; link_speed 1378 drivers/scsi/bfa/bfa_defs_svc.h u8 link_speed; link_speed 276 drivers/scsi/csiostor/csio_attr.c switch (hw->pport[ln->portid].link_speed) { link_speed 329 drivers/scsi/csiostor/csio_hw.h uint16_t link_speed; link_speed 352 drivers/scsi/csiostor/csio_lnode.c if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G) link_speed 354 drivers/scsi/csiostor/csio_lnode.c else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G) link_speed 356 drivers/scsi/csiostor/csio_lnode.c else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_25G) link_speed 358 drivers/scsi/csiostor/csio_lnode.c else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_40G) link_speed 360 drivers/scsi/csiostor/csio_lnode.c else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_50G) link_speed 362 drivers/scsi/csiostor/csio_lnode.c else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_100G) link_speed 1445 drivers/scsi/csiostor/csio_mb.c hw->pport[port_id].link_speed = fwcap_to_fwspeed(linkattr); link_speed 55 drivers/scsi/esas2r/atvda.h u8 link_speed; /* VDALINKSPEED_xxx */ link_speed 66 drivers/scsi/esas2r/atvda.h u8 link_speed; link_speed 265 drivers/scsi/esas2r/atvda.h u8 link_speed; link_speed 309 drivers/scsi/esas2r/atvda.h u8 link_speed; link_speed 152 drivers/scsi/fcoe/fcoe_transport.c lport->link_speed = eth2fc_speed(ecmd.base.speed); link_speed 949 drivers/scsi/ibmvscsi/ibmvfc.c switch (be64_to_cpu(vhost->login_buf->resp.link_speed) / 100) { link_speed 970 drivers/scsi/ibmvscsi/ibmvfc.c be64_to_cpu(vhost->login_buf->resp.link_speed) / 100); link_speed 213 drivers/scsi/ibmvscsi/ibmvfc.h __be64 link_speed; link_speed 282 drivers/scsi/libfc/fc_lport.c fc_host_speed(shost) = lport->link_speed; link_speed 4599 drivers/scsi/lpfc/lpfc_attr.c lpfc_param_show(link_speed) link_speed 2266 drivers/scsi/lpfc/lpfc_hw.h uint32_t link_speed; link_speed 4732 drivers/scsi/lpfc/lpfc_init.c uint32_t link_speed; link_speed 4740 drivers/scsi/lpfc/lpfc_init.c link_speed = 1000; link_speed 4743 drivers/scsi/lpfc/lpfc_init.c link_speed = 2000; link_speed 4746 drivers/scsi/lpfc/lpfc_init.c link_speed = 4000; link_speed 4749 drivers/scsi/lpfc/lpfc_init.c link_speed = 8000; link_speed 4752 drivers/scsi/lpfc/lpfc_init.c link_speed = 10000; link_speed 4755 drivers/scsi/lpfc/lpfc_init.c link_speed = 16000; link_speed 4758 drivers/scsi/lpfc/lpfc_init.c link_speed = 0; link_speed 4762 drivers/scsi/lpfc/lpfc_init.c link_speed = link_speed 4765 drivers/scsi/lpfc/lpfc_init.c link_speed = phba->sli4_hba.link_state.speed; link_speed 4767 drivers/scsi/lpfc/lpfc_init.c return link_speed; link_speed 534 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_1G; link_speed 538 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_2G; link_speed 542 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_4G; link_speed 546 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_8G; link_speed 550 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_10G; link_speed 554 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_16G; link_speed 558 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_32G; link_speed 562 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_64G; link_speed 566 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_AUTO; link_speed 572 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_AUTO; link_speed 4384 drivers/scsi/lpfc/lpfc_scsi.c int link_speed = 0; link_speed 4414 drivers/scsi/lpfc/lpfc_scsi.c link_speed = lpfc_sli_port_speed_get(phba); link_speed 4415 drivers/scsi/lpfc/lpfc_scsi.c if (link_speed != 0) { link_speed 4417 drivers/scsi/lpfc/lpfc_scsi.c " Logical Link Speed: %d Mbps", link_speed); link_speed 437 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_UNKNOWN; link_speed 443 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_10GBIT; link_speed 446 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_25GBIT; link_speed 449 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_40GBIT; link_speed 452 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_50GBIT; link_speed 455 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_100GBIT; link_speed 458 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_20GBIT; link_speed 461 drivers/scsi/qedf/qedf_main.c lport->link_speed = FC_PORTSPEED_UNKNOWN; link_speed 467 drivers/scsi/qla2xxx/qla_isr.c uint16_t sfp_tx_fault, link_speed, dcbx_status; link_speed 509 drivers/scsi/qla2xxx/qla_isr.c link_speed = ((mb[6] & 0x0070) >> 4); link_speed 526 drivers/scsi/qla2xxx/qla_isr.c "dcbx_status=0x%x.\n", sfp_tx_fault, link_speed, link_speed 935 drivers/staging/ks7010/ks_hostif.c u8 link_speed; link_speed 942 drivers/staging/ks7010/ks_hostif.c link_speed = get_byte(priv); link_speed 950 drivers/staging/ks7010/ks_hostif.c priv->current_rate = (link_speed & RATE_MASK); link_speed 963 drivers/staging/ks7010/ks_hostif.c rssi, signal, link_speed, transmitted_frame_count, link_speed 97 drivers/staging/rtl8188eu/os_dep/rtw_android.c u16 link_speed; link_speed 99 drivers/staging/rtl8188eu/os_dep/rtw_android.c link_speed = rtw_get_cur_max_rate(padapter) / 10; link_speed 101 drivers/staging/rtl8188eu/os_dep/rtw_android.c link_speed); link_speed 816 drivers/staging/wilc1000/wilc_hif.c wid_list[wid_cnt].val = (s8 *)&stats->link_speed; link_speed 849 drivers/staging/wilc1000/wilc_hif.c if (stats->link_speed > TCP_ACK_FILTER_LINK_SPEED_THRESH && link_speed 850 drivers/staging/wilc1000/wilc_hif.c stats->link_speed != DEFAULT_LINK_SPEED) link_speed 852 drivers/staging/wilc1000/wilc_hif.c else if (stats->link_speed != DEFAULT_LINK_SPEED) link_speed 45 drivers/staging/wilc1000/wilc_hif.h u8 link_speed; link_speed 738 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c sinfo->txrate.legacy = stats.link_speed * 10; link_speed 740 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (stats.link_speed > TCP_ACK_FILTER_LINK_SPEED_THRESH && link_speed 741 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c stats.link_speed != DEFAULT_LINK_SPEED) link_speed 743 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c else if (stats.link_speed != DEFAULT_LINK_SPEED) link_speed 304 drivers/vfio/pci/vfio_pci_nvlink2.c unsigned int link_speed; /* The link speed from DT's ibm,nvlink-speed */ link_speed 373 drivers/vfio/pci/vfio_pci_nvlink2.c .link_speed = data->link_speed link_speed 402 drivers/vfio/pci/vfio_pci_nvlink2.c u32 link_speed = 0xff; link_speed 434 drivers/vfio/pci/vfio_pci_nvlink2.c if (of_property_read_u32(npu_node, "ibm,nvlink-speed", &link_speed)) { link_speed 445 drivers/vfio/pci/vfio_pci_nvlink2.c data->link_speed = link_speed; link_speed 606 include/linux/avf/virtchnl.h enum virtchnl_link_speed link_speed; link_speed 611 include/linux/avf/virtchnl.h u32 link_speed; link_speed 103 include/linux/firewire.h int link_speed; link_speed 175 include/linux/qed/qed_rdma_if.h int link_speed; link_speed 367 include/linux/rio.h int link_speed; link_speed 327 include/rdma/opa_port_info.h } link_speed; link_speed 419 include/scsi/fc_encode.h put_unaligned_be32(lport->link_speed, link_speed 739 include/scsi/libfc.h u16 link_speed; link_speed 76 include/uapi/linux/rio_mport_cdev.h __u8 link_speed; link_speed 415 include/uapi/linux/vfio.h __u32 link_speed;