/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 231 struct qlcnic_dump_template_hdr *t_hdr = adapter->ahw->fw_dump.tmpl_hdr; in qlcnic_dump_ctrl() 859 ahw->fw_dump.tmpl_hdr = vzalloc(temp_size); in qlcnic_fw_cmd_get_minidump_temp() 860 if (!ahw->fw_dump.tmpl_hdr) in qlcnic_fw_cmd_get_minidump_temp() 863 tmp_buf = (u32 *)ahw->fw_dump.tmpl_hdr; in qlcnic_fw_cmd_get_minidump_temp() 878 vfree(ahw->fw_dump.tmpl_hdr); in qlcnic_fw_cmd_get_minidump_temp() 879 ahw->fw_dump.tmpl_hdr = NULL; in qlcnic_fw_cmd_get_minidump_temp() 889 vfree(ahw->fw_dump.tmpl_hdr); in qlcnic_fw_cmd_get_minidump_temp() 890 ahw->fw_dump.tmpl_hdr = NULL; in qlcnic_fw_cmd_get_minidump_temp() 894 tmpl_hdr = ahw->fw_dump.tmpl_hdr; in qlcnic_fw_cmd_get_minidump_temp() 896 ahw->fw_dump.enable = 1; in qlcnic_fw_cmd_get_minidump_temp() [all …]
|
D | qlcnic_ethtool.c | 1430 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local 1432 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_flag() 1437 if (fw_dump->clr) in qlcnic_get_dump_flag() 1438 dump->len = fw_dump->tmpl_hdr->size + fw_dump->size; in qlcnic_get_dump_flag() 1442 if (!fw_dump->enable) in qlcnic_get_dump_flag() 1445 dump->flag = fw_dump->tmpl_hdr->drv_cap_mask; in qlcnic_get_dump_flag() 1459 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_data() local 1461 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_data() 1466 if (!fw_dump->clr) { in qlcnic_get_dump_data() 1471 copy_sz = fw_dump->tmpl_hdr->size; in qlcnic_get_dump_data() [all …]
|
D | qlcnic_main.c | 908 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; in qlcnic_check_options() local 924 if (fw_dump->tmpl_hdr == NULL || in qlcnic_check_options() 926 if (fw_dump->tmpl_hdr) in qlcnic_check_options() 927 vfree(fw_dump->tmpl_hdr); in qlcnic_check_options() 1701 if (adapter->ahw->fw_dump.tmpl_hdr) { in qlcnic_free_adapter_resources() 1702 vfree(adapter->ahw->fw_dump.tmpl_hdr); in qlcnic_free_adapter_resources() 1703 adapter->ahw->fw_dump.tmpl_hdr = NULL; in qlcnic_free_adapter_resources() 1707 adapter->ahw->fw_dump.tmpl_hdr = NULL; in qlcnic_free_adapter_resources() 2872 if (adapter->ahw->fw_dump.enable && in qlcnic_fwinit_work()
|
D | qlcnic.h | 455 struct qlcnic_fw_dump fw_dump; member
|
/drivers/scsi/qla2xxx/ |
D | qla_dbg.c | 59 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump() argument 61 fw_dump->fw_major_version = htonl(ha->fw_major_version); in qla2xxx_prep_dump() 62 fw_dump->fw_minor_version = htonl(ha->fw_minor_version); in qla2xxx_prep_dump() 63 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version); in qla2xxx_prep_dump() 64 fw_dump->fw_attributes = htonl(ha->fw_attributes); in qla2xxx_prep_dump() 66 fw_dump->vendor = htonl(ha->pdev->vendor); in qla2xxx_prep_dump() 67 fw_dump->device = htonl(ha->pdev->device); in qla2xxx_prep_dump() 68 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor); in qla2xxx_prep_dump() 69 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device); in qla2xxx_prep_dump() 364 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft() [all …]
|
D | qla_init.c | 1364 if (ha->fw_dump) { in qla2x00_alloc_fw_dump() 1470 ha->fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump() 1471 if (!ha->fw_dump) { in qla2x00_alloc_fw_dump() 1495 ha->fw_dump->signature[0] = 'Q'; in qla2x00_alloc_fw_dump() 1496 ha->fw_dump->signature[1] = 'L'; in qla2x00_alloc_fw_dump() 1497 ha->fw_dump->signature[2] = 'G'; in qla2x00_alloc_fw_dump() 1498 ha->fw_dump->signature[3] = 'C'; in qla2x00_alloc_fw_dump() 1499 ha->fw_dump->version = __constant_htonl(1); in qla2x00_alloc_fw_dump() 1501 ha->fw_dump->fixed_size = htonl(fixed_size); in qla2x00_alloc_fw_dump() 1502 ha->fw_dump->mem_size = htonl(mem_size); in qla2x00_alloc_fw_dump() [all …]
|
D | qla_os.c | 1868 .fw_dump = qla2100_fw_dump, 1906 .fw_dump = qla2300_fw_dump, 1944 .fw_dump = qla24xx_fw_dump, 1982 .fw_dump = qla25xx_fw_dump, 2020 .fw_dump = qla81xx_fw_dump, 2058 .fw_dump = qla24xx_fw_dump, 2096 .fw_dump = qla83xx_fw_dump, 2134 .fw_dump = NULL, 3548 if (ha->fw_dump) { in qla2x00_free_fw_dump() 3551 ntohl(ha->fw_dump->eft_size), ha->eft, ha->eft_dma); in qla2x00_free_fw_dump() [all …]
|
D | qla_isr.c | 71 ha->isp_ops->fw_dump(vha, 1); in qla2100_intr_handler() 173 ha->isp_ops->fw_dump(vha, 1); in qla2300_intr_handler() 609 ha->isp_ops->fw_dump(vha, 1); in qla2x00_async_event() 2563 ha->isp_ops->fw_dump(vha, 1); in qla24xx_intr_handler() 2711 ha->isp_ops->fw_dump(vha, 1); in qla24xx_msix_default()
|
D | qla_bsg.c | 665 ha->isp_ops->fw_dump(vha, 0); in qla81xx_set_loopback_mode() 865 ha->isp_ops->fw_dump(vha, 0); in qla2x00_process_loopback()
|
D | qla_def.h | 2547 void (*fw_dump) (struct scsi_qla_host *, int); member 3130 struct qla2xxx_fw_dump *fw_dump; member
|
D | qla_mbx.c | 280 ha->isp_ops->fw_dump(vha, 0); in qla2x00_mailbox_command() 4982 ha->isp_ops->fw_dump(vha, 0); in qla83xx_restart_nic_firmware() 5027 ha->isp_ops->fw_dump(vha, 0); in qla83xx_access_control()
|
D | qla_attr.c | 46 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
|
D | qla_nx.c | 4119 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
|
/drivers/scsi/qla4xxx/ |
D | ql4_init.c | 298 if (ha->fw_dump) { in qla4xxx_alloc_fw_dump() 355 ha->fw_dump = vmalloc(ha->fw_dump_size); in qla4xxx_alloc_fw_dump() 356 if (!ha->fw_dump) in qla4xxx_alloc_fw_dump() 365 memcpy(ha->fw_dump, md_tmp, ha->fw_dump_tmplt_size); in qla4xxx_alloc_fw_dump() 366 ha->fw_dump_tmplt_hdr = ha->fw_dump; in qla4xxx_alloc_fw_dump()
|
D | ql4_attr.c | 26 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
|
D | ql4_def.h | 723 void *fw_dump; member
|
D | ql4_nx.c | 2369 if (!ha->fw_dump) { in qla4_8xxx_collect_md_data() 2377 data_ptr = (uint32_t *)((uint8_t *)ha->fw_dump + in qla4_8xxx_collect_md_data() 2533 ((uint8_t *)((uint8_t *)ha->fw_dump + in qla4_8xxx_collect_md_data()
|
D | ql4_os.c | 2619 if (ha->fw_dump) in qla4xxx_mem_free() 2620 vfree(ha->fw_dump); in qla4xxx_mem_free() 2631 ha->fw_dump = NULL; in qla4xxx_mem_free()
|