Lines Matching refs:status
199 * @status: adapter status
211 u32 *status, u32 * r1, u32 * r2, u32 * r3, u32 * r4)
297 * Pull the synch status from Mailbox 0.
299 if (status)
300 *status = readl(&dev->IndexRegs->Mailbox[0]);
435 u32 status = src_readl(dev, MUnit.OMR);
440 if (unlikely(status & KERNEL_PANIC))
446 if (unlikely(status & SELF_TEST_FAILED))
452 if (unlikely(status & MONITOR_PANIC))
458 if (unlikely(!(status & KERNEL_UP_AND_RUNNING)))
469 return (status >> 16) & 0xFF;
719 unsigned long status, start;
725 status = src_readl(dev, MUnit.OMR);
727 if (status == 0xffffffff)
728 status = 0;
730 if (status & KERNEL_BOOTING) {
740 is_up = status & KERNEL_UP_AND_RUNNING;
886 unsigned long status;
913 status = src_readl(dev, MUnit.OMR);
914 if (status & KERNEL_PANIC) {
923 status = src_readl(dev, MUnit.OMR);
924 if (status & SELF_TEST_FAILED) {
932 if (status & MONITOR_PANIC) {
941 while (!((status = src_readl(dev, MUnit.OMR)) &
944 (status & (KERNEL_PANIC|SELF_TEST_FAILED|MONITOR_PANIC))) ||
946 printk(KERN_ERR "%s%d: adapter kernel failed to start, init status = %lx.\n",
947 dev->name, instance, status);
951 ((status & (KERNEL_PANIC|SELF_TEST_FAILED|MONITOR_PANIC)) ||
1027 static int aac_src_wait_sync(struct aac_dev *dev, int *status)
1065 * Pull the synch status from Mailbox 0.
1067 if (status && !rc) {
1068 status[0] = readl(&dev->IndexRegs->Mailbox[0]);
1069 status[1] = readl(&dev->IndexRegs->Mailbox[1]);
1070 status[2] = readl(&dev->IndexRegs->Mailbox[2]);
1071 status[3] = readl(&dev->IndexRegs->Mailbox[3]);
1072 status[4] = readl(&dev->IndexRegs->Mailbox[4]);
1093 u32 status[5];
1119 0, 0, 0, status+0, status+1, status+2, status+3, status+4);
1124 if (aac_src_wait_sync(dev, status)) {
1130 if (!(status[1] & le32_to_cpu(AAC_OPT_EXTENDED) &&
1131 (status[4] & le32_to_cpu(AAC_EXTOPT_SOFT_RESET)))) {
1136 if ((status[1] & le32_to_cpu(AAC_OPT_EXTENDED)) &&
1137 (status[4] & le32_to_cpu(AAC_EXTOPT_SA_FIRMWARE)))
1142 status+0, status+1, status+2, status+3, status+4);
1148 if (aac_src_wait_sync(dev, status)) {
1153 if (status[1])
1155 __func__, status[1]);
1164 dev_err(&dev->pdev->dev, "%s: %s status = %d", __func__,
1178 unsigned long status;
1208 status = src_readl(dev, MUnit.OMR);
1209 if (status & FLASH_UPD_PENDING) {
1212 status = src_readl(dev, MUnit.OMR);
1218 } while (!(status & FLASH_UPD_SUCCESS) &&
1219 !(status & FLASH_UPD_FAILED));
1229 status = src_readl(dev, MUnit.OMR);
1230 if (status & KERNEL_PANIC) {
1239 status = src_readl(dev, MUnit.OMR);
1240 if (status & SELF_TEST_FAILED) {
1247 if (status & MONITOR_PANIC) {
1257 status = src_readl(dev, MUnit.OMR);
1258 if (status == INVALID_OMR)
1259 status = 0;
1262 (status & (KERNEL_PANIC|SELF_TEST_FAILED|MONITOR_PANIC))) ||
1264 printk(KERN_ERR "%s%d: adapter kernel failed to start, init status = %lx.\n",
1265 dev->name, instance, status);
1269 ((status & (KERNEL_PANIC|SELF_TEST_FAILED|MONITOR_PANIC)) ||
1280 } while (!(status & KERNEL_UP_AND_RUNNING));
1424 * if Legacy int status indicates cmd is not complete