Lines Matching refs:lwe
1326 u16 lse, lwe, mtu; in __subn_set_opa_portinfo() local
1443 lwe = be16_to_cpu(pi->link_width.enabled); in __subn_set_opa_portinfo()
1444 if (lwe) { in __subn_set_opa_portinfo()
1445 if (lwe == OPA_LINK_WIDTH_RESET || in __subn_set_opa_portinfo()
1446 lwe == OPA_LINK_WIDTH_RESET_OLD) in __subn_set_opa_portinfo()
1448 else if ((lwe & ~ppd->link_width_supported) == 0) in __subn_set_opa_portinfo()
1449 set_link_width_enabled(ppd, lwe); in __subn_set_opa_portinfo()
1453 lwe = be16_to_cpu(pi->link_width_downgrade.enabled); in __subn_set_opa_portinfo()
1455 if (lwe == OPA_LINK_WIDTH_RESET || in __subn_set_opa_portinfo()
1456 lwe == OPA_LINK_WIDTH_RESET_OLD) { in __subn_set_opa_portinfo()
1461 } else if ((lwe & ~ppd->link_width_downgrade_supported) == 0) { in __subn_set_opa_portinfo()
1463 if (lwe != ppd->link_width_downgrade_enabled) { in __subn_set_opa_portinfo()
1464 set_link_width_downgrade_enabled(ppd, lwe); in __subn_set_opa_portinfo()