Lines Matching refs:status
150 * @status: Status of issued command.
158 u8 status, void *mpi_request, int sz)
162 if (!(status & MPT3_CMD_RESET))
639 if (ioc->scsih_cmds.status != MPT3_CMD_NOT_USED) {
643 ioc->scsih_cmds.status = MPT3_CMD_PENDING;
647 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED;
667 if (!(ioc->scsih_cmds.status & MPT3_CMD_COMPLETE)) {
669 ioc->scsih_cmds.status, mpi_request,
673 if (ioc->scsih_cmds.status & MPT3_CMD_REPLY_VALID) {
683 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED;
981 * _base_sas_ioc_info - verbose translation of the ioc status
1448 if (ioc->base_cmds.status == MPT3_CMD_NOT_USED)
1451 ioc->base_cmds.status |= MPT3_CMD_COMPLETE;
1453 ioc->base_cmds.status |= MPT3_CMD_REPLY_VALID;
1456 ioc->base_cmds.status &= ~MPT3_CMD_PENDING;
4675 if (ioc->base_cmds.status & MPT3_CMD_PENDING) {
4697 ioc->base_cmds.status = MPT3_CMD_PENDING;
4712 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) {
4719 if (ioc->base_cmds.status & MPT3_CMD_REPLY_VALID) {
4751 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
5092 * Return: 0 on success; otherwise return failure status.
5144 * Return: 0 on success; otherwise return failure status.
6999 * return ETIME status, so that calling function can issue
7161 if (ioc->base_cmds.status != MPT3_CMD_NOT_USED) {
7179 ioc->base_cmds.status = MPT3_CMD_PENDING;
7194 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) {
7195 mpt3sas_check_cmd_timeout(ioc, ioc->base_cmds.status,
7200 if (ioc->base_cmds.status & MPT3_CMD_REPLY_VALID)
7205 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
7211 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
7225 * communicate with SES devices to control LED status signals.
7242 if (ioc->base_cmds.status != MPT3_CMD_NOT_USED) {
7260 ioc->base_cmds.status = MPT3_CMD_PENDING;
7269 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) {
7271 ioc->base_cmds.status, mpi_request,
7275 if (ioc->base_cmds.status & MPT3_CMD_REPLY_VALID)
7280 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
7286 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
7621 if (ioc->port_enable_cmds.status == MPT3_CMD_NOT_USED)
7631 ioc->port_enable_cmds.status &= ~MPT3_CMD_PENDING;
7632 ioc->port_enable_cmds.status |= MPT3_CMD_COMPLETE;
7633 ioc->port_enable_cmds.status |= MPT3_CMD_REPLY_VALID;
7639 if (ioc->port_enable_cmds.status & MPT3_CMD_COMPLETE_ASYNC) {
7640 ioc->port_enable_cmds.status &= ~MPT3_CMD_COMPLETE_ASYNC;
7671 if (ioc->port_enable_cmds.status & MPT3_CMD_PENDING) {
7682 ioc->port_enable_cmds.status = MPT3_CMD_PENDING;
7691 if (!(ioc->port_enable_cmds.status & MPT3_CMD_COMPLETE)) {
7695 if (ioc->port_enable_cmds.status & MPT3_CMD_RESET)
7712 ioc->port_enable_cmds.status = MPT3_CMD_NOT_USED;
7731 if (ioc->port_enable_cmds.status & MPT3_CMD_PENDING) {
7742 ioc->port_enable_cmds.status = MPT3_CMD_PENDING;
7743 ioc->port_enable_cmds.status |= MPT3_CMD_COMPLETE_ASYNC;
7844 if (ioc->base_cmds.status & MPT3_CMD_PENDING) {
7854 ioc->base_cmds.status = MPT3_CMD_PENDING;
7867 if (!(ioc->base_cmds.status & MPT3_CMD_COMPLETE)) {
7871 if (ioc->base_cmds.status & MPT3_CMD_RESET)
7878 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
8526 ioc->base_cmds.status = MPT3_CMD_NOT_USED;
8530 ioc->port_enable_cmds.status = MPT3_CMD_NOT_USED;
8534 ioc->transport_cmds.status = MPT3_CMD_NOT_USED;
8539 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED;
8544 ioc->tm_cmds.status = MPT3_CMD_NOT_USED;
8549 ioc->config_cmds.status = MPT3_CMD_NOT_USED;
8555 ioc->ctl_cmds.status = MPT3_CMD_NOT_USED;
8697 if (ioc->transport_cmds.status & MPT3_CMD_PENDING) {
8698 ioc->transport_cmds.status |= MPT3_CMD_RESET;
8702 if (ioc->base_cmds.status & MPT3_CMD_PENDING) {
8703 ioc->base_cmds.status |= MPT3_CMD_RESET;
8707 if (ioc->port_enable_cmds.status & MPT3_CMD_PENDING) {
8709 ioc->port_enable_cmds.status |= MPT3_CMD_RESET;
8719 if (ioc->config_cmds.status & MPT3_CMD_PENDING) {
8720 ioc->config_cmds.status |= MPT3_CMD_RESET;