Lines Matching refs:fwdt
3834 struct fwdt *fwdt = ha->fwdt; in qla2x00_alloc_fw_dump() local
3837 for (j = 0; j < 2; j++, fwdt++) { in qla2x00_alloc_fw_dump()
3838 if (!fwdt->template) { in qla2x00_alloc_fw_dump()
3845 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size( in qla2x00_alloc_fw_dump()
3846 vha, fwdt->template); in qla2x00_alloc_fw_dump()
3849 j, fwdt->dump_size); in qla2x00_alloc_fw_dump()
3850 dump_size += fwdt->dump_size; in qla2x00_alloc_fw_dump()
3853 dump_size += ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()
3904 ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()
8489 struct fwdt *fwdt = ha->fwdt; in qla24xx_load_risc_flash() local
8552 for (j = 0; j < templates; j++, fwdt++) { in qla24xx_load_risc_flash()
8553 vfree(fwdt->template); in qla24xx_load_risc_flash()
8554 fwdt->template = NULL; in qla24xx_load_risc_flash()
8555 fwdt->length = 0; in qla24xx_load_risc_flash()
8576 fwdt->template = vmalloc(risc_size * sizeof(*dcode)); in qla24xx_load_risc_flash()
8577 if (!fwdt->template) { in qla24xx_load_risc_flash()
8583 dcode = fwdt->template; in qla24xx_load_risc_flash()
8603 fwdt->length = dlen; in qla24xx_load_risc_flash()
8613 vfree(fwdt->template); in qla24xx_load_risc_flash()
8614 fwdt->template = NULL; in qla24xx_load_risc_flash()
8615 fwdt->length = 0; in qla24xx_load_risc_flash()
8736 struct fwdt *fwdt = ha->fwdt; in qla24xx_load_risc_blob() local
8808 for (j = 0; j < templates; j++, fwdt++) { in qla24xx_load_risc_blob()
8809 vfree(fwdt->template); in qla24xx_load_risc_blob()
8810 fwdt->template = NULL; in qla24xx_load_risc_blob()
8811 fwdt->length = 0; in qla24xx_load_risc_blob()
8831 fwdt->template = vmalloc(risc_size * sizeof(*dcode)); in qla24xx_load_risc_blob()
8832 if (!fwdt->template) { in qla24xx_load_risc_blob()
8838 dcode = fwdt->template; in qla24xx_load_risc_blob()
8859 fwdt->length = dlen; in qla24xx_load_risc_blob()
8869 vfree(fwdt->template); in qla24xx_load_risc_blob()
8870 fwdt->template = NULL; in qla24xx_load_risc_blob()
8871 fwdt->length = 0; in qla24xx_load_risc_blob()