Home
last modified time | relevance | path

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

/drivers/scsi/mpt2sas/
Dmpt2sas_base.c755 if (ioc->base_cmds.status == MPT2_CMD_NOT_USED) in mpt2sas_base_done()
758 ioc->base_cmds.status |= MPT2_CMD_COMPLETE; in mpt2sas_base_done()
760 ioc->base_cmds.status |= MPT2_CMD_REPLY_VALID; in mpt2sas_base_done()
761 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_base_done()
763 ioc->base_cmds.status &= ~MPT2_CMD_PENDING; in mpt2sas_base_done()
765 complete(&ioc->base_cmds.done); in mpt2sas_base_done()
3178 mutex_lock(&ioc->base_cmds.mutex); in mpt2sas_base_sas_iounit_control()
3180 if (ioc->base_cmds.status != MPT2_CMD_NOT_USED) { in mpt2sas_base_sas_iounit_control()
3213 ioc->base_cmds.status = MPT2_CMD_PENDING; in mpt2sas_base_sas_iounit_control()
3215 ioc->base_cmds.smid = smid; in mpt2sas_base_sas_iounit_control()
[all …]
Dmpt2sas_base.h858 struct _internal_cmd base_cmds; member
Dmpt2sas_scsih.c7969 ioc->base_cmds.status = MPT2_CMD_NOT_USED; in _scsih_scan_finished()
7989 ioc->base_cmds.status = MPT2_CMD_NOT_USED; in _scsih_scan_finished()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c741 if (ioc->base_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_base_done()
744 ioc->base_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_base_done()
746 ioc->base_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_base_done()
747 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_base_done()
749 ioc->base_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_base_done()
751 complete(&ioc->base_cmds.done); in mpt3sas_base_done()
3329 mutex_lock(&ioc->base_cmds.mutex); in mpt3sas_base_sas_iounit_control()
3331 if (ioc->base_cmds.status != MPT3_CMD_NOT_USED) { in mpt3sas_base_sas_iounit_control()
3364 ioc->base_cmds.status = MPT3_CMD_PENDING; in mpt3sas_base_sas_iounit_control()
3366 ioc->base_cmds.smid = smid; in mpt3sas_base_sas_iounit_control()
[all …]
Dmpt3sas_base.h768 struct _internal_cmd base_cmds; member
Dmpt3sas_scsih.c7681 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in _scsih_scan_finished()
7703 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in _scsih_scan_finished()