Searched refs:scsih_cmds (Results 1 – 3 of 3) sorted by relevance
2967 } else if (smid_task == ioc->scsih_cmds.smid) { in scsih_tm_cmd_map_status()2968 if ((ioc->scsih_cmds.status & MPT3_CMD_COMPLETE) || in scsih_tm_cmd_map_status()2969 (ioc->scsih_cmds.status & MPT3_CMD_NOT_USED)) in scsih_tm_cmd_map_status()7093 if (ioc->scsih_cmds.status == MPT3_CMD_NOT_USED) in _scsih_done()7095 if (ioc->scsih_cmds.smid != smid) in _scsih_done()7097 ioc->scsih_cmds.status |= MPT3_CMD_COMPLETE; in _scsih_done()7099 memcpy(ioc->scsih_cmds.reply, mpi_reply, in _scsih_done()7101 ioc->scsih_cmds.status |= MPT3_CMD_REPLY_VALID; in _scsih_done()7103 ioc->scsih_cmds.status &= ~MPT3_CMD_PENDING; in _scsih_done()7104 complete(&ioc->scsih_cmds.done); in _scsih_done()[all …]
622 mutex_lock(&ioc->scsih_cmds.mutex); in _base_sync_drv_fw_timestamp()623 if (ioc->scsih_cmds.status != MPT3_CMD_NOT_USED) { in _base_sync_drv_fw_timestamp()627 ioc->scsih_cmds.status = MPT3_CMD_PENDING; in _base_sync_drv_fw_timestamp()631 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED; in _base_sync_drv_fw_timestamp()635 ioc->scsih_cmds.smid = smid; in _base_sync_drv_fw_timestamp()644 init_completion(&ioc->scsih_cmds.done); in _base_sync_drv_fw_timestamp()649 wait_for_completion_timeout(&ioc->scsih_cmds.done, in _base_sync_drv_fw_timestamp()651 if (!(ioc->scsih_cmds.status & MPT3_CMD_COMPLETE)) { in _base_sync_drv_fw_timestamp()653 ioc->scsih_cmds.status, mpi_request, in _base_sync_drv_fw_timestamp()657 if (ioc->scsih_cmds.status & MPT3_CMD_REPLY_VALID) { in _base_sync_drv_fw_timestamp()[all …]
1421 struct _internal_cmd scsih_cmds; member