Searched refs:last_state (Results 1 – 7 of 7) sorted by relevance
41 static int last_state = -1; variable168 if (last_state == -1) { in power_set_interactive()169 last_state = on; in power_set_interactive()171 if (last_state == on) in power_set_interactive()174 last_state = on; in power_set_interactive()
213 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local217 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()218 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()223 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()224 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()
223 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local227 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()228 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()233 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()234 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()