Home
last modified time | relevance | path

Searched refs:lse (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/hfi1/
Dplatform.c266 u16 lss = ppd->link_speed_supported, lse = ppd->link_speed_enabled; in qual_bitrate() local
269 if ((lss & OPA_LINK_SPEED_25G) && (lse & OPA_LINK_SPEED_25G) && in qual_bitrate()
274 if ((lss & OPA_LINK_SPEED_12_5G) && (lse & OPA_LINK_SPEED_12_5G) && in qual_bitrate()
771 u16 lss = ppd->link_speed_supported, lse = ppd->link_speed_enabled; in tune_active_qsfp() local
836 if ((lss & OPA_LINK_SPEED_25G) && (lse & OPA_LINK_SPEED_25G)) in tune_active_qsfp()
840 else if ((lss & OPA_LINK_SPEED_12_5G) && (lse & OPA_LINK_SPEED_12_5G)) in tune_active_qsfp()
861 u16 lss = ppd->link_speed_supported, lse = ppd->link_speed_enabled; in tune_qsfp() local
875 if ((lss & OPA_LINK_SPEED_25G) && (lse & OPA_LINK_SPEED_25G)) in tune_qsfp()
878 (lse & OPA_LINK_SPEED_12_5G)) in tune_qsfp()
Dmad.c1368 u16 lse, lwe, mtu; in __subn_set_opa_portinfo() local
1512 lse = be16_to_cpu(pi->link_speed.enabled); in __subn_set_opa_portinfo()
1513 if (lse) { in __subn_set_opa_portinfo()
1514 if (lse & be16_to_cpu(pi->link_speed.supported)) in __subn_set_opa_portinfo()
1515 set_link_speed_enabled(ppd, lse); in __subn_set_opa_portinfo()
/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.h242 __be32 lse; member
254 __be32 lse; member
Daction.c57 push_mpls->lse = cpu_to_be32(mpls_lse); in nfp_fl_push_mpls()
100 set_mpls->lse = cpu_to_be32(mpls_lse); in nfp_fl_set_mpls()
/drivers/infiniband/hw/qib/
Dqib_mad.c665 u8 lse; in subn_set_portinfo() local
742 lse = pip->linkspeedactive_enabled & 0xF; in subn_set_portinfo()
743 if (lse) { in subn_set_portinfo()
749 if (lse == 15) in subn_set_portinfo()
752 else if (lse >= 8 || (lse & ~ppd->link_speed_supported)) in subn_set_portinfo()
754 else if (lse != ppd->link_speed_enabled) in subn_set_portinfo()
755 set_link_speed_enabled(ppd, lse); in subn_set_portinfo()
Dqib_iba7322.c2430 unsigned lse = ppd->link_speed_enabled; in qib_7322_bringup_serdes() local
2443 if (lse & (lse - 1)) /* Muliple speeds enabled */ in qib_7322_bringup_serdes()
2445 (lse << IBA7322_IBC_SPEED_LSB) | in qib_7322_bringup_serdes()
2449 ppd->cpspec->ibcctrl_b |= (lse == QIB_IB_QDR) ? in qib_7322_bringup_serdes()
2452 (lse == QIB_IB_DDR) ? in qib_7322_bringup_serdes()