OFFSETOF
global_section_offsize_addr = public_data_addr + OFFSETOF(struct mcp_public_data, sections) + sizeof(offsize_t) * PUBLIC_GLOBAL;
mfw_ver = ecore_rd(p_hwfn, p_ptt, global_section_addr + OFFSETOF(struct public_global, mfw_ver));
signature = ecore_rd(p_hwfn, p_ptt, *trace_data_grc_addr + OFFSETOF(struct mcp_trace, signature));
*trace_data_size = ecore_rd(p_hwfn, p_ptt, *trace_data_grc_addr + OFFSETOF(struct mcp_trace, size));
#define MCP_SPAD_TRACE_OFFSIZE_ADDR (MCP_REG_SCRATCH + OFFSETOF(struct static_init, sections[SPAD_SECTION_TRACE]))
OFFSETOF(struct public_drv_mb, union_data);
OFFSETOF(struct nvm_cfg1, glob) +
OFFSETOF(struct nvm_cfg1_glob, core_cfg);
OFFSETOF(struct nvm_cfg1, port[MFW_PORT(p_hwfn)]);
OFFSETOF(struct nvm_cfg1_port, generic_cont0));
OFFSETOF(struct nvm_cfg1, port[MFW_PORT(p_hwfn)]);
OFFSETOF(struct nvm_cfg1_port, speed_cap_mask));
OFFSETOF(struct nvm_cfg1_port, link_settings));
OFFSETOF(struct nvm_cfg1_port, ext_phy));
OFFSETOF(struct nvm_cfg1, glob) +
OFFSETOF(struct nvm_cfg1_glob, generic_cont0);
OFFSETOF(struct nvm_cfg1, glob) +
OFFSETOF(struct nvm_cfg1_glob, device_capabilities);
addr = global_addr + OFFSETOF(struct public_global, max_ports);
OFFSETOF(struct public_port, eee_status));
OFFSETOF(struct pxp_ptt_entry, offset),
OFFSETOF(struct pxp_ptt_entry, pretend),
OFFSETOF(struct pxp_ptt_entry, pretend),
OFFSETOF(struct pxp_ptt_entry, pretend),
OFFSETOF(struct ecore_iwarp_ep_memory, in_pdata);
OFFSETOF(struct ecore_iwarp_ep_memory, async_output);
OFFSETOF(struct ecore_iwarp_ep_memory, out_pdata);
OFFSETOF(struct ecore_iwarp_ep_memory, in_pdata);
OFFSETOF(struct ecore_iwarp_ep_memory, async_output);
OFFSETOF(struct public_port, stats),
OFFSETOF(struct public_port,
OFFSETOF(struct public_path,
OFFSETOF(struct public_func, drv_ack_vf_disabled) +
OFFSETOF(struct public_port,
OFFSETOF(struct public_port,
OFFSETOF(struct public_port, eee_status));
OFFSETOF(struct public_port, link_status));
OFFSETOF(struct public_port, link_status)));
OFFSETOF(struct public_path, process_kill)) &
OFFSETOF(struct public_global,
OFFSETOF(struct public_port, oem_cfg_port));
OFFSETOF(struct public_global, mfw_ver));
OFFSETOF(struct public_global,
OFFSETOF(struct nvm_cfg1, glob) +
OFFSETOF(struct nvm_cfg1_glob, mbi_version);
OFFSETOF(struct public_port,
OFFSETOF(struct public_port, fc_npiv_nvram_tbl_addr));
OFFSETOF(struct public_port, fc_npiv_nvram_tbl_size));
OFFSETOF(struct public_drv_mb,
OFFSETOF(struct public_drv_mb, union_data);
OFFSETOF(struct public_drv_mb, _field), _val)
OFFSETOF(struct public_drv_mb, _field))
addr = global_addr + OFFSETOF(struct public_global, data_ptr);
OFFSETOF(struct public_global, data_size));
p_phys = p_spq->p_phys + OFFSETOF(struct ecore_spq_entry, ramrod);
OFFSETOF(struct mstorm_vf_zone,
OFFSETOF(struct ustorm_vf_zone,
OFFSETOF(struct pstorm_vf_zone,
OFFSETOF(struct mstorm_vf_zone,
(buf - OFFSETOF(struct ng_bpf_hookprog, bpf_prog));
len = OFFSETOF(struct ng_ksocket_accept, addr);
const int pathoff = OFFSETOF(struct sockaddr_un, sun_path);
const int pathoff = OFFSETOF(struct sockaddr_un, sun_path);
static const int offset = OFFSETOF(struct ng_ksocket_sockopt, value);
#define SADATA_OFFSET (OFFSETOF(struct sockaddr, sa_data))
(const struct ngm_macfilter_macs *)(buf - OFFSETOF(struct ngm_macfilter_macs, macs));
(const struct ngm_macfilter_hooks *)(buf - OFFSETOF(struct ngm_macfilter_hooks, hooks));