Lines Matching refs:cached_fw

1798 	ioc->cached_fw = NULL;  in mpt_attach()
2409 if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) { in mpt_do_ioc_recovery()
2419 ioc->name, ioc->alt_ioc->name, ioc->alt_ioc->cached_fw)); in mpt_do_ioc_recovery()
2420 ioc->cached_fw = NULL; in mpt_do_ioc_recovery()
2622 if (ioc->cached_fw != NULL) { in mpt_adapter_disable()
2626 ioc->cached_fw, CAN_SLEEP)) < 0) { in mpt_adapter_disable()
3445 if (ioc->cached_fw) { in mpt_alloc_fw_memory()
3449 else if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) { in mpt_alloc_fw_memory()
3450 ioc->cached_fw = ioc->alt_ioc->cached_fw; /* use alt_ioc's memory */ in mpt_alloc_fw_memory()
3455 ioc->cached_fw = pci_alloc_consistent(ioc->pcidev, size, &ioc->cached_fw_dma); in mpt_alloc_fw_memory()
3456 if (!ioc->cached_fw) { in mpt_alloc_fw_memory()
3462 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, size, size)); in mpt_alloc_fw_memory()
3482 if (!ioc->cached_fw) in mpt_free_fw_memory()
3487 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, sz, sz)); in mpt_free_fw_memory()
3488 pci_free_consistent(ioc->pcidev, sz, ioc->cached_fw, ioc->cached_fw_dma); in mpt_free_fw_memory()
3490 ioc->cached_fw = NULL; in mpt_free_fw_memory()
3527 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, sz, sz)); in mpt_do_upload()
3904 MpiFwHeader_t *cached_fw; /* Pointer to FW */ in mpt_diag_reset() local
4043 if (ioc->cached_fw) in mpt_diag_reset()
4044 cached_fw = (MpiFwHeader_t *)ioc->cached_fw; in mpt_diag_reset()
4045 else if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) in mpt_diag_reset()
4046 cached_fw = (MpiFwHeader_t *)ioc->alt_ioc->cached_fw; in mpt_diag_reset()
4048 cached_fw = NULL; in mpt_diag_reset()
4049 if (cached_fw) { in mpt_diag_reset()
4069 if ((count = mpt_downloadboot(ioc, cached_fw, sleepFlag)) < 0) { in mpt_diag_reset()