Lines Matching full:qos

19 /* QNOC QoS */
26 /* BIMC QoS */
39 /* NoC QoS */
58 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos() local
62 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
64 qos->areq_prio << QNOC_QOS_MCTL_DFLT_PRIO_SHIFT); in qcom_icc_set_qnoc_qos()
69 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
71 !!qos->urg_fwd_en << QNOC_QOS_MCTL_URGFWD_EN_SHIFT); in qcom_icc_set_qnoc_qos()
75 struct qcom_icc_qos *qos, in qcom_icc_bimc_set_qos_health() argument
81 val = qos->prio_level; in qcom_icc_bimc_set_qos_health()
84 val |= qos->areq_prio << M_BKE_HEALTH_CFG_AREQPRIO_SHIFT; in qcom_icc_bimc_set_qos_health()
89 val |= qos->limit_commands << M_BKE_HEALTH_CFG_LIMITCMDS_SHIFT; in qcom_icc_bimc_set_qos_health()
94 qp->qos_offset + M_BKE_HEALTH_CFG_ADDR(regnum, qos->qos_port), in qcom_icc_bimc_set_qos_health()
111 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) in qcom_icc_set_bimc_qos()
112 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos()
114 /* QoS Priority: The QoS Health parameters are getting considered in qcom_icc_set_bimc_qos()
120 &qn->qos, i); in qcom_icc_set_bimc_qos()
130 qp->qos_offset + M_BKE_EN_ADDR(qn->qos.qos_port), in qcom_icc_set_bimc_qos()
135 struct qcom_icc_qos *qos) in qcom_icc_noc_set_qos_priority() argument
141 val = qos->areq_prio << NOC_QOS_PRIORITY_P1_SHIFT; in qcom_icc_noc_set_qos_priority()
143 qp->qos_offset + NOC_QOS_PRIORITYn_ADDR(qos->qos_port), in qcom_icc_noc_set_qos_priority()
149 qp->qos_offset + NOC_QOS_PRIORITYn_ADDR(qos->qos_port), in qcom_icc_noc_set_qos_priority()
150 NOC_QOS_PRIORITY_P0_MASK, qos->prio_level); in qcom_icc_noc_set_qos_priority()
165 if (qn->qos.qos_port < 0) { in qcom_icc_set_noc_qos()
167 "NoC QoS: Skipping %s: vote aggregated on parent.\n", in qcom_icc_set_noc_qos()
172 if (qn->qos.qos_mode == NOC_QOS_MODE_FIXED) { in qcom_icc_set_noc_qos()
173 dev_dbg(src->provider->dev, "NoC QoS: %s: Set Fixed mode\n", qn->name); in qcom_icc_set_noc_qos()
175 rc = qcom_icc_noc_set_qos_priority(qp, &qn->qos); in qcom_icc_set_noc_qos()
178 } else if (qn->qos.qos_mode == NOC_QOS_MODE_BYPASS) { in qcom_icc_set_noc_qos()
179 dev_dbg(src->provider->dev, "NoC QoS: %s: Set Bypass mode\n", qn->name); in qcom_icc_set_noc_qos()
186 qp->qos_offset + NOC_QOS_MODEn_ADDR(qn->qos.qos_port), in qcom_icc_set_noc_qos()
195 dev_dbg(node->provider->dev, "Setting QoS for %s\n", qn->name); in qcom_icc_qos_set()
212 if (qn->qos.ap_owned) in qcom_icc_rpm_set()
587 /* Set QoS registers (we only need to do it once, generally) */ in qnoc_probe()
588 if (qnodes[i]->qos.ap_owned && in qnoc_probe()
589 qnodes[i]->qos.qos_mode != NOC_QOS_MODE_INVALID) { in qnoc_probe()