Lines Matching refs:cached_fw

1842 	ioc->cached_fw = NULL;  in mpt_attach()
2481 if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) { in mpt_do_ioc_recovery()
2491 ioc->name, ioc->alt_ioc->name, ioc->alt_ioc->cached_fw)); in mpt_do_ioc_recovery()
2492 ioc->cached_fw = NULL; in mpt_do_ioc_recovery()
2691 if (ioc->cached_fw != NULL) { in mpt_adapter_disable()
2695 ioc->cached_fw, CAN_SLEEP)) < 0) { in mpt_adapter_disable()
3501 if (ioc->cached_fw) { in mpt_alloc_fw_memory()
3505 else if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) { in mpt_alloc_fw_memory()
3506 ioc->cached_fw = ioc->alt_ioc->cached_fw; /* use alt_ioc's memory */ in mpt_alloc_fw_memory()
3511 ioc->cached_fw = dma_alloc_coherent(&ioc->pcidev->dev, size, in mpt_alloc_fw_memory()
3513 if (!ioc->cached_fw) { in mpt_alloc_fw_memory()
3519 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, size, size)); in mpt_alloc_fw_memory()
3539 if (!ioc->cached_fw) in mpt_free_fw_memory()
3544 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, sz, sz)); in mpt_free_fw_memory()
3545 dma_free_coherent(&ioc->pcidev->dev, sz, ioc->cached_fw, in mpt_free_fw_memory()
3548 ioc->cached_fw = NULL; in mpt_free_fw_memory()
3585 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, sz, sz)); in mpt_do_upload()
3962 MpiFwHeader_t *cached_fw; /* Pointer to FW */ in mpt_diag_reset() local
4101 if (ioc->cached_fw) in mpt_diag_reset()
4102 cached_fw = (MpiFwHeader_t *)ioc->cached_fw; in mpt_diag_reset()
4103 else if (ioc->alt_ioc && ioc->alt_ioc->cached_fw) in mpt_diag_reset()
4104 cached_fw = (MpiFwHeader_t *)ioc->alt_ioc->cached_fw; in mpt_diag_reset()
4106 cached_fw = NULL; in mpt_diag_reset()
4107 if (cached_fw) { in mpt_diag_reset()
4127 if ((count = mpt_downloadboot(ioc, cached_fw, sleepFlag)) < 0) { in mpt_diag_reset()