Searched refs:link_speed (Results 1 - 25 of 109) sorted by relevance

12345

/drivers/net/ethernet/mellanox/mlx4/
H A Den_selftest.c133 if (priv->port_state.link_speed != 1000 &&
134 priv->port_state.link_speed != 10000 &&
135 priv->port_state.link_speed != 40000)
136 return priv->port_state.link_speed;
H A Den_port.c93 switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) {
95 state->link_speed = 1000;
99 state->link_speed = 10000;
102 state->link_speed = 40000;
105 state->link_speed = -1;
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c339 hw->mac.link_speed = SPEED_10;
350 hw->mac.link_speed = SPEED_10;
362 hw->mac.link_speed = SPEED_10;
373 hw->mac.link_speed = SPEED_10;
380 hw->mac.link_speed = SPEED_10;
387 hw->mac.link_speed = SPEED_10;
398 hw->mac.link_speed = SPEED_100;
406 hw->mac.link_speed = SPEED_100;
414 hw->mac.link_speed = SPEED_100;
431 hw->mac.link_speed
[all...]
/drivers/staging/rtl8188eu/os_dep/
H A Drtw_android.c109 u16 link_speed; local
111 link_speed = rtw_get_cur_max_rate(padapter) / 10;
113 link_speed);
/drivers/net/ethernet/atheros/alx/
H A Dhw.c70 clk_sel = hw->link_speed != SPEED_UNKNOWN ?
104 clk_sel = hw->link_speed != SPEED_UNKNOWN ?
622 hw->link_speed == SPEED_1000 ? ALX_MAC_CTRL_SPEED_1000 :
788 if (hw->link_speed != SPEED_UNKNOWN) {
795 if ((hw->link_speed == SPEED_1000 &&
798 (hw->link_speed == SPEED_100 &&
818 if (hw->link_speed == SPEED_100) {
821 } else if (hw->link_speed == SPEED_1000) {
880 hw->link_speed = SPEED_UNKNOWN;
895 hw->link_speed
[all...]
H A Dethtool.c165 ethtool_cmd_speed_set(ecmd, hw->link_speed);
/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl.h336 enum i40e_aq_link_speed link_speed; member in struct:i40e_virtchnl_pf_event::__anon3227::__anon3228
/drivers/net/ethernet/intel/i40evf/
H A Di40e_virtchnl.h336 enum i40e_aq_link_speed link_speed; member in struct:i40e_virtchnl_pf_event::__anon3258::__anon3259
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.h139 u32 link_speed; /* For bandwidth allocation validation purpose */ member in struct:ixgbe_dcb_config
H A Dixgbe_82599.c665 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; local
674 status = hw->mac.ops.get_link_capabilities(hw, &link_speed,
679 speed &= link_speed;
690 status = hw->mac.ops.check_link(hw, &link_speed, &link_up,
695 if ((link_speed == IXGBE_LINK_SPEED_10GB_FULL) && link_up)
736 status = hw->mac.ops.check_link(hw, &link_speed,
752 status = hw->mac.ops.check_link(hw, &link_speed, &link_up,
757 if ((link_speed == IXGBE_LINK_SPEED_1GB_FULL) && link_up)
793 status = hw->mac.ops.check_link(hw, &link_speed, &link_up,
838 ixgbe_link_speed link_speed local
1084 ixgbe_link_speed link_speed; local
[all...]
H A Dixgbe_sriov.c1134 switch (adapter->link_speed) {
1224 int link_speed; local
1235 link_speed = ixgbe_link_mbps(adapter);
1236 if (link_speed != 10000)
1243 if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed)))
1247 adapter->vf_rate_link_speed = link_speed;
/drivers/firewire/
H A Dcore-card.c121 BIB_LINK_SPEED(card->link_speed) |
560 u32 max_receive, u32 link_speed, u64 guid)
565 card->link_speed = link_speed;
559 fw_card_add(struct fw_card *card, u32 max_receive, u32 link_speed, u64 guid) argument
H A Dcore.h118 u32 max_receive, u32 link_speed, u64 guid);
/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c57 static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed);
283 if (adapter->link_speed != speed ||
285 adapter->link_speed = speed;
294 adapter->link_speed,
324 adapter->link_speed = SPEED_0;
782 adapter->link_speed = SPEED_0;
1202 hw->mac_speed = adapter->link_speed == SPEED_1000 ?
1299 static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed) argument
1312 link_speed == SPEED_1000 || link_speed
[all...]
H A Datl1c_ethtool.c52 if (adapter->link_speed != SPEED_0) {
53 ethtool_cmd_speed_set(ecmd, adapter->link_speed);
H A Datl1c_hw.c748 adapter->link_speed = speed;
776 speed = adapter->link_speed == SPEED_1000 ?
830 void atl1c_post_phy_linkchg(struct atl1c_hw *hw, u16 link_speed) argument
839 if (link_speed != SPEED_0) { /* link up */
850 if (adj_thresh && link_speed == SPEED_100 && hw->msi_lnkpatch) {
/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs_cna.h191 u8 link_speed; member in struct:bfa_cee_attr
/drivers/net/ethernet/intel/igbvf/
H A Digbvf.h193 u16 link_speed; member in struct:igbvf_adapter
/drivers/net/ethernet/intel/ixgb/
H A Dixgb.h143 u16 link_speed; member in struct:ixgb_adapter
/drivers/ntb/
H A Dntb_hw.h151 unsigned char link_speed; member in struct:ntb_device
/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c110 u32 link_speed = 0; local
119 hw->mac.ops.check_link(hw, &link_speed, &link_up, false);
123 switch (link_speed) {
479 u32 link_speed = 0; local
482 hw->mac.ops.check_link(hw, &link_speed, &link_up, true);
/drivers/scsi/fcoe/
H A Dfcoe_transport.c127 lport->link_speed = FC_PORTSPEED_1GBIT;
130 lport->link_speed = FC_PORTSPEED_10GBIT;
133 lport->link_speed = FC_PORTSPEED_20GBIT;
136 lport->link_speed = FC_PORTSPEED_40GBIT;
139 lport->link_speed = FC_PORTSPEED_UNKNOWN;
/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c607 u16 link_speed = 0; local
612 if (adapter->phy.link_speed < 0) {
613 status = be_cmd_link_status_query(adapter, &link_speed,
617 ethtool_cmd_speed_set(ecmd, link_speed);
661 adapter->phy.link_speed = ethtool_cmd_speed(ecmd);
668 ethtool_cmd_speed_set(ecmd, adapter->phy.link_speed);
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_ethtool.c53 if (adapter->link_speed != SPEED_0) {
54 ethtool_cmd_speed_set(ecmd, adapter->link_speed);
/drivers/scsi/lpfc/
H A Dlpfc_mbox.c524 mb->un.varInitLnk.link_speed = LINK_SPEED_1G;
528 mb->un.varInitLnk.link_speed = LINK_SPEED_2G;
532 mb->un.varInitLnk.link_speed = LINK_SPEED_4G;
536 mb->un.varInitLnk.link_speed = LINK_SPEED_8G;
540 mb->un.varInitLnk.link_speed = LINK_SPEED_10G;
544 mb->un.varInitLnk.link_speed = LINK_SPEED_16G;
548 mb->un.varInitLnk.link_speed = LINK_SPEED_AUTO;
554 mb->un.varInitLnk.link_speed = LINK_SPEED_AUTO;

Completed in 502 milliseconds

12345