Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kernel/
H A Dfadump.c45 static struct fw_dump fw_dump; variable
1218 return fw_dump.ops->fadump_register(&fw_dump); in register_fadump()
1229 fw_dump.ops->fadump_invalidate(&fw_dump); in fadump_cleanup()
1232 fw_dump.ops->fadump_unregister(&fw_dump); in fadump_cleanup()
1237 fw_dump.ops->fadump_cleanup(&fw_dump); in fadump_cleanup()
1440 fw_dump.ops->fadump_init_mem_struct(&fw_dump); in fadump_invalidate_release_mem()
1524 fw_dump.ops->fadump_unregister(&fw_dump); in registered_store()
1529 fw_dump.ops->fadump_unregister(&fw_dump); in registered_store()
1550 fw_dump.ops->fadump_region_show(&fw_dump, m); in fadump_region_show()
1658 if (fw_dump.ops->fadump_process(&fw_dump) < 0) in setup_fadump()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dfadump-internal.h76 struct fw_dump { struct
119 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf); argument
121 int (*fadump_setup_metadata)(struct fw_dump *fadump_conf);
123 int (*fadump_register)(struct fw_dump *fadump_conf);
124 int (*fadump_unregister)(struct fw_dump *fadump_conf);
125 int (*fadump_invalidate)(struct fw_dump *fadump_conf);
126 void (*fadump_cleanup)(struct fw_dump *fadump_conf);
127 int (*fadump_process)(struct fw_dump *fadump_conf);
128 void (*fadump_region_show)(struct fw_dump *fadump_conf,
145 struct fw_dump { struct
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c352 fw_dump->use_pex_dma = (fw_dump->version & 0xfffff) >= in qlcnic_83xx_cache_tmpl_hdr_values()
771 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_read_memory_pexdma() local
857 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_read_memory() local
1217 fw_dump = &ahw->fw_dump; in qlcnic_fw_cmd_get_minidump_temp()
1278 fw_dump->cap_mask); in qlcnic_fw_cmd_get_minidump_temp()
1287 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_dump_fw() local
1313 if (fw_dump->clr) { in qlcnic_dump_fw()
1329 if (!fw_dump->data) in qlcnic_dump_fw()
1389 fw_dump->clr = 1; in qlcnic_dump_fw()
1393 fw_dump->size, fw_dump->data, fw_dump->tmpl_hdr_size, in qlcnic_dump_fw()
[all …]
H A Dqlcnic_ethtool.c1593 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_enable_fw_dump_state() local
1616 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_disable_fw_dump_state() local
1639 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_check_fw_dump_state() local
1657 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local
1664 if (fw_dump->clr) in qlcnic_get_dump_flag()
1665 dump->len = fw_dump->tmpl_hdr_size + fw_dump->size; in qlcnic_get_dump_flag()
1686 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_data() local
1706 memcpy(buffer + copy_sz, fw_dump->data, fw_dump->size); in qlcnic_get_dump_data()
1713 fw_dump->clr = 0; in qlcnic_get_dump_data()
1720 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_set_dump_mask() local
[all …]
H A 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 …]
H A 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()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A 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()
187 static u64 opal_fadump_init_mem_struct(struct fw_dump *fadump_conf) in opal_fadump_init_mem_struct()
225 static int opal_fadump_setup_metadata(struct fw_dump *fadump_conf) in opal_fadump_setup_metadata()
273 static int opal_fadump_register(struct fw_dump *fadump_conf) in opal_fadump_register()
329 static int opal_fadump_unregister(struct fw_dump *fadump_conf) in opal_fadump_unregister()
344 static int opal_fadump_invalidate(struct fw_dump *fadump_conf) in opal_fadump_invalidate()
359 static void opal_fadump_cleanup(struct fw_dump *fadump_conf) in opal_fadump_cleanup()
417 opal_fadump_build_cpu_notes(struct fw_dump *fadump_conf, in opal_fadump_build_cpu_notes()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c29 static void rtas_fadump_update_config(struct fw_dump *fadump_conf, in rtas_fadump_update_config()
43 static void __init rtas_fadump_get_config(struct fw_dump *fadump_conf, in rtas_fadump_get_config()
64 static u64 rtas_fadump_init_mem_struct(struct fw_dump *fadump_conf) in rtas_fadump_init_mem_struct()
137 static int rtas_fadump_register(struct fw_dump *fadump_conf) in rtas_fadump_register()
185 static int rtas_fadump_unregister(struct fw_dump *fadump_conf) in rtas_fadump_unregister()
210 static int rtas_fadump_invalidate(struct fw_dump *fadump_conf) in rtas_fadump_invalidate()
311 static int __init rtas_fadump_build_cpu_notes(struct fw_dump *fadump_conf) in rtas_fadump_build_cpu_notes()
395 static int __init rtas_fadump_process(struct fw_dump *fadump_conf) in rtas_fadump_process()
439 static void rtas_fadump_region_show(struct fw_dump *fadump_conf, in rtas_fadump_region_show()
497 void __init rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) in rtas_fadump_dt_scan()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_dbg.c753 if (!ha->fw_dump) { in qla2300_fw_dump()
763 ha->fw_dump); in qla2300_fw_dump()
909 if (!ha->fw_dump) { in qla2100_fw_dump()
919 ha->fw_dump); in qla2100_fw_dump()
1100 if (!ha->fw_dump) { in qla24xx_fw_dump()
1110 ha->fw_dump); in qla24xx_fw_dump()
1342 if (!ha->fw_dump) { in qla25xx_fw_dump()
1352 ha->fw_dump); in qla25xx_fw_dump()
1655 if (!ha->fw_dump) { in qla81xx_fw_dump()
1665 ha->fw_dump); in qla81xx_fw_dump()
[all …]
H A Dqla_tmpl.c1066 if (!vha->hw->fw_dump) { in qla27xx_fwdump()
1071 vha->hw->fw_dump); in qla27xx_fwdump()
1075 void *buf = vha->hw->fw_dump; in qla27xx_fwdump()
1097 vha->host_no, vha->hw->fw_dump, vha->hw->fw_dump_cap_flags); in qla27xx_fwdump()
H A Dqla_init.c3803 if (ha->fw_dump) { in qla2x00_alloc_fw_dump()
3899 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
3900 if (!fw_dump) { in qla2x00_alloc_fw_dump()
3907 memcpy(fw_dump, ha->fw_dump, ha->fw_dump_len); in qla2x00_alloc_fw_dump()
3908 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3909 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3915 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump()
3916 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump()
3943 ha->fw_dump->eft_addr_l = in qla2x00_alloc_fw_dump()
3945 ha->fw_dump->eft_addr_h = in qla2x00_alloc_fw_dump()
[all …]
H A Dqla_os.c2274 .fw_dump = qla2100_fw_dump,
2313 .fw_dump = qla2300_fw_dump,
2352 .fw_dump = qla24xx_fw_dump,
2391 .fw_dump = qla25xx_fw_dump,
2430 .fw_dump = qla81xx_fw_dump,
2469 .fw_dump = qla82xx_fw_dump,
2508 .fw_dump = qla8044_fw_dump,
2586 .fw_dump = NULL,
2625 .fw_dump = qla27xx_fwdump,
4857 vfree(ha->fw_dump); in qla2x00_free_fw_dump()
[all …]
H A Dqla_isr.c382 ha->isp_ops->fw_dump(vha); in qla2100_intr_handler()
508 ha->isp_ops->fw_dump(vha); in qla2300_intr_handler()
1063 ha->isp_ops->fw_dump(vha); in qla27xx_handle_8200_aen()
1373 ha->isp_ops->fw_dump(vha); in qla2x00_async_event()
4274 ha->isp_ops->fw_dump(vha); in qla24xx_intr_handler()
4404 ha->isp_ops->fw_dump(vha); in qla24xx_msix_default()
H A Dqla_def.h3472 void (*fw_dump)(struct scsi_qla_host *vha); member
4601 struct qla2xxx_fw_dump *fw_dump; member
H A Dqla_nx2.c3236 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
H A Dqla_attr.c50 rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
H A Dqla_nx.c4122 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
H A Dqla_target.c5793 ha->isp_ops->fw_dump(vha); in qlt_chk_unresolv_exchg()
/openbmc/linux/drivers/scsi/qla4xxx/
H A 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()
H A Dql4_attr.c25 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
H A Dql4_def.h762 void *fw_dump; member
H A 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()
H A Dql4_os.c4183 vfree(ha->fw_dump); in qla4xxx_mem_free()
4194 ha->fw_dump = NULL; in qla4xxx_mem_free()
/openbmc/linux/net/sched/
H A Dcls_fw.c368 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() function
432 .dump = fw_dump,
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A DREADME262 cat fw_dump