Lines Matching full:qos
22 /* QNOC QoS */
29 /* BIMC QoS */
42 /* NoC QoS */
56 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos() local
60 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
62 qos->areq_prio << QNOC_QOS_MCTL_DFLT_PRIO_SHIFT); in qcom_icc_set_qnoc_qos()
67 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
69 !!qos->urg_fwd_en << QNOC_QOS_MCTL_URGFWD_EN_SHIFT); in qcom_icc_set_qnoc_qos()
73 struct qcom_icc_qos *qos, in qcom_icc_bimc_set_qos_health() argument
79 val = qos->prio_level; in qcom_icc_bimc_set_qos_health()
82 val |= qos->areq_prio << M_BKE_HEALTH_CFG_AREQPRIO_SHIFT; in qcom_icc_bimc_set_qos_health()
87 val |= qos->limit_commands << M_BKE_HEALTH_CFG_LIMITCMDS_SHIFT; in qcom_icc_bimc_set_qos_health()
92 qp->qos_offset + M_BKE_HEALTH_CFG_ADDR(regnum, qos->qos_port), in qcom_icc_bimc_set_qos_health()
109 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) in qcom_icc_set_bimc_qos()
110 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos()
112 /* QoS Priority: The QoS Health parameters are getting considered in qcom_icc_set_bimc_qos()
118 &qn->qos, i); in qcom_icc_set_bimc_qos()
128 qp->qos_offset + M_BKE_EN_ADDR(qn->qos.qos_port), in qcom_icc_set_bimc_qos()
133 struct qcom_icc_qos *qos) in qcom_icc_noc_set_qos_priority() argument
139 val = qos->areq_prio << NOC_QOS_PRIORITY_P1_SHIFT; in qcom_icc_noc_set_qos_priority()
141 qp->qos_offset + NOC_QOS_PRIORITYn_ADDR(qos->qos_port), in qcom_icc_noc_set_qos_priority()
147 qp->qos_offset + NOC_QOS_PRIORITYn_ADDR(qos->qos_port), in qcom_icc_noc_set_qos_priority()
148 NOC_QOS_PRIORITY_P0_MASK, qos->prio_level); in qcom_icc_noc_set_qos_priority()
163 if (qn->qos.qos_port < 0) { in qcom_icc_set_noc_qos()
165 "NoC QoS: Skipping %s: vote aggregated on parent.\n", in qcom_icc_set_noc_qos()
170 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) in qcom_icc_set_noc_qos()
171 mode = qn->qos.qos_mode; in qcom_icc_set_noc_qos()
174 dev_dbg(src->provider->dev, "NoC QoS: %s: Set Fixed mode\n", in qcom_icc_set_noc_qos()
176 rc = qcom_icc_noc_set_qos_priority(qp, &qn->qos); in qcom_icc_set_noc_qos()
180 dev_dbg(src->provider->dev, "NoC QoS: %s: Set Bypass mode\n", in qcom_icc_set_noc_qos()
185 qp->qos_offset + NOC_QOS_MODEn_ADDR(qn->qos.qos_port), in qcom_icc_set_noc_qos()
194 dev_dbg(node->provider->dev, "Setting QoS for %s\n", qn->name); in qcom_icc_qos_set()
242 if (!qn->qos.ap_owned) { in __qcom_icc_set()
247 } else if (qn->qos.qos_mode != -1) { in __qcom_icc_set()