Home
last modified time | relevance | path

Searched refs:base_cmds (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/scsi/mpt2sas/
Dmpt2sas_base.c678 if (ioc->base_cmds.status == MPT2_CMD_NOT_USED) in mpt2sas_base_done()
681 ioc->base_cmds.status |= MPT2_CMD_COMPLETE; in mpt2sas_base_done()
683 ioc->base_cmds.status |= MPT2_CMD_REPLY_VALID; in mpt2sas_base_done()
684 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_base_done()
686 ioc->base_cmds.status &= ~MPT2_CMD_PENDING; in mpt2sas_base_done()
687 complete(&ioc->base_cmds.done); in mpt2sas_base_done()
2902 mutex_lock(&ioc->base_cmds.mutex); in mpt2sas_base_sas_iounit_control()
2904 if (ioc->base_cmds.status != MPT2_CMD_NOT_USED) { in mpt2sas_base_sas_iounit_control()
2937 ioc->base_cmds.status = MPT2_CMD_PENDING; in mpt2sas_base_sas_iounit_control()
2939 ioc->base_cmds.smid = smid; in mpt2sas_base_sas_iounit_control()
[all …]
Dmpt2sas_base.h702 struct _internal_cmd base_cmds; member