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;
384 INITIALIZE_MGMT_STATUS(ioc->taskmgmt_cmds.status)
406 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
411 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET)
418 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_RF_VALID)) {
450 CLEAR_MGMT_STATUS(ioc->taskmgmt_cmds.status)
477 CLEAR_MGMT_PENDING_STATUS(ioc->ioctl_cmds.status)
484 CLEAR_MGMT_PENDING_STATUS(ioc->ioctl_cmds.status)
536 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_PENDING) {
537 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_DID_IOCRESET;
743 * -ENOMSG if FW upload returned bad status
773 * -ENOMSG if FW upload returned bad status
924 INITIALIZE_MGMT_STATUS(iocp->ioctl_cmds.status)
930 if (!(iocp->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
933 if (iocp->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
947 if (!(iocp->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID)) {
973 printk(MYIOC_s_WARN_FMT "ioctl_fwdl() returned [bad] status = %04xh\n",
982 CLEAR_MGMT_STATUS(iocp->ioctl_cmds.status);
2163 INITIALIZE_MGMT_STATUS(ioc->ioctl_cmds.status)
2199 if (!(ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
2203 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
2231 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID) {
2253 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_SENSE_VALID) {
2268 /* If the overall status is _GOOD and data in, copy data
2271 if ((ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD) &&
2286 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)) {
2498 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) {
2521 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID)
2525 CLEAR_MGMT_STATUS(ioc->ioctl_cmds.status)