Lines Matching refs:phase
76 enum kcs_ipmi_phases phase; member
133 priv->phase = KCS_PHASE_ERROR; in kcs_bmc_ipmi_force_abort()
145 switch (priv->phase) { in kcs_bmc_ipmi_handle_data()
147 priv->phase = KCS_PHASE_WRITE_DATA; in kcs_bmc_ipmi_handle_data()
165 priv->phase = KCS_PHASE_WRITE_DONE; in kcs_bmc_ipmi_handle_data()
187 priv->phase = KCS_PHASE_IDLE; in kcs_bmc_ipmi_handle_data()
198 priv->phase = KCS_PHASE_ABORT_ERROR2; in kcs_bmc_ipmi_handle_data()
205 priv->phase = KCS_PHASE_IDLE; in kcs_bmc_ipmi_handle_data()
224 priv->phase = KCS_PHASE_WRITE_START; in kcs_bmc_ipmi_handle_cmd()
231 if (priv->phase != KCS_PHASE_WRITE_DATA) { in kcs_bmc_ipmi_handle_cmd()
236 priv->phase = KCS_PHASE_WRITE_END_CMD; in kcs_bmc_ipmi_handle_cmd()
243 priv->phase = KCS_PHASE_ABORT_ERROR1; in kcs_bmc_ipmi_handle_cmd()
367 if (priv->phase == KCS_PHASE_WRITE_DONE) { in kcs_bmc_ipmi_read()
368 priv->phase = KCS_PHASE_WAIT_READ; in kcs_bmc_ipmi_read()
400 if (priv->phase == KCS_PHASE_WAIT_READ) { in kcs_bmc_ipmi_write()
401 priv->phase = KCS_PHASE_READ; in kcs_bmc_ipmi_write()