Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/kernel/
Dfadump.c44 static struct fw_dump fw_dump; variable
87 if (!fw_dump.fadump_enabled) in fadump_cma_init()
94 if (fw_dump.nocma) in fadump_cma_init()
97 base = fw_dump.reserve_dump_area_start; in fadump_cma_init()
98 size = fw_dump.boot_memory_size; in fadump_cma_init()
122 fw_dump.reserve_dump_area_size); in fadump_cma_init()
142 rtas_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump()
147 opal_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump()
162 if (!fw_dump.dump_registered) in is_fadump_memory_area()
168 d_start = fw_dump.reserve_dump_area_start; in is_fadump_memory_area()
[all …]
/Linux-v5.15/arch/powerpc/include/asm/
Dfadump-internal.h81 struct fw_dump { struct
124 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf); argument
126 int (*fadump_setup_metadata)(struct fw_dump *fadump_conf);
128 int (*fadump_register)(struct fw_dump *fadump_conf);
129 int (*fadump_unregister)(struct fw_dump *fadump_conf);
130 int (*fadump_invalidate)(struct fw_dump *fadump_conf);
131 void (*fadump_cleanup)(struct fw_dump *fadump_conf);
132 int (*fadump_process)(struct fw_dump *fadump_conf);
133 void (*fadump_region_show)(struct fw_dump *fadump_conf,
150 struct fw_dump { struct
[all …]
/Linux-v5.15/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c285 void qlcnic_82xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) in qlcnic_82xx_cache_tmpl_hdr_values() argument
289 hdr = fw_dump->tmpl_hdr; in qlcnic_82xx_cache_tmpl_hdr_values()
290 fw_dump->tmpl_hdr_size = hdr->size; in qlcnic_82xx_cache_tmpl_hdr_values()
291 fw_dump->version = hdr->version; in qlcnic_82xx_cache_tmpl_hdr_values()
292 fw_dump->num_entries = hdr->num_entries; in qlcnic_82xx_cache_tmpl_hdr_values()
293 fw_dump->offset = hdr->offset; in qlcnic_82xx_cache_tmpl_hdr_values()
296 fw_dump->cap_mask = hdr->cap_mask; in qlcnic_82xx_cache_tmpl_hdr_values()
298 fw_dump->use_pex_dma = (hdr->capabilities & BIT_0) ? true : false; in qlcnic_82xx_cache_tmpl_hdr_values()
339 void qlcnic_83xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) in qlcnic_83xx_cache_tmpl_hdr_values() argument
343 hdr = fw_dump->tmpl_hdr; in qlcnic_83xx_cache_tmpl_hdr_values()
[all …]
Dqlcnic_ethtool.c1589 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_enable_fw_dump_state() local
1602 fw_dump->enable = true; in qlcnic_enable_fw_dump_state()
1612 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_disable_fw_dump_state() local
1625 fw_dump->enable = false; in qlcnic_disable_fw_dump_state()
1635 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_check_fw_dump_state() local
1643 state = fw_dump->enable; in qlcnic_check_fw_dump_state()
1653 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local
1655 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_flag()
1660 if (fw_dump->clr) in qlcnic_get_dump_flag()
1661 dump->len = fw_dump->tmpl_hdr_size + fw_dump->size; in qlcnic_get_dump_flag()
[all …]
Dqlcnic_main.c1228 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; in qlcnic_check_options() local
1244 if (fw_dump->tmpl_hdr == NULL || in qlcnic_check_options()
1246 vfree(fw_dump->tmpl_hdr); in qlcnic_check_options()
2090 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_free_adapter_resources() local
2095 if (fw_dump->tmpl_hdr) { in qlcnic_free_adapter_resources()
2096 vfree(fw_dump->tmpl_hdr); in qlcnic_free_adapter_resources()
2097 fw_dump->tmpl_hdr = NULL; in qlcnic_free_adapter_resources()
2100 if (fw_dump->dma_buffer) { in qlcnic_free_adapter_resources()
2102 fw_dump->dma_buffer, fw_dump->phys_addr); in qlcnic_free_adapter_resources()
2103 fw_dump->dma_buffer = NULL; in qlcnic_free_adapter_resources()
[all …]
Dqlcnic.h523 struct qlcnic_fw_dump fw_dump; member
2104 struct qlcnic_fw_dump *fw_dump) in qlcnic_cache_tmpl_hdr_values() argument
2106 adapter->ahw->hw_ops->cache_tmpl_hdr_values(fw_dump); in qlcnic_cache_tmpl_hdr_values()
/Linux-v5.15/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.15/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.15/drivers/scsi/qla2xxx/
Dqla_dbg.c74 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump() argument
76 fw_dump->fw_major_version = htonl(ha->fw_major_version); in qla2xxx_prep_dump()
77 fw_dump->fw_minor_version = htonl(ha->fw_minor_version); in qla2xxx_prep_dump()
78 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version); in qla2xxx_prep_dump()
79 fw_dump->fw_attributes = htonl(ha->fw_attributes); in qla2xxx_prep_dump()
81 fw_dump->vendor = htonl(ha->pdev->vendor); in qla2xxx_prep_dump()
82 fw_dump->device = htonl(ha->pdev->device); in qla2xxx_prep_dump()
83 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor); in qla2xxx_prep_dump()
84 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device); in qla2xxx_prep_dump()
478 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft()
[all …]
Dqla_tmpl.c1061 if (!vha->hw->fw_dump) { in qla27xx_fwdump()
1066 vha->hw->fw_dump); in qla27xx_fwdump()
1070 void *buf = vha->hw->fw_dump; in qla27xx_fwdump()
1092 vha->host_no, vha->hw->fw_dump, vha->hw->fw_dump_cap_flags); in qla27xx_fwdump()
Dqla_init.c3420 struct qla2xxx_fw_dump *fw_dump; in qla2x00_alloc_fw_dump() local
3511 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
3512 if (!fw_dump) { in qla2x00_alloc_fw_dump()
3519 memcpy(fw_dump, ha->fw_dump, ha->fw_dump_len); in qla2x00_alloc_fw_dump()
3520 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3521 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3527 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3528 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3537 ha->mpi_fw_dump = (char *)fw_dump + in qla2x00_alloc_fw_dump()
3543 ha->fw_dump->signature[0] = 'Q'; in qla2x00_alloc_fw_dump()
[all …]
Dqla_os.c2220 .fw_dump = qla2100_fw_dump,
2259 .fw_dump = qla2300_fw_dump,
2298 .fw_dump = qla24xx_fw_dump,
2337 .fw_dump = qla25xx_fw_dump,
2376 .fw_dump = qla81xx_fw_dump,
2415 .fw_dump = qla82xx_fw_dump,
2454 .fw_dump = qla8044_fw_dump,
2493 .fw_dump = qla83xx_fw_dump,
2532 .fw_dump = NULL,
2571 .fw_dump = qla27xx_fwdump,
[all …]
Dqla_isr.c366 ha->isp_ops->fw_dump(vha); in qla2100_intr_handler()
492 ha->isp_ops->fw_dump(vha); in qla2300_intr_handler()
918 ha->isp_ops->fw_dump(vha); in qla27xx_handle_8200_aen()
1224 ha->isp_ops->fw_dump(vha); in qla2x00_async_event()
4045 ha->isp_ops->fw_dump(vha); in qla24xx_intr_handler()
4175 ha->isp_ops->fw_dump(vha); in qla24xx_msix_default()
Dqla_def.h3384 void (*fw_dump)(struct scsi_qla_host *vha); member
4477 struct qla2xxx_fw_dump *fw_dump; member
Dqla_attr.c50 rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
Dqla_nx2.c3239 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
Dqla_nx.c4127 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
Dqla_target.c5822 ha->isp_ops->fw_dump(vha); in qlt_chk_unresolv_exchg()
/Linux-v5.15/drivers/scsi/qla4xxx/
Dql4_init.c314 if (ha->fw_dump) { in qla4xxx_alloc_fw_dump()
383 ha->fw_dump = vmalloc(ha->fw_dump_size); in qla4xxx_alloc_fw_dump()
384 if (!ha->fw_dump) in qla4xxx_alloc_fw_dump()
393 memcpy(ha->fw_dump, md_tmp, ha->fw_dump_tmplt_size); in qla4xxx_alloc_fw_dump()
394 ha->fw_dump_tmplt_hdr = ha->fw_dump; in qla4xxx_alloc_fw_dump()
Dql4_attr.c25 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
Dql4_def.h753 void *fw_dump; member
Dql4_nx.c3000 if (!ha->fw_dump) { in qla4_8xxx_collect_md_data()
3008 data_ptr = (uint32_t *)((uint8_t *)ha->fw_dump + in qla4_8xxx_collect_md_data()
3181 data_collected = (uint8_t *)data_ptr - (uint8_t *)ha->fw_dump; in qla4_8xxx_collect_md_data()
Dql4_os.c4174 vfree(ha->fw_dump); in qla4xxx_mem_free()
4185 ha->fw_dump = NULL; in qla4xxx_mem_free()
/Linux-v5.15/net/sched/
Dcls_fw.c374 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() function
443 .dump = fw_dump,
/Linux-v5.15/drivers/net/wireless/marvell/mwifiex/
DREADME262 cat fw_dump