Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/kernel/
Dfadump.c46 static struct fw_dump fw_dump; variable
74 fw_dump.fadump_supported = 1; in early_init_dt_scan_fw_dump()
75 fw_dump.ibm_configure_kernel_dump = be32_to_cpu(*token); in early_init_dt_scan_fw_dump()
83 fw_dump.dump_active = 1; in early_init_dt_scan_fw_dump()
104 fw_dump.cpu_state_data_size = in early_init_dt_scan_fw_dump()
108 fw_dump.hpte_region_size = in early_init_dt_scan_fw_dump()
119 return fw_dump.dump_active; in is_fadump_active()
126 (fw_dump.fadump_supported ? "present" : "no support")); in fadump_show_config()
128 if (!fw_dump.fadump_supported) in fadump_show_config()
132 (fw_dump.fadump_enabled ? "yes" : "no")); in fadump_show_config()
[all …]
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c286 void qlcnic_82xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) in qlcnic_82xx_cache_tmpl_hdr_values() argument
290 hdr = fw_dump->tmpl_hdr; in qlcnic_82xx_cache_tmpl_hdr_values()
291 fw_dump->tmpl_hdr_size = hdr->size; in qlcnic_82xx_cache_tmpl_hdr_values()
292 fw_dump->version = hdr->version; in qlcnic_82xx_cache_tmpl_hdr_values()
293 fw_dump->num_entries = hdr->num_entries; in qlcnic_82xx_cache_tmpl_hdr_values()
294 fw_dump->offset = hdr->offset; in qlcnic_82xx_cache_tmpl_hdr_values()
297 fw_dump->cap_mask = hdr->cap_mask; in qlcnic_82xx_cache_tmpl_hdr_values()
299 fw_dump->use_pex_dma = (hdr->capabilities & BIT_0) ? true : false; in qlcnic_82xx_cache_tmpl_hdr_values()
340 void qlcnic_83xx_cache_tmpl_hdr_values(struct qlcnic_fw_dump *fw_dump) in qlcnic_83xx_cache_tmpl_hdr_values() argument
344 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.c1241 struct qlcnic_fw_dump *fw_dump = &ahw->fw_dump; in qlcnic_check_options() local
1257 if (fw_dump->tmpl_hdr == NULL || in qlcnic_check_options()
1259 vfree(fw_dump->tmpl_hdr); in qlcnic_check_options()
2105 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_free_adapter_resources() local
2110 if (fw_dump->tmpl_hdr) { in qlcnic_free_adapter_resources()
2111 vfree(fw_dump->tmpl_hdr); in qlcnic_free_adapter_resources()
2112 fw_dump->tmpl_hdr = NULL; in qlcnic_free_adapter_resources()
2115 if (fw_dump->dma_buffer) { in qlcnic_free_adapter_resources()
2117 fw_dump->dma_buffer, fw_dump->phys_addr); in qlcnic_free_adapter_resources()
2118 fw_dump->dma_buffer = NULL; in qlcnic_free_adapter_resources()
[all …]
Dqlcnic.h526 struct qlcnic_fw_dump fw_dump; member
2094 struct qlcnic_fw_dump *fw_dump) in qlcnic_cache_tmpl_hdr_values() argument
2096 adapter->ahw->hw_ops->cache_tmpl_hdr_values(fw_dump); in qlcnic_cache_tmpl_hdr_values()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dethtool.c74 if (!adapter->if_ops.fw_dump) in mwifiex_get_dump_flag()
100 if (!adapter->if_ops.fw_dump) in mwifiex_get_dump_data()
134 if (!adapter->if_ops.fw_dump) in mwifiex_set_dump()
149 adapter->if_ops.fw_dump(adapter); in mwifiex_set_dump()
Ddebugfs.c169 if (!priv->adapter->if_ops.fw_dump) in mwifiex_fw_dump_read()
172 priv->adapter->if_ops.fw_dump(priv->adapter); in mwifiex_fw_dump_read()
749 MWIFIEX_DFS_FILE_READ_OPS(fw_dump);
775 MWIFIEX_DFS_ADD_FILE(fw_dump); in mwifiex_dev_debugfs_init()
DREADME233 fw_dump
238 cat fw_dump
Dcmdevt.c951 if (adapter->if_ops.fw_dump) in mwifiex_cmd_timeout_func()
952 adapter->if_ops.fw_dump(adapter); in mwifiex_cmd_timeout_func()
Dmain.h743 void (*fw_dump)(struct mwifiex_adapter *); member
Dsdio.c2385 .fw_dump = mwifiex_sdio_fw_dump,
Dpcie.c2620 .fw_dump = mwifiex_pcie_fw_dump,
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_dbg.c84 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump() argument
86 fw_dump->fw_major_version = htonl(ha->fw_major_version); in qla2xxx_prep_dump()
87 fw_dump->fw_minor_version = htonl(ha->fw_minor_version); in qla2xxx_prep_dump()
88 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version); in qla2xxx_prep_dump()
89 fw_dump->fw_attributes = htonl(ha->fw_attributes); in qla2xxx_prep_dump()
91 fw_dump->vendor = htonl(ha->pdev->vendor); in qla2xxx_prep_dump()
92 fw_dump->device = htonl(ha->pdev->device); in qla2xxx_prep_dump()
93 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor); in qla2xxx_prep_dump()
94 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device); in qla2xxx_prep_dump()
474 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft()
[all …]
Dqla_tmpl.c809 vha->host_no, vha->hw->fw_dump); in qla27xx_walk_template()
892 tmp = memcpy(vha->hw->fw_dump, tmp, len); in qla27xx_execute_fwdt_template()
962 if (!vha->hw->fw_dump) in qla27xx_fwdump()
969 " -- ignoring request\n", vha->hw->fw_dump); in qla27xx_fwdump()
Dqla_init.c1525 if (ha->fw_dump) { in qla2x00_alloc_fw_dump()
1661 ha->fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
1662 if (!ha->fw_dump) { in qla2x00_alloc_fw_dump()
1689 ha->fw_dump->signature[0] = 'Q'; in qla2x00_alloc_fw_dump()
1690 ha->fw_dump->signature[1] = 'L'; in qla2x00_alloc_fw_dump()
1691 ha->fw_dump->signature[2] = 'G'; in qla2x00_alloc_fw_dump()
1692 ha->fw_dump->signature[3] = 'C'; in qla2x00_alloc_fw_dump()
1693 ha->fw_dump->version = __constant_htonl(1); in qla2x00_alloc_fw_dump()
1695 ha->fw_dump->fixed_size = htonl(fixed_size); in qla2x00_alloc_fw_dump()
1696 ha->fw_dump->mem_size = htonl(mem_size); in qla2x00_alloc_fw_dump()
[all …]
Dqla_os.c1738 .fw_dump = qla2100_fw_dump,
1776 .fw_dump = qla2300_fw_dump,
1814 .fw_dump = qla24xx_fw_dump,
1852 .fw_dump = qla25xx_fw_dump,
1890 .fw_dump = qla81xx_fw_dump,
1928 .fw_dump = qla82xx_fw_dump,
1966 .fw_dump = qla8044_fw_dump,
2004 .fw_dump = qla83xx_fw_dump,
2042 .fw_dump = NULL,
2080 .fw_dump = qla27xx_fwdump,
[all …]
Dqla_attr.c46 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
178 if (ha->fw_dump) in qla2x00_sysfs_write_fw_dump_template()
179 vfree(ha->fw_dump); in qla2x00_sysfs_write_fw_dump_template()
183 ha->fw_dump = NULL; in qla2x00_sysfs_write_fw_dump_template()
214 ha->fw_dump = vmalloc(size); in qla2x00_sysfs_write_fw_dump_template()
215 if (!ha->fw_dump) { in qla2x00_sysfs_write_fw_dump_template()
Dqla_isr.c73 ha->isp_ops->fw_dump(vha, 1); in qla2100_intr_handler()
204 ha->isp_ops->fw_dump(vha, 1); in qla2300_intr_handler()
662 ha->isp_ops->fw_dump(vha, 1); in qla2x00_async_event()
2706 ha->isp_ops->fw_dump(vha, 1); in qla24xx_intr_handler()
2871 ha->isp_ops->fw_dump(vha, 1); in qla24xx_msix_default()
Dqla_bsg.c677 ha->isp_ops->fw_dump(vha, 0); in qla81xx_set_loopback_mode()
878 ha->isp_ops->fw_dump(vha, 0); in qla2x00_process_loopback()
Dqla_def.h2664 void (*fw_dump) (struct scsi_qla_host *, int); member
3296 struct qla2xxx_fw_dump *fw_dump; member
Dqla_mbx.c288 ha->isp_ops->fw_dump(vha, 0); in qla2x00_mailbox_command()
5364 ha->isp_ops->fw_dump(vha, 0); in qla83xx_restart_nic_firmware()
5409 ha->isp_ops->fw_dump(vha, 0); in qla83xx_access_control()
Dqla_nx2.c3240 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
Dqla_nx.c4165 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
/linux-4.1.27/arch/powerpc/include/asm/
Dfadump.h124 struct fw_dump { struct
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_init.c318 if (ha->fw_dump) { in qla4xxx_alloc_fw_dump()
387 ha->fw_dump = vmalloc(ha->fw_dump_size); in qla4xxx_alloc_fw_dump()
388 if (!ha->fw_dump) in qla4xxx_alloc_fw_dump()
397 memcpy(ha->fw_dump, md_tmp, ha->fw_dump_tmplt_size); in qla4xxx_alloc_fw_dump()
398 ha->fw_dump_tmplt_hdr = ha->fw_dump; in qla4xxx_alloc_fw_dump()
Dql4_attr.c26 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
Dql4_def.h768 void *fw_dump; member
Dql4_nx.c3015 if (!ha->fw_dump) { in qla4_8xxx_collect_md_data()
3023 data_ptr = (uint32_t *)((uint8_t *)ha->fw_dump + in qla4_8xxx_collect_md_data()
3196 data_collected = (uint8_t *)data_ptr - (uint8_t *)ha->fw_dump; in qla4_8xxx_collect_md_data()
Dql4_os.c4134 if (ha->fw_dump) in qla4xxx_mem_free()
4135 vfree(ha->fw_dump); in qla4xxx_mem_free()
4146 ha->fw_dump = NULL; in qla4xxx_mem_free()
/linux-4.1.27/net/sched/
Dcls_fw.c364 static int fw_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in fw_dump() function
422 .dump = fw_dump,