Lines Matching refs:status

221 	ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD;
226 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_RF_VALID;
257 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_SENSE_VALID;
264 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_PENDING) {
267 ioc->ioctl_cmds.status &= ~MPT_MGMT_STATUS_PENDING;
272 ioc->ioctl_cmds.status &= ~MPT_MGMT_STATUS_PENDING;
295 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD;
300 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_RF_VALID;
304 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_PENDING) {
306 ioc->taskmgmt_cmds.status &= ~MPT_MGMT_STATUS_PENDING;
385 INITIALIZE_MGMT_STATUS(ioc->taskmgmt_cmds.status)
408 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
413 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET)
420 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_RF_VALID)) {
452 CLEAR_MGMT_STATUS(ioc->taskmgmt_cmds.status)
479 CLEAR_MGMT_PENDING_STATUS(ioc->ioctl_cmds.status)
486 CLEAR_MGMT_PENDING_STATUS(ioc->ioctl_cmds.status)
538 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_PENDING) {
539 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_DID_IOCRESET;
747 * -ENOMSG if FW upload returned bad status
777 * -ENOMSG if FW upload returned bad status
928 INITIALIZE_MGMT_STATUS(iocp->ioctl_cmds.status)
934 if (!(iocp->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
937 if (iocp->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
951 if (!(iocp->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID)) {
977 printk(MYIOC_s_WARN_FMT "ioctl_fwdl() returned [bad] status = %04xh\n",
986 CLEAR_MGMT_STATUS(iocp->ioctl_cmds.status);
2165 INITIALIZE_MGMT_STATUS(ioc->ioctl_cmds.status)
2201 if (!(ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
2205 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
2233 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID) {
2255 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_SENSE_VALID) {
2270 /* If the overall status is _GOOD and data in, copy data
2273 if ((ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD) &&
2288 CLEAR_MGMT_STATUS(ioc->ioctl_cmds.status)
2490 INITIALIZE_MGMT_STATUS(ioc->ioctl_cmds.status)
2496 if (!(ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
2499 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
2522 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID)
2526 CLEAR_MGMT_STATUS(ioc->ioctl_cmds.status)