Searched refs:mdump (Results 1 – 5 of 5) sorted by relevance
810 struct netxen_minidump *mdump = &adapter->mdump; in netxen_get_dump_flag() local812 dump->len = mdump->md_dump_size; in netxen_get_dump_flag()816 if (!mdump->md_enabled) in netxen_get_dump_flag()819 dump->flag = mdump->md_capture_mask; in netxen_get_dump_flag()833 struct netxen_minidump *mdump = &adapter->mdump; in netxen_set_dump() local837 if (!mdump->md_enabled) { in netxen_set_dump()849 if (mdump->md_enabled) { in netxen_set_dump()851 mdump->md_enabled = 0; in netxen_set_dump()855 if (!mdump->md_enabled) { in netxen_set_dump()857 mdump->md_enabled = 1; in netxen_set_dump()[all …]
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()[all …]
2335 void *template_buff = adapter->mdump.md_template; in netxen_parse_md_template()2336 char *dump_buff = adapter->mdump.md_capture_buff; in netxen_parse_md_template()2337 int capture_mask = adapter->mdump.md_capture_mask; in netxen_parse_md_template()2350 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()2484 adapter->mdump.md_template; in netxen_collect_minidump()2485 hdr->driver_capture_mask = adapter->mdump.md_capture_mask; in netxen_collect_minidump()2504 adapter->mdump.md_template; in netxen_dump_fw()2505 capture_mask = adapter->mdump.md_capture_mask; in netxen_dump_fw()2514 adapter->mdump.md_capture_mask); in netxen_dump_fw()[all …]
846 if (adapter->mdump.md_template == NULL || in netxen_check_options()848 kfree(adapter->mdump.md_template); in netxen_check_options()849 adapter->mdump.md_template = NULL; in netxen_check_options()1612 kfree(adapter->mdump.md_template); in netxen_cleanup_minidump()1613 adapter->mdump.md_template = NULL; in netxen_cleanup_minidump()1615 if (adapter->mdump.md_capture_buff) { in netxen_cleanup_minidump()1616 vfree(adapter->mdump.md_capture_buff); in netxen_cleanup_minidump()1617 adapter->mdump.md_capture_buff = NULL; in netxen_cleanup_minidump()2532 if (adapter->mdump.md_enabled) { in netxen_fwinit_work()
1680 struct netxen_minidump mdump; /* mdump ptr */ member