Lines Matching refs:state
26 enum mod_psu_state state; member
87 if (ctx->op.state != MOD_PSU_STATE_IDLE) { in mod_psu_get_enabled()
104 ctx->op.state = MOD_PSU_STATE_BUSY; in mod_psu_get_enabled()
130 if (ctx->op.state != MOD_PSU_STATE_IDLE) { in mod_psu_set_enabled()
147 ctx->op.state = MOD_PSU_STATE_BUSY; in mod_psu_set_enabled()
173 if (ctx->op.state != MOD_PSU_STATE_IDLE) { in mod_psu_get_voltage()
190 ctx->op.state = MOD_PSU_STATE_BUSY; in mod_psu_get_voltage()
216 if (ctx->op.state != MOD_PSU_STATE_IDLE) { in mod_psu_set_voltage()
233 ctx->op.state = MOD_PSU_STATE_BUSY; in mod_psu_set_voltage()
281 ctx->op.state = MOD_PSU_STATE_IDLE; in mod_psu_respond()
315 .state = MOD_PSU_STATE_IDLE, in mod_psu_element_init()
431 ctx->op.state = MOD_PSU_STATE_IDLE; in mod_psu_process_event()