/freebsd-current/sys/dev/qlxgbe/ |
H A D | ql_inline.h | 89 uint32_t link_speed; local 91 link_speed = READ_REG32(ha, Q8_LINK_SPEED_0); 93 link_speed = link_speed & 0xFF; 95 link_speed = (link_speed >> 8) & 0xFF; 97 switch (link_speed) { 99 link_speed = IFM_100_FX; 103 link_speed = IFM_1000_SX; 110 link_speed [all...] |
H A D | ql_ioctl.h | 140 uint16_t link_speed; member in struct:qla_drvr_state_hdr
|
H A D | ql_ioctl.c | 484 hdr->link_speed = ha->hw.link_speed;
|
/freebsd-current/sys/dev/qlxge/ |
H A D | qls_inline.h | 45 uint32_t link_speed = 0; local 52 link_speed = (IFM_10G_LR | IFM_10G_SR); 58 link_speed = IFM_10G_TWINAX; 66 link_speed = IFM_1000_SX; 71 return(link_speed);
|
/freebsd-current/sys/dev/qlxgb/ |
H A D | qla_inline.h | 97 uint32_t link_speed; local 99 link_speed = READ_REG32(ha, Q8_LINK_SPEED_0); 101 link_speed = link_speed & 0xFF; 103 link_speed = (link_speed >> 8) & 0xFF; 105 switch (link_speed) { 107 link_speed = IFM_100_FX; 111 link_speed = IFM_1000_SX; 115 link_speed [all...] |
H A D | qla_hw.h | 686 uint16_t link_speed; member in struct:_qla_link_event 737 uint16_t link_speed; member in struct:_qla_hw
|
/freebsd-current/sys/dev/iavf/ |
H A D | iavf_vc_common.h | 68 iavf_vc_speed_to_string(enum virtchnl_link_speed link_speed); 75 u32 iavf_ext_speed_to_ifmedia(enum iavf_ext_link_speed link_speed); 76 enum iavf_ext_link_speed iavf_vc_speed_to_ext_speed(enum virtchnl_link_speed link_speed); 77 const char * iavf_ext_speed_to_str(enum iavf_ext_link_speed link_speed);
|
H A D | iavf_vc_common.c | 983 * @link_speed: the link speed 993 iavf_ext_speed_to_ifmedia(enum iavf_ext_link_speed link_speed) argument 995 switch (link_speed) { 1027 * @link_speed: link speed enum value 1032 iavf_vc_speed_to_ext_speed(enum virtchnl_link_speed link_speed) argument 1034 switch (link_speed) { 1055 * @link_speed: the speed to convert 1061 iavf_vc_speed_to_string(enum virtchnl_link_speed link_speed) argument 1063 return iavf_ext_speed_to_str(iavf_vc_speed_to_ext_speed(link_speed)); 1068 * @link_speed 1075 iavf_ext_speed_to_str(enum iavf_ext_link_speed link_speed) argument [all...] |
H A D | virtchnl.h | 691 enum virtchnl_link_speed link_speed; member in struct:virtchnl_pf_event::__anon2492::__anon2493 695 /* link_speed provided in Mbps */ 696 u32 link_speed; member in struct:virtchnl_pf_event::__anon2492::__anon2494
|
H A D | iavf_iflib.h | 350 enum virtchnl_link_speed link_speed; member in union:iavf_sc::__anon13
|
/freebsd-current/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_port.c | 95 switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) { 97 state->link_speed = 100; 100 state->link_speed = 1000; 104 state->link_speed = 10000; 107 state->link_speed = 20000; 110 state->link_speed = 40000; 113 state->link_speed = 56000; 116 state->link_speed = -1;
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_init_fw_funcs.h | 105 * @param link_speed - link speed in Mbps. 130 u32 link_speed, 189 * @param link_speed - link speed in Mbps. 197 u32 link_speed);
|
H A D | ecore_init_fw_funcs.c | 628 u32 link_speed, 641 inc_val = QM_RL_INC_VAL(vport_params[i].vport_rl ? vport_params[i].vport_rl : link_speed); 642 if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) { 648 STORE_RT_REG(p_hwfn, QM_REG_RLGLBLUPPERBOUND_RT_OFFSET + vport_id, QM_VP_RL_UPPER_BOUND(link_speed) | (u32)QM_RL_CRD_REG_SIGN_BIT); 764 u32 link_speed, 801 if (ecore_vport_rl_rt_init(p_hwfn, start_vport, num_vports, link_speed, vport_params)) 873 u32 link_speed) 882 inc_val = QM_RL_INC_VAL(vport_rl ? vport_rl : link_speed); 883 if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) { 625 ecore_vport_rl_rt_init(struct ecore_hwfn *p_hwfn, u8 start_vport, u8 num_vports, u32 link_speed, struct init_qm_vport_params *vport_params) argument 748 ecore_qm_pf_rt_init(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u8 port_id, u8 pf_id, u8 max_phys_tcs_per_port, bool is_pf_loading, u32 num_pf_cids, u32 num_vf_cids, u32 num_tids, u16 start_pq, u16 num_pf_pqs, u16 num_vf_pqs, u8 start_vport, u8 num_vports, u16 pf_wfq, u32 pf_rl, u32 link_speed, struct init_qm_pq_params *pq_params, struct init_qm_vport_params *vport_params) argument 869 ecore_init_vport_rl(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u8 vport_id, u32 vport_rl, u32 link_speed) argument
|
/freebsd-current/sys/dev/ixgbe/ |
H A D | ixgbe_dcb.h | 132 u32 link_speed; /* For bandwidth allocation validation purpose */ member in struct:ixgbe_dcb_config
|
H A D | ixgbe_dcb_82598.c | 342 * @link_speed: unused 350 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, argument 354 UNREFERENCED_1PARAMETER(link_speed);
|
H A D | if_ix.c | 1412 err = ixgbe_check_link(hw, &sc->link_speed, 2259 switch (sc->link_speed) { 2274 switch (sc->link_speed) { 2284 switch (sc->link_speed) { 2290 switch (sc->link_speed) { 2299 switch (sc->link_speed) { 2309 switch (sc->link_speed) { 2318 switch (sc->link_speed) { 2329 switch (sc->link_speed) { 2343 switch (sc->link_speed) { [all...] |
H A D | ixgbe_dcb_82599.c | 587 * @link_speed: unused 596 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, argument 600 UNREFERENCED_1PARAMETER(link_speed);
|
H A D | ixgbe_82599.c | 790 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; local 834 status = ixgbe_check_link(hw, &link_speed, &link_up, 869 status = ixgbe_check_link(hw, &link_speed, &link_up, false); 883 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) 1042 ixgbe_link_speed link_speed; local 1092 hw->mac.ops.check_link(hw, &link_speed, &link_up, false);
|
H A D | ixgbe_dcb.c | 663 ret = ixgbe_dcb_hw_config_82598(hw, dcb_config->link_speed, 672 ret = ixgbe_dcb_hw_config_82599(hw, dcb_config->link_speed,
|
/freebsd-current/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 764 ixl_link_speed_string(hw->phy.link_info.link_speed), 2789 ixl_link_speed_string(enum i40e_aq_link_speed link_speed) argument 2804 switch (link_speed) { 2849 ixl_link_speed_string(hw->phy.link_info.link_speed)), 2908 config.link_speed = speeds; 2910 config.link_speed = ixl_convert_sysctl_aq_link_speed(speeds, true); 3310 config.link_speed = abilities.link_speed; 3486 link_status.link_speed, 3555 sbuf_printf(buf, "\nSpeed : %02x", abilities.link_speed); 3557 u8 link_speed; local [all...] |
H A D | virtchnl.h | 533 enum virtchnl_link_speed link_speed; member in struct:virtchnl_pf_event::__anon2937::__anon2938
|
/freebsd-current/sys/ofed/include/rdma/ |
H A D | opa_port_info.h | 326 } link_speed; member in struct:opa_port_info
|
/freebsd-current/sys/dev/igc/ |
H A D | if_igc.h | 386 u16 link_speed; member in struct:igc_adapter
|
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_portinfo_record.c | 125 p_pi->link_speed = 126 (uint8_t) ((p_pi->link_speed & IB_PORT_LINK_SPEED_ENABLED_MASK) |
|
H A D | osm_link_mgr.c | 351 if (p_pi->link_speed != p_old_pi->link_speed)
|