Searched refs:lwe (Results 1 – 4 of 4) sorted by relevance
426 u8 lwe; in recv_subn_set_portinfo() local467 lwe = pip->link_width_enabled; in recv_subn_set_portinfo()468 if (lwe) { in recv_subn_set_portinfo()469 if (lwe == 0xFF) in recv_subn_set_portinfo()470 lwe = dd->ipath_link_width_supported; in recv_subn_set_portinfo()471 else if (lwe >= 16 || (lwe & ~dd->ipath_link_width_supported)) in recv_subn_set_portinfo()473 set_link_width_enabled(dd, lwe); in recv_subn_set_portinfo()
662 u8 lwe; in subn_set_portinfo() local729 lwe = pip->link_width_enabled; in subn_set_portinfo()730 if (lwe) { in subn_set_portinfo()731 if (lwe == 0xFF) in subn_set_portinfo()733 else if (lwe >= 16 || (lwe & ~ppd->link_width_supported)) in subn_set_portinfo()735 else if (lwe != ppd->link_width_enabled) in subn_set_portinfo()736 set_link_width_enabled(ppd, lwe); in subn_set_portinfo()
1053 u16 lse, lwe, mtu; in __subn_set_opa_portinfo() local1167 lwe = be16_to_cpu(pi->link_width.enabled); in __subn_set_opa_portinfo()1168 if (lwe) { in __subn_set_opa_portinfo()1169 if (lwe == OPA_LINK_WIDTH_RESET in __subn_set_opa_portinfo()1170 || lwe == OPA_LINK_WIDTH_RESET_OLD) in __subn_set_opa_portinfo()1172 else if ((lwe & ~ppd->link_width_supported) == 0) in __subn_set_opa_portinfo()1173 set_link_width_enabled(ppd, lwe); in __subn_set_opa_portinfo()1177 lwe = be16_to_cpu(pi->link_width_downgrade.enabled); in __subn_set_opa_portinfo()1179 if (lwe == OPA_LINK_WIDTH_RESET in __subn_set_opa_portinfo()1180 || lwe == OPA_LINK_WIDTH_RESET_OLD) { in __subn_set_opa_portinfo()[all …]
140 #define user_lw(reg, addr) __BUILD_EVA_INSN(lwe, reg, addr)