Lines Matching refs:each
570 struct qlcnic_dcb_param *each; in qlcnic_83xx_dcb_query_cee_param() local
597 each = &mbx_out.type[j]; in qlcnic_83xx_dcb_query_cee_param()
599 each->hdr_prio_pfc_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
600 each->hdr_prio_pfc_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
601 each->prio_pg_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
602 each->prio_pg_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
603 each->pg_bw_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
604 each->pg_bw_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
605 each->pg_tsa_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
606 each->pg_tsa_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
607 val = each->hdr_prio_pfc_map[0]; in qlcnic_83xx_dcb_query_cee_param()
611 each->app[i] = cmd.rsp.arg[i + k]; in qlcnic_83xx_dcb_query_cee_param()
614 memcpy(p, &each->hdr_prio_pfc_map[0], size); in qlcnic_83xx_dcb_query_cee_param()
656 struct qlcnic_dcb_param *each, in qlcnic_dcb_fill_cee_tc_params() argument
668 if (QLC_DCB_GET_PFC_PRIO(each->hdr_prio_pfc_map[1], i) && in qlcnic_dcb_fill_cee_tc_params()
675 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[0], i); in qlcnic_dcb_fill_cee_tc_params()
677 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[1], i); in qlcnic_dcb_fill_cee_tc_params()
686 static void qlcnic_dcb_fill_cee_pg_params(struct qlcnic_dcb_param *each, in qlcnic_dcb_fill_cee_pg_params() argument
697 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[0], i); in qlcnic_dcb_fill_cee_pg_params()
698 tsa = QLC_DCB_GET_TSA_PG(each->pg_tsa_map[0], i); in qlcnic_dcb_fill_cee_pg_params()
700 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[1], i); in qlcnic_dcb_fill_cee_pg_params()
701 tsa = QLC_DCB_GET_TSA_PG(each->pg_tsa_map[1], i); in qlcnic_dcb_fill_cee_pg_params()
711 struct qlcnic_dcb_param *each, in qlcnic_dcb_fill_cee_app_params() argument
718 num_app = qlcnic_dcb_get_num_app(adapter, each->hdr_prio_pfc_map[0]); in qlcnic_dcb_fill_cee_app_params()
724 app->selector = QLC_DCB_GET_SELECTOR_APP(each->app[i]) - 1; in qlcnic_dcb_fill_cee_app_params()
726 app->protocol = QLC_DCB_GET_PROTO_ID_APP(each->app[i]); in qlcnic_dcb_fill_cee_app_params()
728 map = qlcnic_dcb_get_prio_map_app(adapter, each->app[i]); in qlcnic_dcb_fill_cee_app_params()
745 struct qlcnic_dcb_param *each = &mbx->type[idx]; in qlcnic_dcb_map_cee_params() local
756 if (qlcnic_dcb_pfc_hdr_valid(adapter, each->hdr_prio_pfc_map[0]) && in qlcnic_dcb_map_cee_params()
760 if (qlcnic_dcb_tsa_hdr_valid(adapter, each->hdr_prio_pfc_map[0]) && in qlcnic_dcb_map_cee_params()
764 qlcnic_dcb_fill_cee_tc_params(mbx, each, type); in qlcnic_dcb_map_cee_params()
765 qlcnic_dcb_fill_cee_pg_params(each, type); in qlcnic_dcb_map_cee_params()
766 qlcnic_dcb_fill_cee_app_params(adapter, idx, each, type); in qlcnic_dcb_map_cee_params()