Lines Matching refs:mdump

96 	adapter->mdump.md_template_size = cmd.rsp.arg2;  in netxen_get_minidump_template_size()
97 adapter->mdump.md_template_ver = cmd.rsp.arg3; in netxen_get_minidump_template_size()
108 size = adapter->mdump.md_template_size; in netxen_get_minidump_template()
132 memcpy(adapter->mdump.md_template, addr, size); in netxen_get_minidump_template()
145 u32 *buff = adapter->mdump.md_template; in netxen_check_template_checksum()
146 int count = adapter->mdump.md_template_size/sizeof(uint32_t) ; in netxen_check_template_checksum()
163 adapter->mdump.fw_supports_md = 0; in netxen_setup_minidump()
174 if (!adapter->mdump.md_template_size) { in netxen_setup_minidump()
179 adapter->mdump.md_template = in netxen_setup_minidump()
180 kmalloc(adapter->mdump.md_template_size, GFP_KERNEL); in netxen_setup_minidump()
182 if (!adapter->mdump.md_template) in netxen_setup_minidump()
188 adapter->mdump.fw_supports_md = 0; in netxen_setup_minidump()
198 adapter->mdump.md_capture_mask = NX_DUMP_MASK_DEF; in netxen_setup_minidump()
199 tmp_buf = (u32 *) adapter->mdump.md_template; in netxen_setup_minidump()
200 template = (u32 *) adapter->mdump.md_template; in netxen_setup_minidump()
201 for (i = 0; i < adapter->mdump.md_template_size/sizeof(u32); i++) in netxen_setup_minidump()
203 adapter->mdump.md_capture_buff = NULL; in netxen_setup_minidump()
204 adapter->mdump.fw_supports_md = 1; in netxen_setup_minidump()
205 adapter->mdump.md_enabled = 0; in netxen_setup_minidump()
210 kfree(adapter->mdump.md_template); in netxen_setup_minidump()
211 adapter->mdump.md_template = NULL; in netxen_setup_minidump()