Home
last modified time | relevance | path

Searched refs:lwe (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_mad.c664 u8 lwe; in subn_set_portinfo() local
732 lwe = pip->link_width_enabled; in subn_set_portinfo()
733 if (lwe) { in subn_set_portinfo()
734 if (lwe == 0xFF) in subn_set_portinfo()
736 else if (lwe >= 16 || (lwe & ~ppd->link_width_supported)) in subn_set_portinfo()
738 else if (lwe != ppd->link_width_enabled) in subn_set_portinfo()
739 set_link_width_enabled(ppd, lwe); in subn_set_portinfo()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dmad.c1368 u16 lse, lwe, mtu; in __subn_set_opa_portinfo() local
1485 lwe = be16_to_cpu(pi->link_width.enabled); in __subn_set_opa_portinfo()
1486 if (lwe) { in __subn_set_opa_portinfo()
1487 if (lwe == OPA_LINK_WIDTH_RESET || in __subn_set_opa_portinfo()
1488 lwe == OPA_LINK_WIDTH_RESET_OLD) in __subn_set_opa_portinfo()
1490 else if ((lwe & ~ppd->link_width_supported) == 0) in __subn_set_opa_portinfo()
1491 set_link_width_enabled(ppd, lwe); in __subn_set_opa_portinfo()
1495 lwe = be16_to_cpu(pi->link_width_downgrade.enabled); in __subn_set_opa_portinfo()
1497 if (lwe == OPA_LINK_WIDTH_RESET || in __subn_set_opa_portinfo()
1498 lwe == OPA_LINK_WIDTH_RESET_OLD) { in __subn_set_opa_portinfo()
[all …]
/Linux-v5.4/arch/mips/include/asm/
Dasm-eva.h145 #define user_lw(reg, addr) __BUILD_EVA_INSN(lwe, reg, addr)