Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ctx.c96 adapter->mdump.md_template_size = cmd.rsp.arg2; in netxen_get_minidump_template_size()
108 size = adapter->mdump.md_template_size; in netxen_get_minidump_template()
145 int count = adapter->mdump.md_template_size/sizeof(uint32_t) ; in netxen_check_template_checksum()
173 if (!adapter->mdump.md_template_size) { in netxen_setup_minidump()
179 kmalloc(adapter->mdump.md_template_size, GFP_KERNEL); in netxen_setup_minidump()
200 for (i = 0; i < adapter->mdump.md_template_size/sizeof(u32); i++) in netxen_setup_minidump()
H A Dnetxen_nic_ethtool.c890 copy_sz = mdump->md_template_size; in netxen_get_dump_data()
898 mdump->md_capture_buff + mdump->md_template_size, in netxen_get_dump_data()
H A Dnetxen_nic_hw.c2350 memcpy(dump_buff, template_buff, adapter->mdump.md_template_size); in netxen_parse_md_template()
2351 dump_buff = dump_buff + adapter->mdump.md_template_size; in netxen_parse_md_template()
2518 adapter->mdump.md_dump_size = adapter->mdump.md_template_size + in netxen_dump_fw()
H A Dnetxen_nic.h1292 u32 md_template_size; /* FW template size */ member
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_nx.c4094 int count = ha->md_template_size/sizeof(uint32_t); in qla82xx_validate_template_chksum()
4369 ha->md_tmplt_hdr, ha->md_template_size / 1024); in qla82xx_md_free()
4370 dma_free_coherent(&ha->pdev->dev, ha->md_template_size, in qla82xx_md_free()
4397 ha->md_template_size / 1024); in qla82xx_md_prep()
4419 ha->md_template_size / 1024); in qla82xx_md_prep()
4421 ha->md_template_size, in qla82xx_md_prep()
H A Dqla_attr.c34 if (off < ha->md_template_size) { in qla2x00_sysfs_read_fw_dump()
36 &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()
1709 size = ha->md_template_size + ha->md_dump_size; in qla2x00_fw_dump_size_show()
H A Dqla_mbx.c5849 ha->md_template_size = ((mcp->mb[3] << 16) | mcp->mb[2]); in qla82xx_md_get_template_size()
5850 if (!ha->md_template_size) { in qla82xx_md_get_template_size()
5871 ha->md_template_size, &ha->md_tmplt_hdr_dma, GFP_KERNEL); in qla82xx_md_get_template()
5887 mcp->mb[8] = LSW(ha->md_template_size); in qla82xx_md_get_template()
5888 mcp->mb[9] = MSW(ha->md_template_size); in qla82xx_md_get_template()
5921 ha->md_template_size, &ha->md_tmplt_hdr_dma, GFP_KERNEL); in qla8044_md_get_template()
5929 while (offset < ha->md_template_size) { in qla8044_md_get_template()
H A Dqla_def.h4528 uint32_t md_template_size; member