nvm_cfg1
u32_t nvm_cfg1;
REG_RD(pdev, nvm.nvm_cfg1, &val);
REG_WR(pdev, nvm.nvm_cfg1, val | NVM_CFG1_BITBANG_MODE);
REG_RD(pdev, nvm.nvm_cfg1, &idx);
REG_WR(pdev, nvm.nvm_cfg1, idx & ~NVM_CFG1_BITBANG_MODE);
REG_WR(pdev, nvm.nvm_cfg1, val);
REG_RD(pdev, nvm.nvm_cfg1, &val);
offsetof(struct nvm_cfg1, glob) +
offsetof(struct nvm_cfg1, port[MFW_PORT(p_hwfn)]);
offsetof(struct nvm_cfg1, port[MFW_PORT(p_hwfn)]);
offsetof(struct nvm_cfg1, glob) +
offsetof(struct nvm_cfg1, glob) +
offsetof(struct nvm_cfg1, glob) +
offsetof(struct nvm_cfg1, port[port]);
offsetof(struct nvm_cfg1, glob.core_cfg));
struct nvm_cfg1 cfg1;