Lines Matching refs:esw
639 psc = port ? aib->esw.psc1 : aib->esw.psc0; in etr_port_valid()
643 return !aib->esw.y && aib->slsw.v1 && in etr_port_valid()
666 if (aib->esw.psc0 == 1) in etr_steai_cv()
667 aib->esw.psc0 = 2; in etr_steai_cv()
668 else if (aib->esw.psc0 == 0 && aib->esw.p == 0) in etr_steai_cv()
669 aib->esw.psc0 = 1; in etr_steai_cv()
670 if (aib->esw.psc1 == 1) in etr_steai_cv()
671 aib->esw.psc1 = 2; in etr_steai_cv()
672 else if (aib->esw.psc1 == 0 && aib->esw.p == 1) in etr_steai_cv()
673 aib->esw.psc1 = 1; in etr_steai_cv()
685 if (a1->esw.eacr.e0 != a2->esw.eacr.e0 || in etr_aib_follows()
686 a1->esw.eacr.e1 != a2->esw.eacr.e1) in etr_aib_follows()
690 state_a1 = p ? a1->esw.psc1 : a1->esw.psc0; in etr_aib_follows()
691 state_a2 = p ? a2->esw.psc1 : a2->esw.psc0; in etr_aib_follows()
917 if (aib->esw.q == 0) { in etr_handle_update()
1025 etr_port0.esw = etr_port1.esw = aib.esw; /* Copy status word. */ in etr_work_fn()
1048 if (eacr.p0 && aib.esw.psc0 == etr_lpsc_pps_mode) { in etr_work_fn()
1053 if (!eacr.es || !eacr.p1 || aib.esw.psc1 != etr_lpsc_pps_mode) in etr_work_fn()
1060 } else if (eacr.p1 && aib.esw.psc1 == etr_lpsc_pps_mode) { in etr_work_fn()
1068 } else if (eacr.p0 && aib.esw.psc0 == etr_lpsc_operational_step) { in etr_work_fn()
1074 aib.esw.psc1 != etr_lpsc_operational_alt) in etr_work_fn()
1081 } else if (eacr.p1 && aib.esw.psc1 == etr_lpsc_operational_step) { in etr_work_fn()
1157 return sprintf(buf, "%i\n", etr_port0.esw.p); in etr_stepping_port_show()
1257 etr_port0.esw.psc0 : etr_port0.esw.psc1); in etr_mode_code_show()