Home
last modified time | relevance | path

Searched refs:md_template_size (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c112 adapter->mdump.md_template_size = cmd.rsp.arg2; in netxen_get_minidump_template_size()
124 size = adapter->mdump.md_template_size; in netxen_get_minidump_template()
161 int count = adapter->mdump.md_template_size/sizeof(uint32_t) ; in netxen_check_template_checksum()
189 if (!adapter->mdump.md_template_size) { in netxen_setup_minidump()
195 kmalloc(adapter->mdump.md_template_size, GFP_KERNEL); in netxen_setup_minidump()
216 for (i = 0; i < adapter->mdump.md_template_size/sizeof(u32); i++) in netxen_setup_minidump()
Dnetxen_nic_ethtool.c920 copy_sz = mdump->md_template_size; in netxen_get_dump_data()
928 mdump->md_capture_buff + mdump->md_template_size, in netxen_get_dump_data()
Dnetxen_nic_hw.c2366 memcpy(dump_buff, template_buff, adapter->mdump.md_template_size); in netxen_parse_md_template()
2367 dump_buff = dump_buff + adapter->mdump.md_template_size; in netxen_parse_md_template()
2534 adapter->mdump.md_dump_size = adapter->mdump.md_template_size + in netxen_dump_fw()
Dnetxen_nic.h1311 u32 md_template_size; /* FW template size */ member
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_nx.c4125 int count = ha->md_template_size/sizeof(uint32_t); in qla82xx_validate_template_chksum()
4400 ha->md_tmplt_hdr, ha->md_template_size / 1024); in qla82xx_md_free()
4401 dma_free_coherent(&ha->pdev->dev, ha->md_template_size, in qla82xx_md_free()
4428 ha->md_template_size / 1024); in qla82xx_md_prep()
4450 ha->md_template_size / 1024); in qla82xx_md_prep()
4452 ha->md_template_size, in qla82xx_md_prep()
Dqla_attr.c33 if (off < ha->md_template_size) { in qla2x00_sysfs_read_fw_dump()
35 &off, ha->md_tmplt_hdr, ha->md_template_size); in qla2x00_sysfs_read_fw_dump()
38 off -= ha->md_template_size; in qla2x00_sysfs_read_fw_dump()
1453 size = ha->md_template_size + ha->md_dump_size; in qla2x00_fw_dump_size_show()
Dqla_mbx.c5524 ha->md_template_size = ((mcp->mb[3] << 16) | mcp->mb[2]); in qla82xx_md_get_template_size()
5525 if (!ha->md_template_size) { in qla82xx_md_get_template_size()
5546 ha->md_template_size, &ha->md_tmplt_hdr_dma, GFP_KERNEL); in qla82xx_md_get_template()
5562 mcp->mb[8] = LSW(ha->md_template_size); in qla82xx_md_get_template()
5563 mcp->mb[9] = MSW(ha->md_template_size); in qla82xx_md_get_template()
5595 ha->md_template_size, &ha->md_tmplt_hdr_dma, GFP_KERNEL); in qla8044_md_get_template()
5603 while (offset < ha->md_template_size) { in qla8044_md_get_template()
Dqla_def.h4154 uint32_t md_template_size; member