Home
last modified time | relevance | path

Searched refs:fw_dump (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Dfadump.c46 static struct fw_dump fw_dump; variable
76 fw_dump.fadump_supported = 1; in early_init_dt_scan_fw_dump()
77 fw_dump.ibm_configure_kernel_dump = be32_to_cpu(*token); in early_init_dt_scan_fw_dump()
85 fw_dump.dump_active = 1; in early_init_dt_scan_fw_dump()
106 fw_dump.cpu_state_data_size = in early_init_dt_scan_fw_dump()
110 fw_dump.hpte_region_size = in early_init_dt_scan_fw_dump()
125 if (!fw_dump.dump_registered) in is_fadump_boot_memory_area()
128 return (addr + size) > RMA_START && addr <= fw_dump.boot_memory_size; in is_fadump_boot_memory_area()
133 if (!fw_dump.dump_registered || !fw_dump.fadumphdr_addr) in should_fadump_crash()
140 return fw_dump.dump_active; in is_fadump_active()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c286 void qlcnic_82xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) in qlcnic_82xx_cache_tmpl_hdr_values() argument
290 hdr = fw_dump->tmpl_hdr; in qlcnic_82xx_cache_tmpl_hdr_values()
291 fw_dump->tmpl_hdr_size = hdr->size; in qlcnic_82xx_cache_tmpl_hdr_values()
292 fw_dump->version = hdr->version; in qlcnic_82xx_cache_tmpl_hdr_values()
293 fw_dump->num_entries = hdr->num_entries; in qlcnic_82xx_cache_tmpl_hdr_values()
294 fw_dump->offset = hdr->offset; in qlcnic_82xx_cache_tmpl_hdr_values()
297 fw_dump->cap_mask = hdr->cap_mask; in qlcnic_82xx_cache_tmpl_hdr_values()
299 fw_dump->use_pex_dma = (hdr->capabilities & BIT_0) ? true : false; in qlcnic_82xx_cache_tmpl_hdr_values()
340 void qlcnic_83xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) in qlcnic_83xx_cache_tmpl_hdr_values() argument
344 hdr = fw_dump->tmpl_hdr; in qlcnic_83xx_cache_tmpl_hdr_values()
[all …]
Dqlcnic_ethtool.c1600 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_enable_fw_dump_state() local
1613 fw_dump->enable = true; in qlcnic_enable_fw_dump_state()
1623 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_disable_fw_dump_state() local
1636 fw_dump->enable = false; in qlcnic_disable_fw_dump_state()
1646 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_check_fw_dump_state() local
1654 state = fw_dump->enable; in qlcnic_check_fw_dump_state()
1664 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local
1666 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_flag()
1671 if (fw_dump->clr) in qlcnic_get_dump_flag()
1672 dump->len = fw_dump->tmpl_hdr_size + fw_dump->size; in qlcnic_get_dump_flag()
[all …]
Dqlcnic_main.c1251 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; in qlcnic_check_options() local
1267 if (fw_dump->tmpl_hdr == NULL || in qlcnic_check_options()
1269 vfree(fw_dump->tmpl_hdr); in qlcnic_check_options()
2113 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_free_adapter_resources() local
2118 if (fw_dump->tmpl_hdr) { in qlcnic_free_adapter_resources()
2119 vfree(fw_dump->tmpl_hdr); in qlcnic_free_adapter_resources()
2120 fw_dump->tmpl_hdr = NULL; in qlcnic_free_adapter_resources()
2123 if (fw_dump->dma_buffer) { in qlcnic_free_adapter_resources()
2125 fw_dump->dma_buffer, fw_dump->phys_addr); in qlcnic_free_adapter_resources()
2126 fw_dump->dma_buffer = NULL; in qlcnic_free_adapter_resources()
[all …]
Dqlcnic.h524 struct qlcnic_fw_dump fw_dump; member
2114 struct qlcnic_fw_dump *fw_dump) in qlcnic_cache_tmpl_hdr_values() argument
2116 adapter->ahw->hw_ops->cache_tmpl_hdr_values(fw_dump); in qlcnic_cache_tmpl_hdr_values()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_dbg.c80 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump() argument
82 fw_dump->fw_major_version = htonl(ha->fw_major_version); in qla2xxx_prep_dump()
83 fw_dump->fw_minor_version = htonl(ha->fw_minor_version); in qla2xxx_prep_dump()
84 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version); in qla2xxx_prep_dump()
85 fw_dump->fw_attributes = htonl(ha->fw_attributes); in qla2xxx_prep_dump()
87 fw_dump->vendor = htonl(ha->pdev->vendor); in qla2xxx_prep_dump()
88 fw_dump->device = htonl(ha->pdev->device); in qla2xxx_prep_dump()
89 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor); in qla2xxx_prep_dump()
90 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device); in qla2xxx_prep_dump()
470 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft()
[all …]
Dqla_tmpl.c878 vha->host_no, vha->hw->fw_dump); in qla27xx_walk_template()
960 tmp = memcpy(vha->hw->fw_dump, tmp, len); in qla27xx_execute_fwdt_template()
1032 if (!vha->hw->fw_dump) in qla27xx_fwdump()
1039 " -- ignoring request\n", vha->hw->fw_dump); in qla27xx_fwdump()
Dqla_init.c3126 struct qla2xxx_fw_dump *fw_dump; in qla2x00_alloc_fw_dump() local
3203 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
3204 if (!fw_dump) { in qla2x00_alloc_fw_dump()
3209 if (ha->fw_dump) in qla2x00_alloc_fw_dump()
3210 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3211 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3221 ha->fw_dump->signature[0] = 'Q'; in qla2x00_alloc_fw_dump()
3222 ha->fw_dump->signature[1] = 'L'; in qla2x00_alloc_fw_dump()
3223 ha->fw_dump->signature[2] = 'G'; in qla2x00_alloc_fw_dump()
3224 ha->fw_dump->signature[3] = 'C'; in qla2x00_alloc_fw_dump()
[all …]
Dqla_os.c2148 .fw_dump = qla2100_fw_dump,
2187 .fw_dump = qla2300_fw_dump,
2226 .fw_dump = qla24xx_fw_dump,
2265 .fw_dump = qla25xx_fw_dump,
2304 .fw_dump = qla81xx_fw_dump,
2343 .fw_dump = qla82xx_fw_dump,
2382 .fw_dump = qla8044_fw_dump,
2421 .fw_dump = qla83xx_fw_dump,
2460 .fw_dump = NULL,
2499 .fw_dump = qla27xx_fwdump,
[all …]
Dqla_isr.c77 ha->isp_ops->fw_dump(vha, 1); in qla2100_intr_handler()
208 ha->isp_ops->fw_dump(vha, 1); in qla2300_intr_handler()
717 ha->isp_ops->fw_dump(vha, 1); in qla2x00_async_event()
768 ha->isp_ops->fw_dump(vha, 1); in qla2x00_async_event()
3157 ha->isp_ops->fw_dump(vha, 1); in qla24xx_intr_handler()
3288 ha->isp_ops->fw_dump(vha, 1); in qla24xx_msix_default()
Dqla_bsg.c684 ha->isp_ops->fw_dump(vha, 0); in qla81xx_set_loopback_mode()
888 ha->isp_ops->fw_dump(vha, 0); in qla2x00_process_loopback()
Dqla_def.h3155 void (*fw_dump) (struct scsi_qla_host *, int); member
3993 struct qla2xxx_fw_dump *fw_dump; member
Dqla_mbx.c450 ha->isp_ops->fw_dump(vha, 0); in qla2x00_mailbox_command()
5912 ha->isp_ops->fw_dump(vha, 0); in qla83xx_restart_nic_firmware()
5957 ha->isp_ops->fw_dump(vha, 0); in qla83xx_access_control()
Dqla_attr.c46 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
Dqla_nx2.c3249 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
Dqla_nx.c4163 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
/Linux-v4.19/arch/powerpc/include/asm/
Dfadump.h125 struct fw_dump { struct
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_init.c317 if (ha->fw_dump) { in qla4xxx_alloc_fw_dump()
386 ha->fw_dump = vmalloc(ha->fw_dump_size); in qla4xxx_alloc_fw_dump()
387 if (!ha->fw_dump) in qla4xxx_alloc_fw_dump()
396 memcpy(ha->fw_dump, md_tmp, ha->fw_dump_tmplt_size); in qla4xxx_alloc_fw_dump()
397 ha->fw_dump_tmplt_hdr = ha->fw_dump; in qla4xxx_alloc_fw_dump()
Dql4_attr.c26 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
Dql4_def.h754 void *fw_dump; member
Dql4_nx.c3017 if (!ha->fw_dump) { in qla4_8xxx_collect_md_data()
3025 data_ptr = (uint32_t *)((uint8_t *)ha->fw_dump + in qla4_8xxx_collect_md_data()
3198 data_collected = (uint8_t *)data_ptr - (uint8_t *)ha->fw_dump; in qla4_8xxx_collect_md_data()
Dql4_os.c4147 if (ha->fw_dump) in qla4xxx_mem_free()
4148 vfree(ha->fw_dump); in qla4xxx_mem_free()
4159 ha->fw_dump = NULL; in qla4xxx_mem_free()
/Linux-v4.19/net/sched/
Dcls_fw.c386 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() function
452 .dump = fw_dump,
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
DREADME261 cat fw_dump