Home
last modified time | relevance | path

Searched refs:taskmgmt_cmds (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/message/fusion/
Dmptctl.c295 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD; in mptctl_taskmgmt_reply()
300 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_RF_VALID; in mptctl_taskmgmt_reply()
301 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptctl_taskmgmt_reply()
304 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_PENDING) { in mptctl_taskmgmt_reply()
306 ioc->taskmgmt_cmds.status &= ~MPT_MGMT_STATUS_PENDING; in mptctl_taskmgmt_reply()
307 complete(&ioc->taskmgmt_cmds.done); in mptctl_taskmgmt_reply()
327 mutex_lock(&ioc->taskmgmt_cmds.mutex); in mptctl_do_taskmgmt()
329 mutex_unlock(&ioc->taskmgmt_cmds.mutex); in mptctl_do_taskmgmt()
384 INITIALIZE_MGMT_STATUS(ioc->taskmgmt_cmds.status) in mptctl_do_taskmgmt()
404 ii = wait_for_completion_timeout(&ioc->taskmgmt_cmds.done, timeout*HZ); in mptctl_do_taskmgmt()
[all …]
Dmptscsih.c1554 mutex_lock(&ioc->taskmgmt_cmds.mutex); in mptscsih_IssueTaskMgmt()
1600 INITIALIZE_MGMT_STATUS(ioc->taskmgmt_cmds.status) in mptscsih_IssueTaskMgmt()
1618 wait_for_completion_timeout(&ioc->taskmgmt_cmds.done, in mptscsih_IssueTaskMgmt()
1620 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { in mptscsih_IssueTaskMgmt()
1625 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) in mptscsih_IssueTaskMgmt()
1632 (SCSITaskMgmtReply_t *) ioc->taskmgmt_cmds.reply); in mptscsih_IssueTaskMgmt()
1640 CLEAR_MGMT_STATUS(ioc->taskmgmt_cmds.status) in mptscsih_IssueTaskMgmt()
1652 mutex_unlock(&ioc->taskmgmt_cmds.mutex); in mptscsih_IssueTaskMgmt()
2010 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_RF_VALID)) { in mptscsih_taskmgmt_reply()
2111 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD; in mptscsih_taskmgmt_complete()
[all …]
Dmptsas.c1255 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD; in mptsas_taskmgmt_complete()
1256 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_RF_VALID; in mptsas_taskmgmt_complete()
1257 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptsas_taskmgmt_complete()
1259 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_PENDING) { in mptsas_taskmgmt_complete()
1260 ioc->taskmgmt_cmds.status &= ~MPT_MGMT_STATUS_PENDING; in mptsas_taskmgmt_complete()
1261 complete(&ioc->taskmgmt_cmds.done); in mptsas_taskmgmt_complete()
4823 INITIALIZE_MGMT_STATUS(ioc->taskmgmt_cmds.status) in mptsas_issue_tm()
4829 timeleft = wait_for_completion_timeout(&ioc->taskmgmt_cmds.done, in mptsas_issue_tm()
4831 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { in mptsas_issue_tm()
4836 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) in mptsas_issue_tm()
[all …]
Dmptbase.h749 MPT_MGMT taskmgmt_cmds; member
Dmptbase.c1827 mutex_init(&ioc->taskmgmt_cmds.mutex); in mpt_attach()
1828 init_completion(&ioc->taskmgmt_cmds.done); in mpt_attach()
6580 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_PENDING) { in mpt_ioc_reset()
6581 ioc->taskmgmt_cmds.status |= in mpt_ioc_reset()
6583 complete(&ioc->taskmgmt_cmds.done); in mpt_ioc_reset()