Lines Matching refs:status
148 u8 status, void *mpi_request, int sz) in mpt3sas_base_check_cmd_timeout() argument
152 if (!(status & MPT3_CMD_RESET)) in mpt3sas_base_check_cmd_timeout()
1338 if (ioc->base_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_base_done()
1341 ioc->base_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_base_done()
1343 ioc->base_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_base_done()
1346 ioc->base_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_base_done()
4375 if (ioc->base_cmds.status & MPT3_CMD_PENDING) { in _base_display_fwpkg_version()
4397 ioc->base_cmds.status = MPT3_CMD_PENDING; in _base_display_fwpkg_version()
4412 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) { in _base_display_fwpkg_version()
4419 if (ioc->base_cmds.status & MPT3_CMD_REPLY_VALID) { in _base_display_fwpkg_version()
4451 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in _base_display_fwpkg_version()
6105 if (ioc->base_cmds.status != MPT3_CMD_NOT_USED) { in mpt3sas_base_sas_iounit_control()
6123 ioc->base_cmds.status = MPT3_CMD_PENDING; in mpt3sas_base_sas_iounit_control()
6138 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) { in mpt3sas_base_sas_iounit_control()
6139 mpt3sas_check_cmd_timeout(ioc, ioc->base_cmds.status, in mpt3sas_base_sas_iounit_control()
6144 if (ioc->base_cmds.status & MPT3_CMD_REPLY_VALID) in mpt3sas_base_sas_iounit_control()
6149 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_sas_iounit_control()
6155 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_sas_iounit_control()
6186 if (ioc->base_cmds.status != MPT3_CMD_NOT_USED) { in mpt3sas_base_scsi_enclosure_processor()
6204 ioc->base_cmds.status = MPT3_CMD_PENDING; in mpt3sas_base_scsi_enclosure_processor()
6213 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) { in mpt3sas_base_scsi_enclosure_processor()
6215 ioc->base_cmds.status, mpi_request, in mpt3sas_base_scsi_enclosure_processor()
6219 if (ioc->base_cmds.status & MPT3_CMD_REPLY_VALID) in mpt3sas_base_scsi_enclosure_processor()
6224 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_scsi_enclosure_processor()
6230 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_scsi_enclosure_processor()
6561 if (ioc->port_enable_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_port_enable_done()
6571 ioc->port_enable_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_port_enable_done()
6572 ioc->port_enable_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_port_enable_done()
6573 ioc->port_enable_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_port_enable_done()
6610 if (ioc->port_enable_cmds.status & MPT3_CMD_PENDING) { in _base_send_port_enable()
6621 ioc->port_enable_cmds.status = MPT3_CMD_PENDING; in _base_send_port_enable()
6630 if (!(ioc->port_enable_cmds.status & MPT3_CMD_COMPLETE)) { in _base_send_port_enable()
6634 if (ioc->port_enable_cmds.status & MPT3_CMD_RESET) in _base_send_port_enable()
6651 ioc->port_enable_cmds.status = MPT3_CMD_NOT_USED; in _base_send_port_enable()
6670 if (ioc->port_enable_cmds.status & MPT3_CMD_PENDING) { in mpt3sas_port_enable()
6681 ioc->port_enable_cmds.status = MPT3_CMD_PENDING; in mpt3sas_port_enable()
6782 if (ioc->base_cmds.status & MPT3_CMD_PENDING) { in _base_event_notification()
6792 ioc->base_cmds.status = MPT3_CMD_PENDING; in _base_event_notification()
6805 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) { in _base_event_notification()
6809 if (ioc->base_cmds.status & MPT3_CMD_RESET) in _base_event_notification()
6815 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in _base_event_notification()
7449 ioc->base_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7453 ioc->port_enable_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7457 ioc->transport_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7462 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7467 ioc->tm_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7472 ioc->config_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7478 ioc->ctl_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7617 if (ioc->transport_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()
7618 ioc->transport_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()
7622 if (ioc->base_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()
7623 ioc->base_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()
7627 if (ioc->port_enable_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()
7629 ioc->port_enable_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()
7635 ioc->port_enable_cmds.status = in _base_clear_outstanding_mpt_commands()
7641 if (ioc->config_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()
7642 ioc->config_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()