Searched refs:mf_cfg (Results 1 – 5 of 5) sorted by relevance
397 ((base) + offsetof(struct mf_cfg, field))
1285 static inline u16 bnx2x_extract_max_cfg(struct bnx2x *bp, u32 mf_cfg) in bnx2x_extract_max_cfg() argument1287 u16 max_cfg = (mf_cfg & FUNC_MF_CFG_MAX_BW_MASK) >> in bnx2x_extract_max_cfg()
1607 u32 mf_cfg = bp->mf_config[BP_VN(bp)]; in bnx2x_update_max_mf_config() local1609 if (value != bnx2x_extract_max_cfg(bp, mf_cfg)) { in bnx2x_update_max_mf_config()1611 mf_cfg &= ~FUNC_MF_CFG_MAX_BW_MASK; in bnx2x_update_max_mf_config()1614 mf_cfg |= (value << FUNC_MF_CFG_MAX_BW_SHIFT) in bnx2x_update_max_mf_config()1617 bnx2x_fw_command(bp, DRV_MSG_CODE_SET_MF_BW, mf_cfg); in bnx2x_update_max_mf_config()
220 offsetof(struct mf_cfg, field))
1616 struct mf_cfg { struct