Lines Matching refs:fwdt
3856 struct fwdt *fwdt = ha->fwdt; in qla2x00_alloc_fw_dump() local
3859 for (j = 0; j < 2; j++, fwdt++) { in qla2x00_alloc_fw_dump()
3860 if (!fwdt->template) { in qla2x00_alloc_fw_dump()
3867 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size( in qla2x00_alloc_fw_dump()
3868 vha, fwdt->template); in qla2x00_alloc_fw_dump()
3871 j, fwdt->dump_size); in qla2x00_alloc_fw_dump()
3872 dump_size += fwdt->dump_size; in qla2x00_alloc_fw_dump()
3875 dump_size += ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()
3926 ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()
8447 struct fwdt *fwdt = ha->fwdt; in qla24xx_load_risc_flash() local
8520 for (j = 0; j < templates; j++, fwdt++) { in qla24xx_load_risc_flash()
8521 vfree(fwdt->template); in qla24xx_load_risc_flash()
8522 fwdt->template = NULL; in qla24xx_load_risc_flash()
8523 fwdt->length = 0; in qla24xx_load_risc_flash()
8551 fwdt->template = vmalloc_array(risc_size, sizeof(*dcode)); in qla24xx_load_risc_flash()
8552 if (!fwdt->template) { in qla24xx_load_risc_flash()
8558 dcode = fwdt->template; in qla24xx_load_risc_flash()
8579 fwdt->length = dlen; in qla24xx_load_risc_flash()
8589 vfree(fwdt->template); in qla24xx_load_risc_flash()
8590 fwdt->template = NULL; in qla24xx_load_risc_flash()
8591 fwdt->length = 0; in qla24xx_load_risc_flash()
8712 struct fwdt *fwdt = ha->fwdt; in qla24xx_load_risc_blob() local
8784 for (j = 0; j < templates; j++, fwdt++) { in qla24xx_load_risc_blob()
8785 vfree(fwdt->template); in qla24xx_load_risc_blob()
8786 fwdt->template = NULL; in qla24xx_load_risc_blob()
8787 fwdt->length = 0; in qla24xx_load_risc_blob()
8807 fwdt->template = vmalloc_array(risc_size, sizeof(*dcode)); in qla24xx_load_risc_blob()
8808 if (!fwdt->template) { in qla24xx_load_risc_blob()
8814 dcode = fwdt->template; in qla24xx_load_risc_blob()
8835 fwdt->length = dlen; in qla24xx_load_risc_blob()
8845 vfree(fwdt->template); in qla24xx_load_risc_blob()
8846 fwdt->template = NULL; in qla24xx_load_risc_blob()
8847 fwdt->length = 0; in qla24xx_load_risc_blob()