Lines Matching refs:internal_cmds
2666 if (ioc->internal_cmds.status & MPT_MGMT_STATUS_PENDING) {
2667 ioc->internal_cmds.status |=
2669 complete(&ioc->internal_cmds.done);
2732 ioc->internal_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD;
2733 ioc->internal_cmds.completion_code = MPT_SCANDV_GOOD;
2739 ioc->internal_cmds.completion_code =
2741 ioc->internal_cmds.status |= MPT_MGMT_STATUS_RF_VALID;
2742 memcpy(ioc->internal_cmds.reply, reply,
2753 memcpy(ioc->internal_cmds.sense, sense_data, sz);
2756 if (!(ioc->internal_cmds.status & MPT_MGMT_STATUS_PENDING))
2758 ioc->internal_cmds.status &= ~MPT_MGMT_STATUS_PENDING;
2759 complete(&ioc->internal_cmds.done);
2899 mutex_lock(&ioc->internal_cmds.mutex);
3063 INITIALIZE_MGMT_STATUS(ioc->internal_cmds.status)
3065 timeleft = wait_for_completion_timeout(&ioc->internal_cmds.done,
3067 if (!(ioc->internal_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
3072 if (ioc->internal_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
3088 ret = ioc->internal_cmds.completion_code;
3093 CLEAR_MGMT_STATUS(ioc->internal_cmds.status)
3094 mutex_unlock(&ioc->internal_cmds.mutex);