Lines Matching refs:each

571 	struct qlcnic_dcb_param *each;  in qlcnic_83xx_dcb_query_cee_param()  local
598 each = &mbx_out.type[j]; in qlcnic_83xx_dcb_query_cee_param()
600 each->hdr_prio_pfc_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
601 each->hdr_prio_pfc_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
602 each->prio_pg_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
603 each->prio_pg_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
604 each->pg_bw_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
605 each->pg_bw_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
606 each->pg_tsa_map[0] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
607 each->pg_tsa_map[1] = cmd.rsp.arg[k++]; in qlcnic_83xx_dcb_query_cee_param()
608 val = each->hdr_prio_pfc_map[0]; in qlcnic_83xx_dcb_query_cee_param()
612 each->app[i] = cmd.rsp.arg[i + k]; in qlcnic_83xx_dcb_query_cee_param()
615 memcpy(p, &each->hdr_prio_pfc_map[0], size); in qlcnic_83xx_dcb_query_cee_param()
657 struct qlcnic_dcb_param *each, in qlcnic_dcb_fill_cee_tc_params() argument
669 if (QLC_DCB_GET_PFC_PRIO(each->hdr_prio_pfc_map[1], i) && in qlcnic_dcb_fill_cee_tc_params()
676 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[0], i); in qlcnic_dcb_fill_cee_tc_params()
678 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[1], i); in qlcnic_dcb_fill_cee_tc_params()
687 static void qlcnic_dcb_fill_cee_pg_params(struct qlcnic_dcb_param *each, in qlcnic_dcb_fill_cee_pg_params() argument
698 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[0], i); in qlcnic_dcb_fill_cee_pg_params()
699 tsa = QLC_DCB_GET_TSA_PG(each->pg_tsa_map[0], i); in qlcnic_dcb_fill_cee_pg_params()
701 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[1], i); in qlcnic_dcb_fill_cee_pg_params()
702 tsa = QLC_DCB_GET_TSA_PG(each->pg_tsa_map[1], i); in qlcnic_dcb_fill_cee_pg_params()
712 struct qlcnic_dcb_param *each, in qlcnic_dcb_fill_cee_app_params() argument
719 num_app = qlcnic_dcb_get_num_app(adapter, each->hdr_prio_pfc_map[0]); in qlcnic_dcb_fill_cee_app_params()
725 app->selector = QLC_DCB_GET_SELECTOR_APP(each->app[i]) - 1; in qlcnic_dcb_fill_cee_app_params()
727 app->protocol = QLC_DCB_GET_PROTO_ID_APP(each->app[i]); in qlcnic_dcb_fill_cee_app_params()
729 map = qlcnic_dcb_get_prio_map_app(adapter, each->app[i]); in qlcnic_dcb_fill_cee_app_params()
746 struct qlcnic_dcb_param *each = &mbx->type[idx]; in qlcnic_dcb_map_cee_params() local
757 if (qlcnic_dcb_pfc_hdr_valid(adapter, each->hdr_prio_pfc_map[0]) && in qlcnic_dcb_map_cee_params()
761 if (qlcnic_dcb_tsa_hdr_valid(adapter, each->hdr_prio_pfc_map[0]) && in qlcnic_dcb_map_cee_params()
765 qlcnic_dcb_fill_cee_tc_params(mbx, each, type); in qlcnic_dcb_map_cee_params()
766 qlcnic_dcb_fill_cee_pg_params(each, type); in qlcnic_dcb_map_cee_params()
767 qlcnic_dcb_fill_cee_app_params(adapter, idx, each, type); in qlcnic_dcb_map_cee_params()