Lines Matching refs:dcbxcfg
2874 struct ocrdma_dcbx_cfg *dcbxcfg) in ocrdma_mbx_get_dcbx_config() argument
2910 memcpy(dcbxcfg, &rsp->cfg, sizeof(struct ocrdma_dcbx_cfg)); in ocrdma_mbx_get_dcbx_config()
2922 struct ocrdma_dcbx_cfg *dcbxcfg, in ocrdma_parse_dcbxcfg_rsp() argument
2932 if (!(dcbxcfg->tcv_aev_opv_st & OCRDMA_DCBX_STATE_MASK)) { in ocrdma_parse_dcbxcfg_rsp()
2938 if (!ocrdma_is_enabled_and_synced(dcbxcfg->pfc_state)) { in ocrdma_parse_dcbxcfg_rsp()
2942 (dcbxcfg->pfc_state & OCRDMA_STATE_FLAG_ENABLED) ? in ocrdma_parse_dcbxcfg_rsp()
2944 (dcbxcfg->pfc_state & OCRDMA_STATE_FLAG_SYNC) ? in ocrdma_parse_dcbxcfg_rsp()
2952 ventry_cnt = (dcbxcfg->tcv_aev_opv_st >> in ocrdma_parse_dcbxcfg_rsp()
2957 app_param = &dcbxcfg->app_param[indx]; in ocrdma_parse_dcbxcfg_rsp()
2976 (u8 *)dcbxcfg->pfc_prio, in ocrdma_parse_dcbxcfg_rsp()
3000 struct ocrdma_dcbx_cfg dcbxcfg; in ocrdma_init_service_level() local
3005 status = ocrdma_mbx_get_dcbx_config(dev, ptype, &dcbxcfg); in ocrdma_init_service_level()
3013 &dcbxcfg, &srvc_lvl); in ocrdma_init_service_level()
3030 dev->pfc_state = ocrdma_is_enabled_and_synced(dcbxcfg.pfc_state); in ocrdma_init_service_level()