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

/linux-master/arch/powerpc/kernel/
H A Dfadump.c45 static struct fw_dump fw_dump; variable in typeref:struct:fw_dump
88 if (!fw_dump.fadump_enabled)
95 if (fw_dump.nocma)
98 base = fw_dump.reserve_dump_area_start;
99 size = fw_dump.boot_memory_size;
129 fw_dump.reserve_dump_area_size);
149 rtas_fadump_dt_scan(&fw_dump, node);
154 opal_fadump_dt_scan(&fw_dump, node);
169 if (!fw_dump
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dfadump-internal.h76 struct fw_dump { struct
119 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf);
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...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c285 void qlcnic_82xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) argument
289 hdr = fw_dump->tmpl_hdr;
290 fw_dump->tmpl_hdr_size = hdr->size;
291 fw_dump->version = hdr->version;
292 fw_dump->num_entries = hdr->num_entries;
293 fw_dump->offset = hdr->offset;
296 fw_dump->cap_mask = hdr->cap_mask;
298 fw_dump->use_pex_dma = (hdr->capabilities & BIT_0) ? true : false;
339 void qlcnic_83xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) argument
343 hdr = fw_dump
771 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
857 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1209 struct qlcnic_fw_dump *fw_dump; local
1287 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1418 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; local
[all...]
H A Dqlcnic_ethtool.c1593 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1606 fw_dump->enable = true;
1616 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1629 fw_dump->enable = false;
1639 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1647 state = fw_dump->enable;
1657 struct qlcnic_fw_dump *fw_dump local
1686 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1720 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
1743 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
[all...]
H A Dqlcnic_main.c1228 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; local
1244 if (fw_dump->tmpl_hdr == NULL ||
1246 vfree(fw_dump->tmpl_hdr);
2090 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; local
2095 if (fw_dump->tmpl_hdr) {
2096 vfree(fw_dump->tmpl_hdr);
2097 fw_dump->tmpl_hdr = NULL;
2100 if (fw_dump
3648 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; local
[all...]
H A Dqlcnic.h523 struct qlcnic_fw_dump fw_dump; member in struct:qlcnic_hardware_context
2104 struct qlcnic_fw_dump *fw_dump)
2106 adapter->ahw->hw_ops->cache_tmpl_hdr_values(fw_dump);
2103 qlcnic_cache_tmpl_hdr_values(struct qlcnic_adapter *adapter, struct qlcnic_fw_dump *fw_dump) argument
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-fadump.c31 void __init opal_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node)
93 static int opal_fadump_unregister(struct fw_dump *fadump_conf);
95 static void opal_fadump_update_config(struct fw_dump *fadump_conf,
115 static void __init opal_fadump_get_config(struct fw_dump *fadump_conf,
187 static u64 opal_fadump_init_mem_struct(struct fw_dump *fadump_conf)
225 static int opal_fadump_setup_metadata(struct fw_dump *fadump_conf)
273 static int opal_fadump_register(struct fw_dump *fadump_conf)
329 static int opal_fadump_unregister(struct fw_dump *fadump_conf)
344 static int opal_fadump_invalidate(struct fw_dump *fadump_conf)
359 static void opal_fadump_cleanup(struct fw_dump *fadump_con
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c29 static void rtas_fadump_update_config(struct fw_dump *fadump_conf,
43 static void __init rtas_fadump_get_config(struct fw_dump *fadump_conf,
64 static u64 rtas_fadump_init_mem_struct(struct fw_dump *fadump_conf)
137 static int rtas_fadump_register(struct fw_dump *fadump_conf)
185 static int rtas_fadump_unregister(struct fw_dump *fadump_conf)
210 static int rtas_fadump_invalidate(struct fw_dump *fadump_conf)
311 static int __init rtas_fadump_build_cpu_notes(struct fw_dump *fadump_conf)
395 static int __init rtas_fadump_process(struct fw_dump *fadump_conf)
439 static void rtas_fadump_region_show(struct fw_dump *fadump_conf,
497 void __init rtas_fadump_dt_scan(struct fw_dump *fadump_con
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_dbg.c73 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) argument
75 fw_dump->fw_major_version = htonl(ha->fw_major_version);
76 fw_dump->fw_minor_version = htonl(ha->fw_minor_version);
77 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version);
78 fw_dump->fw_attributes = htonl(ha->fw_attributes);
80 fw_dump->vendor = htonl(ha->pdev->vendor);
81 fw_dump->device = htonl(ha->pdev->device);
82 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor);
83 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device);
477 memcpy(ptr, ha->eft, ntohl(ha->fw_dump
[all...]
H A Dqla_tmpl.c1066 if (!vha->hw->fw_dump) {
1071 vha->hw->fw_dump);
1075 void *buf = vha->hw->fw_dump;
1097 vha->host_no, vha->hw->fw_dump, vha->hw->fw_dump_cap_flags);
H A Dqla_init.c3789 struct qla2xxx_fw_dump *fw_dump; local
3791 if (ha->fw_dump) {
3887 fw_dump = vmalloc(dump_size);
3888 if (!fw_dump) {
3895 memcpy(fw_dump, ha->fw_dump, ha->fw_dump_len);
3896 vfree(ha->fw_dump);
3897 ha->fw_dump = fw_dump;
3903 vfree(ha->fw_dump);
[all...]
H A Dqla_os.c2280 .fw_dump = qla2100_fw_dump,
2319 .fw_dump = qla2300_fw_dump,
2358 .fw_dump = qla24xx_fw_dump,
2397 .fw_dump = qla25xx_fw_dump,
2436 .fw_dump = qla81xx_fw_dump,
2475 .fw_dump = qla82xx_fw_dump,
2514 .fw_dump = qla8044_fw_dump,
2553 .fw_dump = qla83xx_fw_dump,
2592 .fw_dump = NULL,
2631 .fw_dump
[all...]
H A Dqla_isr.c382 ha->isp_ops->fw_dump(vha);
508 ha->isp_ops->fw_dump(vha);
1063 ha->isp_ops->fw_dump(vha);
1373 ha->isp_ops->fw_dump(vha);
4274 ha->isp_ops->fw_dump(vha);
4404 ha->isp_ops->fw_dump(vha);
H A Dqla_def.h3461 void (*fw_dump)(struct scsi_qla_host *vha); member in struct:isp_operations
4591 struct qla2xxx_fw_dump *fw_dump; member in struct:qla_hw_data
H A Dqla_nx.c4122 "-- ignoring request.\n", ha->fw_dump);
H A Dqla_nx2.c3236 "-- ignoring request.\n", ha->fw_dump);
H A Dqla_attr.c50 rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump,
173 .name = "fw_dump",
1004 { "fw_dump", &sysfs_fw_dump_attr, },
H A Dqla_target.c5793 ha->isp_ops->fw_dump(vha);
/linux-master/drivers/scsi/qla4xxx/
H A Dql4_init.c314 if (ha->fw_dump) {
383 ha->fw_dump = vmalloc(ha->fw_dump_size);
384 if (!ha->fw_dump)
393 memcpy(ha->fw_dump, md_tmp, ha->fw_dump_tmplt_size);
394 ha->fw_dump_tmplt_hdr = ha->fw_dump;
H A Dql4_attr.c25 return memory_read_from_buffer(buf, count, &off, ha->fw_dump,
109 .name = "fw_dump",
121 { "fw_dump", &sysfs_fw_dump_attr },
H A Dql4_def.h762 void *fw_dump; member in struct:scsi_qla_host
H A Dql4_nx.c3000 if (!ha->fw_dump) {
3008 data_ptr = (uint32_t *)((uint8_t *)ha->fw_dump +
3181 data_collected = (uint8_t *)data_ptr - (uint8_t *)ha->fw_dump;
H A Dql4_os.c4183 vfree(ha->fw_dump);
4194 ha->fw_dump = NULL;
/linux-master/net/sched/
H A Dcls_fw.c368 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, function
432 .dump = fw_dump,

Completed in 473 milliseconds