Lines Matching refs:previous_state
23 double previous_state = -1; in CSWload() local
34 previous_state = ckt->CKTstate1[here->CSWswitchstate]; in CSWload()
60 current_state = previous_state; in CSWload()
71 current_state = previous_state; in CSWload()
82 if (previous_state == HYST_OFF || previous_state == HYST_ON) in CSWload()
83 current_state = previous_state; in CSWload()
84 else if (previous_state == REALLY_ON) in CSWload()
86 else if (previous_state == REALLY_OFF) in CSWload()
106 current_state = previous_state; in CSWload()
117 if (previous_state == HYST_OFF || previous_state == HYST_ON) in CSWload()
118 current_state = previous_state; in CSWload()
119 else if (previous_state == REALLY_ON) in CSWload()
121 else if (previous_state == REALLY_OFF) in CSWload()
130 ckt->CKTstate1[here->CSWswitchstate] = previous_state; in CSWload()