Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c285 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 …]
Dqlcnic_ethtool.c1593 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_enable_fw_dump_state() local
1606 fw_dump->enable = true; in qlcnic_enable_fw_dump_state()
1616 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_disable_fw_dump_state() local
1629 fw_dump->enable = false; in qlcnic_disable_fw_dump_state()
1639 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_check_fw_dump_state() local
1647 state = fw_dump->enable; in qlcnic_check_fw_dump_state()
1657 struct qlcnic_fw_dump *fw_dump = &adapter->ahw->fw_dump; in qlcnic_get_dump_flag() local
1659 if (!fw_dump->tmpl_hdr) { in qlcnic_get_dump_flag()
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()
[all …]
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 …]
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()
/drivers/scsi/qla2xxx/
Dqla_dbg.c73 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 …]
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()
Dqla_init.c3801 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 …]
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,
2547 .fw_dump = qla83xx_fw_dump,
2586 .fw_dump = NULL,
2625 .fw_dump = qla27xx_fwdump,
[all …]
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()
Dqla_def.h3472 void (*fw_dump)(struct scsi_qla_host *vha); member
4601 struct qla2xxx_fw_dump *fw_dump; member
Dqla_attr.c50 rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla2x00_sysfs_read_fw_dump()
Dqla_nx2.c3236 "-- ignoring request.\n", ha->fw_dump); in qla8044_collect_md_data()
Dqla_nx.c4122 "-- ignoring request.\n", ha->fw_dump); in qla82xx_md_collect()
Dqla_target.c5793 ha->isp_ops->fw_dump(vha); in qlt_chk_unresolv_exchg()
/drivers/scsi/qla4xxx/
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()
Dql4_attr.c25 return memory_read_from_buffer(buf, count, &off, ha->fw_dump, in qla4_8xxx_sysfs_read_fw_dump()
Dql4_def.h762 void *fw_dump; member
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()
Dql4_os.c4183 vfree(ha->fw_dump); in qla4xxx_mem_free()
4194 ha->fw_dump = NULL; in qla4xxx_mem_free()
/drivers/net/wireless/marvell/mwifiex/
DREADME262 cat fw_dump