Searched refs:aib (Results 1 – 2 of 2) sorted by relevance
502 struct etr_aib aib; in etr_init() local508 if (etr_steai(&aib, ETR_STEAI_STEPPING_PORT) == 0) in etr_init()620 static int etr_port_valid(struct etr_aib *aib, int port) in etr_port_valid() argument625 if (aib->tsp == 0) in etr_port_valid()628 psc = port ? aib->esw.psc1 : aib->esw.psc0; in etr_port_valid()632 return !aib->esw.y && aib->slsw.v1 && in etr_port_valid()633 aib->slsw.v2 && aib->slsw.v3; in etr_port_valid()651 static void etr_steai_cv(struct etr_aib *aib, unsigned int func) in etr_steai_cv() argument653 BUG_ON(etr_steai(aib, func) != 0); in etr_steai_cv()655 if (aib->esw.psc0 == 1) in etr_steai_cv()[all …]
155 static inline int etr_stetr(struct etr_aib *aib) in etr_stetr() argument164 : "+d" (rc) : "Q" (*aib)); in etr_stetr()169 static inline int etr_steai(struct etr_aib *aib, unsigned int func) in etr_steai() argument179 : "+d" (rc) : "Q" (*aib), "d" (reg0)); in etr_steai()