Lines Matching refs:qcn

542 				     struct ieee_qcn *qcn)  in mlx4_en_dcbnl_ieee_getqcn()  argument
575 qcn->rpg_enable[i] = in mlx4_en_dcbnl_ieee_getqcn()
577 qcn->rppp_max_rps[i] = in mlx4_en_dcbnl_ieee_getqcn()
579 qcn->rpg_time_reset[i] = in mlx4_en_dcbnl_ieee_getqcn()
581 qcn->rpg_byte_reset[i] = in mlx4_en_dcbnl_ieee_getqcn()
583 qcn->rpg_threshold[i] = in mlx4_en_dcbnl_ieee_getqcn()
585 qcn->rpg_max_rate[i] = in mlx4_en_dcbnl_ieee_getqcn()
587 qcn->rpg_ai_rate[i] = in mlx4_en_dcbnl_ieee_getqcn()
589 qcn->rpg_hai_rate[i] = in mlx4_en_dcbnl_ieee_getqcn()
591 qcn->rpg_gd[i] = in mlx4_en_dcbnl_ieee_getqcn()
593 qcn->rpg_min_dec_fac[i] = in mlx4_en_dcbnl_ieee_getqcn()
595 qcn->rpg_min_rate[i] = in mlx4_en_dcbnl_ieee_getqcn()
597 qcn->cndd_state_machine[i] = in mlx4_en_dcbnl_ieee_getqcn()
605 struct ieee_qcn *qcn) in mlx4_en_dcbnl_ieee_setqcn() argument
638 hw_qcn->extended_enable = cpu_to_be32(qcn->rpg_enable[i] << RPG_ENABLE_BIT); in mlx4_en_dcbnl_ieee_setqcn()
639 hw_qcn->rppp_max_rps = cpu_to_be32(qcn->rppp_max_rps[i]); in mlx4_en_dcbnl_ieee_setqcn()
640 hw_qcn->rpg_time_reset = cpu_to_be32(qcn->rpg_time_reset[i]); in mlx4_en_dcbnl_ieee_setqcn()
641 hw_qcn->rpg_byte_reset = cpu_to_be32(qcn->rpg_byte_reset[i]); in mlx4_en_dcbnl_ieee_setqcn()
642 hw_qcn->rpg_threshold = cpu_to_be32(qcn->rpg_threshold[i]); in mlx4_en_dcbnl_ieee_setqcn()
643 hw_qcn->rpg_max_rate = cpu_to_be32(qcn->rpg_max_rate[i]); in mlx4_en_dcbnl_ieee_setqcn()
644 hw_qcn->rpg_ai_rate = cpu_to_be32(qcn->rpg_ai_rate[i]); in mlx4_en_dcbnl_ieee_setqcn()
645 hw_qcn->rpg_hai_rate = cpu_to_be32(qcn->rpg_hai_rate[i]); in mlx4_en_dcbnl_ieee_setqcn()
646 hw_qcn->rpg_gd = cpu_to_be32(qcn->rpg_gd[i]); in mlx4_en_dcbnl_ieee_setqcn()
647 hw_qcn->rpg_min_dec_fac = cpu_to_be32(qcn->rpg_min_dec_fac[i]); in mlx4_en_dcbnl_ieee_setqcn()
648 hw_qcn->rpg_min_rate = cpu_to_be32(qcn->rpg_min_rate[i]); in mlx4_en_dcbnl_ieee_setqcn()
649 priv->cndd_state[i] = qcn->cndd_state_machine[i]; in mlx4_en_dcbnl_ieee_setqcn()
650 if (qcn->cndd_state_machine[i] == DCB_CNDD_INTERIOR_READY) in mlx4_en_dcbnl_ieee_setqcn()