/linux/arch/powerpc/include/asm/ |
H A D | fadump-internal.h | 101 struct fw_dump { struct 149 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf); argument 151 int (*fadump_setup_metadata)(struct fw_dump *fadump_conf); 153 int (*fadump_register)(struct fw_dump *fadump_conf); 154 int (*fadump_unregister)(struct fw_dump *fadump_conf); 155 int (*fadump_invalidate)(struct fw_dump *fadump_conf); 156 void (*fadump_cleanup)(struct fw_dump *fadump_conf); 157 int (*fadump_process)(struct fw_dump *fadump_conf); 158 void (*fadump_region_show)(struct fw_dump *fadump_conf, 175 struct fw_dump { struct [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 285 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 …]
|
H A D | qlcnic_main.c | 1228 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 D | qlcnic.h | 523 struct qlcnic_fw_dump fw_dump; member 2103 struct qlcnic_fw_dump *fw_dump) in qlcnic_cache_tmpl_hdr_values() argument 2105 adapter->ahw->hw_ops->cache_tmpl_hdr_values(fw_dump); in qlcnic_cache_tmpl_hdr_values()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-fadump.c | 31 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 __init opal_fadump_get_config(struct fw_dump *fadump_conf, in opal_fadump_get_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() [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.c | 30 static void rtas_fadump_update_config(struct fw_dump *fadump_conf, in rtas_fadump_update_config() 41 static void __init rtas_fadump_get_config(struct fw_dump *fadump_conf, in rtas_fadump_get_config() 98 static u64 rtas_fadump_init_mem_struct(struct fw_dump *fadump_conf) in rtas_fadump_init_mem_struct() 182 static int rtas_fadump_register(struct fw_dump *fadump_conf) in rtas_fadump_register() 235 static int rtas_fadump_unregister(struct fw_dump *fadump_conf) in rtas_fadump_unregister() 260 static int rtas_fadump_invalidate(struct fw_dump *fadump_conf) in rtas_fadump_invalidate() 361 static int __init rtas_fadump_build_cpu_notes(struct fw_dump *fadump_conf) in rtas_fadump_build_cpu_notes() 440 static int __init rtas_fadump_process(struct fw_dump *fadump_conf) in rtas_fadump_process() 494 static void rtas_fadump_region_show(struct fw_dump *fadump_conf, in rtas_fadump_region_show() 588 void __init rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) in rtas_fadump_dt_scan()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_dbg.c | 73 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump() argument 75 fw_dump->fw_major_version = htonl(ha->fw_major_version); in qla2xxx_prep_dump() 76 fw_dump->fw_minor_version = htonl(ha->fw_minor_version); in qla2xxx_prep_dump() 77 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version); in qla2xxx_prep_dump() 78 fw_dump->fw_attributes = htonl(ha->fw_attributes); in qla2xxx_prep_dump() 80 fw_dump->vendor = htonl(ha->pdev->vendor); in qla2xxx_prep_dump() 81 fw_dump->device = htonl(ha->pdev->device); in qla2xxx_prep_dump() 82 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor); in qla2xxx_prep_dump() 83 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device); in qla2xxx_prep_dump() 477 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft() [all …]
|
H A D | qla_tmpl.c | 1066 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 D | qla_init.c | 3801 struct qla2xxx_fw_dump *fw_dump; in qla2x00_alloc_fw_dump() local 3803 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() 3925 ha->mpi_fw_dump = (char *)fw_dump + in qla2x00_alloc_fw_dump() [all …]
|
H A D | qla_os.c | 2272 .fw_dump = qla2100_fw_dump, 2311 .fw_dump = qla2300_fw_dump, 2350 .fw_dump = qla24xx_fw_dump, 2389 .fw_dump = qla25xx_fw_dump, 2428 .fw_dump = qla81xx_fw_dump, 2467 .fw_dump = qla82xx_fw_dump, 2506 .fw_dump = qla8044_fw_dump, 2545 .fw_dump = qla83xx_fw_dump, 2584 .fw_dump = NULL, 2623 .fw_dump = qla27xx_fwdump, [all …]
|
H A D | qla_isr.c | 382 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() 4268 ha->isp_ops->fw_dump(vha); in qla24xx_intr_handler() 4398 ha->isp_ops->fw_dump(vha); in qla24xx_msix_default()
|
H A D | qla_def.h | 3471 void (*fw_dump)(struct scsi_qla_host *vha); member 4600 struct qla2xxx_fw_dump *fw_dump; member
|
H A D | qla_nx2.c | 3236 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
|
H A D | qla_attr.c | 50 rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
|
H A D | qla_nx.c | 4122 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
|
H A D | qla_target.c | 5793 ha->isp_ops->fw_dump(vha); in qlt_chk_unresolv_exchg()
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_init.c | 314 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 D | ql4_attr.c | 25 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
|
H A D | ql4_def.h | 762 void *fw_dump; member
|
H A D | ql4_nx.c | 3000 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 D | ql4_os.c | 4183 vfree(ha->fw_dump); in qla4xxx_mem_free() 4194 ha->fw_dump = NULL; in qla4xxx_mem_free()
|
/linux/net/sched/ |
H A D | cls_fw.c | 368 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() function 432 .dump = fw_dump,
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | README | 262 cat fw_dump
|