| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | fadump.c | 43 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 …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | fadump-internal.h | 81 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 …]
|
| /OK3568_Linux_fs/kernel/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_ethtool.c | 1585 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_enable_fw_dump_state() local 1598 fw_dump->enable = true; in qlcnic_enable_fw_dump_state() 1608 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_disable_fw_dump_state() local 1621 fw_dump->enable = false; in qlcnic_disable_fw_dump_state() 1631 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_check_fw_dump_state() local 1639 state = fw_dump->enable; in qlcnic_check_fw_dump_state() 1649 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local 1651 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_flag() 1656 if (fw_dump->clr) in qlcnic_get_dump_flag() 1657 dump->len = fw_dump->tmpl_hdr_size + fw_dump->size; in qlcnic_get_dump_flag() [all …]
|
| H A D | qlcnic_main.c | 1232 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; in qlcnic_check_options() local 1248 if (fw_dump->tmpl_hdr == NULL || in qlcnic_check_options() 1250 vfree(fw_dump->tmpl_hdr); in qlcnic_check_options() 2094 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_free_adapter_resources() local 2099 if (fw_dump->tmpl_hdr) { in qlcnic_free_adapter_resources() 2100 vfree(fw_dump->tmpl_hdr); in qlcnic_free_adapter_resources() 2101 fw_dump->tmpl_hdr = NULL; in qlcnic_free_adapter_resources() 2104 if (fw_dump->dma_buffer) { in qlcnic_free_adapter_resources() 2106 fw_dump->dma_buffer, fw_dump->phys_addr); in qlcnic_free_adapter_resources() 2107 fw_dump->dma_buffer = NULL; in qlcnic_free_adapter_resources() [all …]
|
| H A D | qlcnic.h | 523 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()
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/ |
| H A D | rtas-fadump.c | 28 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/ |
| H A D | qla_dbg.c | 74 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() 464 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft() [all …]
|
| H A D | qla_init.c | 3333 struct qla2xxx_fw_dump *fw_dump; in qla2x00_alloc_fw_dump() local 3335 if (ha->fw_dump) { in qla2x00_alloc_fw_dump() 3431 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump() 3432 if (!fw_dump) { in qla2x00_alloc_fw_dump() 3439 memcpy(fw_dump, ha->fw_dump, ha->fw_dump_len); in qla2x00_alloc_fw_dump() 3440 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump() 3441 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump() 3447 if (ha->fw_dump) in qla2x00_alloc_fw_dump() 3448 vfree(ha->fw_dump); in qla2x00_alloc_fw_dump() 3449 ha->fw_dump = fw_dump; in qla2x00_alloc_fw_dump() [all …]
|
| H A D | qla_tmpl.c | 1061 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()
|
| H A D | qla_os.c | 2156 .fw_dump = qla2100_fw_dump, 2195 .fw_dump = qla2300_fw_dump, 2234 .fw_dump = qla24xx_fw_dump, 2273 .fw_dump = qla25xx_fw_dump, 2312 .fw_dump = qla81xx_fw_dump, 2351 .fw_dump = qla82xx_fw_dump, 2390 .fw_dump = qla8044_fw_dump, 2429 .fw_dump = qla83xx_fw_dump, 2468 .fw_dump = NULL, 2507 .fw_dump = qla27xx_fwdump, [all …]
|
| H A D | qla_isr.c | 222 ha->isp_ops->fw_dump(vha); in qla2100_intr_handler() 353 ha->isp_ops->fw_dump(vha); in qla2300_intr_handler() 779 ha->isp_ops->fw_dump(vha); in qla27xx_handle_8200_aen() 1082 ha->isp_ops->fw_dump(vha); in qla2x00_async_event() 3687 ha->isp_ops->fw_dump(vha); in qla24xx_intr_handler() 3816 ha->isp_ops->fw_dump(vha); in qla24xx_msix_default()
|
| H A D | qla_def.h | 3298 void (*fw_dump)(struct scsi_qla_host *vha); member 4357 struct qla2xxx_fw_dump *fw_dump; member
|
| /OK3568_Linux_fs/kernel/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 | 753 void *fw_dump; member
|
| H A D | ql4_nx.c | 3013 if (!ha->fw_dump) { in qla4_8xxx_collect_md_data() 3021 data_ptr = (uint32_t *)((uint8_t *)ha->fw_dump + in qla4_8xxx_collect_md_data() 3194 data_collected = (uint8_t *)data_ptr - (uint8_t *)ha->fw_dump; in qla4_8xxx_collect_md_data()
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | cls_fw.c | 375 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() function 444 .dump = fw_dump,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_sdio_mmc.c | 704 if (handle->fw_dump) { in woal_sdio_suspend() 2341 phandle->fw_dump = MTRUE; in woal_sdiommc_dump_fw_info() 2359 phandle->fw_dump = MFALSE; in woal_sdiommc_dump_fw_info()
|
| H A D | moal_pcie.c | 634 if (handle->fw_dump) { in woal_pcie_suspend() 2376 phandle->fw_dump = MTRUE; in woal_pcie_dump_fw_info() 2397 phandle->fw_dump = MFALSE; in woal_pcie_dump_fw_info()
|
| H A D | moal_proc.c | 919 if (handle->fw_dump == MTRUE) { in woal_fw_dump_read()
|
| H A D | moal_main.c | 6301 if (!auto_fw_dump && !priv->phandle->fw_dump) 9030 if (phandle->fw_dump == MFALSE) { 9032 phandle->fw_dump = MTRUE; 9072 phandle->fw_dump = MFALSE; 10080 if (!auto_fw_dump && !handle->fw_dump && priv)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/ |
| H A D | moal_sdio_mmc.c | 424 if (handle->fw_dump) { in woal_sdio_suspend()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | README | 261 cat fw_dump
|