Home
last modified time | relevance | path

Searched refs:config_cmds (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_config.c259 if (ioc->config_cmds.smid != smid) in mpt3sas_config_done()
265 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
271 ioc->config_cmds.smid = USHRT_MAX; in mpt3sas_config_done()
272 complete(&ioc->config_cmds.done); in mpt3sas_config_done()
307 mutex_lock(&ioc->config_cmds.mutex); in _config_request()
310 mutex_unlock(&ioc->config_cmds.mutex); in _config_request()
380 ioc->config_cmds.smid = smid; in _config_request()
384 init_completion(&ioc->config_cmds.done); in _config_request()
395 if (ioc->config_cmds.smid == smid) in _config_request()
408 memcpy(mpi_reply, ioc->config_cmds.reply, in _config_request()
[all …]
H A Dmpt3sas_base.c8578 ioc->config_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
8579 mutex_init(&ioc->config_cmds.mutex); in mpt3sas_base_attach()
8589 !ioc->tm_cmds.reply || !ioc->config_cmds.reply || in mpt3sas_base_attach()
8657 kfree(ioc->config_cmds.reply); in mpt3sas_base_attach()
8668 ioc->config_cmds.reply = NULL; in mpt3sas_base_attach()
8703 kfree(ioc->config_cmds.reply); in mpt3sas_base_detach()
8748 if (ioc->config_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()
8749 ioc->config_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()
8750 mpt3sas_base_free_smid(ioc, ioc->config_cmds.smid); in _base_clear_outstanding_mpt_commands()
8751 ioc->config_cmds.smid = USHRT_MAX; in _base_clear_outstanding_mpt_commands()
[all …]
H A Dmpt3sas_base.h1424 struct _internal_cmd config_cmds; member