Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/kernel/
Dfadump.c35 static struct fw_dump fw_dump; variable
65 if (!fw_dump.fadump_enabled) in fadump_cma_init()
72 if (fw_dump.nocma) in fadump_cma_init()
75 base = fw_dump.reserve_dump_area_start; in fadump_cma_init()
76 size = fw_dump.boot_memory_size; in fadump_cma_init()
100 fw_dump.reserve_dump_area_size); in fadump_cma_init()
115 rtas_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump()
120 opal_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump()
135 if (!fw_dump.dump_registered) in is_fadump_memory_area()
141 d_start = fw_dump.reserve_dump_area_start; in is_fadump_memory_area()
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Dfadump-internal.h79 struct fw_dump { struct
122 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf); argument
124 int (*fadump_setup_metadata)(struct fw_dump *fadump_conf);
126 int (*fadump_register)(struct fw_dump *fadump_conf);
127 int (*fadump_unregister)(struct fw_dump *fadump_conf);
128 int (*fadump_invalidate)(struct fw_dump *fadump_conf);
129 void (*fadump_cleanup)(struct fw_dump *fadump_conf);
130 int (*fadump_process)(struct fw_dump *fadump_conf);
131 void (*fadump_region_show)(struct fw_dump *fadump_conf,
148 struct fw_dump { struct
[all …]
/Linux-v5.4/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.c1602 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_enable_fw_dump_state() local
1615 fw_dump->enable = true; in qlcnic_enable_fw_dump_state()
1625 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_disable_fw_dump_state() local
1638 fw_dump->enable = false; in qlcnic_disable_fw_dump_state()
1648 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_check_fw_dump_state() local
1656 state = fw_dump->enable; in qlcnic_check_fw_dump_state()
1666 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local
1668 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_flag()
1673 if (fw_dump->clr) in qlcnic_get_dump_flag()
1674 dump->len = fw_dump->tmpl_hdr_size + fw_dump->size; in qlcnic_get_dump_flag()
[all …]
Dqlcnic_main.c1252 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; in qlcnic_check_options() local
1268 if (fw_dump->tmpl_hdr == NULL || in qlcnic_check_options()
1270 vfree(fw_dump->tmpl_hdr); in qlcnic_check_options()
2114 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_free_adapter_resources() local
2119 if (fw_dump->tmpl_hdr) { in qlcnic_free_adapter_resources()
2120 vfree(fw_dump->tmpl_hdr); in qlcnic_free_adapter_resources()
2121 fw_dump->tmpl_hdr = NULL; in qlcnic_free_adapter_resources()
2124 if (fw_dump->dma_buffer) { in qlcnic_free_adapter_resources()
2126 fw_dump->dma_buffer, fw_dump->phys_addr); in qlcnic_free_adapter_resources()
2127 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-v5.4/arch/powerpc/platforms/powernv/
Dopal-fadump.c31 void __init opal_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) in opal_fadump_dt_scan()
93 static int opal_fadump_unregister(struct fw_dump *fadump_conf);
95 static void opal_fadump_update_config(struct fw_dump *fadump_conf, in opal_fadump_update_config()
115 static void opal_fadump_get_config(struct fw_dump *fadump_conf, in opal_fadump_get_config()
186 static u64 opal_fadump_init_mem_struct(struct fw_dump *fadump_conf) in opal_fadump_init_mem_struct()
221 static int opal_fadump_setup_metadata(struct fw_dump *fadump_conf) in opal_fadump_setup_metadata()
269 static int opal_fadump_register(struct fw_dump *fadump_conf) in opal_fadump_register()
321 static int opal_fadump_unregister(struct fw_dump *fadump_conf) in opal_fadump_unregister()
336 static int opal_fadump_invalidate(struct fw_dump *fadump_conf) in opal_fadump_invalidate()
351 static void opal_fadump_cleanup(struct fw_dump *fadump_conf) in opal_fadump_cleanup()
[all …]
/Linux-v5.4/arch/powerpc/platforms/pseries/
Drtas-fadump.c28 static void rtas_fadump_update_config(struct fw_dump *fadump_conf, in rtas_fadump_update_config()
42 static void rtas_fadump_get_config(struct fw_dump *fadump_conf, in rtas_fadump_get_config()
63 static u64 rtas_fadump_init_mem_struct(struct fw_dump *fadump_conf) in rtas_fadump_init_mem_struct()
130 static int rtas_fadump_register(struct fw_dump *fadump_conf) in rtas_fadump_register()
178 static int rtas_fadump_unregister(struct fw_dump *fadump_conf) in rtas_fadump_unregister()
203 static int rtas_fadump_invalidate(struct fw_dump *fadump_conf) in rtas_fadump_invalidate()
304 static int __init rtas_fadump_build_cpu_notes(struct fw_dump *fadump_conf) in rtas_fadump_build_cpu_notes()
388 static int __init rtas_fadump_process(struct fw_dump *fadump_conf) in rtas_fadump_process()
432 static void rtas_fadump_region_show(struct fw_dump *fadump_conf, in rtas_fadump_region_show()
490 void __init rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) in rtas_fadump_dt_scan()
/Linux-v5.4/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()
468 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft()
[all …]
Dqla_tmpl.c991 if (!vha->hw->fw_dump) { in qla27xx_fwdump()
996 vha->hw->fw_dump); in qla27xx_fwdump()
1001 void *buf = vha->hw->fw_dump; in qla27xx_fwdump()
1019 vha->hw->fw_dump_len = buf - (void *)vha->hw->fw_dump; in qla27xx_fwdump()
1024 vha->host_no, vha->hw->fw_dump, vha->hw->fw_dump_cap_flags); in qla27xx_fwdump()
Dqla_init.c3168 struct qla2xxx_fw_dump *fw_dump; in qla2x00_alloc_fw_dump() local
3257 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
3258 if (!fw_dump) { in qla2x00_alloc_fw_dump()
3265 memcpy(fw_dump, ha->fw_dump, ha->fw_dump_len); in qla2x00_alloc_fw_dump()
3266 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3267 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3273 if (ha->fw_dump) in qla2x00_alloc_fw_dump()
3274 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3275 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3288 ha->fw_dump->signature[0] = 'Q'; in qla2x00_alloc_fw_dump()
[all …]
Dqla_os.c2140 .fw_dump = qla2100_fw_dump,
2179 .fw_dump = qla2300_fw_dump,
2218 .fw_dump = qla24xx_fw_dump,
2257 .fw_dump = qla25xx_fw_dump,
2296 .fw_dump = qla81xx_fw_dump,
2335 .fw_dump = qla82xx_fw_dump,
2374 .fw_dump = qla8044_fw_dump,
2413 .fw_dump = qla83xx_fw_dump,
2452 .fw_dump = NULL,
2491 .fw_dump = qla27xx_fwdump,
[all …]
Dqla_isr.c85 ha->isp_ops->fw_dump(vha, 1); in qla2100_intr_handler()
216 ha->isp_ops->fw_dump(vha, 1); in qla2300_intr_handler()
728 ha->isp_ops->fw_dump(vha, 1); in qla2x00_async_event()
3204 ha->isp_ops->fw_dump(vha, 1); in qla24xx_intr_handler()
3333 ha->isp_ops->fw_dump(vha, 1); in qla24xx_msix_default()
Dqla_bsg.c683 ha->isp_ops->fw_dump(vha, 0); in qla81xx_set_loopback_mode()
887 ha->isp_ops->fw_dump(vha, 0); in qla2x00_process_loopback()
Dqla_def.h3198 void (*fw_dump) (struct scsi_qla_host *, int); member
4072 struct qla2xxx_fw_dump *fw_dump; member
Dqla_mbx.c466 ha->isp_ops->fw_dump(vha, 0); in qla2x00_mailbox_command()
6067 ha->isp_ops->fw_dump(vha, 0); in qla83xx_restart_nic_firmware()
6112 ha->isp_ops->fw_dump(vha, 0); in qla83xx_access_control()
Dqla_attr.c46 rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
Dqla_nx2.c3248 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
/Linux-v5.4/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.c4148 if (ha->fw_dump) in qla4xxx_mem_free()
4149 vfree(ha->fw_dump); in qla4xxx_mem_free()
4160 ha->fw_dump = NULL; in qla4xxx_mem_free()
/Linux-v5.4/net/sched/
Dcls_fw.c375 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() function
439 .dump = fw_dump,
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
DREADME261 cat fw_dump

12