Lines Matching defs:lstate
643 u16 lstate;
793 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
794 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
803 if (lstate == 0)
807 if (lstate == 0)
808 lstate = QIB_IB_LINKDOWN_ONLY;
809 else if (lstate == 1)
810 lstate = QIB_IB_LINKDOWN_SLEEP;
811 else if (lstate == 2)
812 lstate = QIB_IB_LINKDOWN;
813 else if (lstate == 3)
814 lstate = QIB_IB_LINKDOWN_DISABLE;
820 qib_set_linkstate(ppd, lstate);
825 if (lstate == QIB_IB_LINKDOWN_DISABLE && smp->hop_cnt) {