| /linux/drivers/interconnect/qcom/ |
| A D | sdm660.c | 158 .qos.areq_prio = 1, 160 .qos.qos_port = 3, 249 .qos.areq_prio = 1, 251 .qos.qos_port = 4, 268 .qos.areq_prio = 1, 270 .qos.qos_port = 1, 289 .qos.qos_port = 2, 327 .qos.qos_port = 0, 348 .qos.qos_port = 1, 369 .qos.qos_port = 2, [all …]
|
| A D | msm8939.c | 159 .qos.areq_prio = 0, 161 .qos.qos_port = 0, 222 .qos.areq_prio = 0, 224 .qos.qos_port = 2, 242 .qos.areq_prio = 0, 244 .qos.qos_port = 6, 262 .qos.areq_prio = 0, 264 .qos.qos_port = 7, 433 .qos.qos_port = 6, 481 .qos.qos_port = 9, [all …]
|
| A D | msm8916.c | 156 .qos.areq_prio = 0, 158 .qos.qos_port = 0, 219 .qos.areq_prio = 0, 221 .qos.qos_port = 2, 239 .qos.areq_prio = 0, 241 .qos.qos_port = 6, 261 .qos.qos_port = 7, 390 .qos.qos_port = 5, 411 .qos.qos_port = 6, 445 .qos.qos_port = 9, [all …]
|
| A D | icc-rpm.c | 43 struct qcom_icc_qos *qos, in qcom_icc_bimc_set_qos_health() argument 49 val = qos->prio_level; in qcom_icc_bimc_set_qos_health() 79 if (qn->qos.qos_mode != -1) in qcom_icc_set_bimc_qos() 80 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos() 88 &qn->qos, i); in qcom_icc_set_bimc_qos() 103 struct qcom_icc_qos *qos) in qcom_icc_noc_set_qos_priority() argument 133 if (qn->qos.qos_port < 0) { in qcom_icc_set_noc_qos() 140 if (qn->qos.qos_mode != -1) in qcom_icc_set_noc_qos() 141 mode = qn->qos.qos_mode; in qcom_icc_set_noc_qos() 227 if (!qn->qos.ap_owned) { in qcom_icc_set() [all …]
|
| /linux/drivers/base/power/ |
| A D | qos.c | 54 struct dev_pm_qos *qos = dev->power.qos; in __dev_pm_qos_flags() local 63 pqf = &qos->flags; in __dev_pm_qos_flags() 112 struct dev_pm_qos *qos = dev->power.qos; in dev_pm_qos_read_value() local 153 struct dev_pm_qos *qos = req->dev->power.qos; in apply_constraint() local 200 qos = kzalloc(sizeof(*qos), GFP_KERNEL); in dev_pm_qos_constraints_allocate() 201 if (!qos) in dev_pm_qos_constraints_allocate() 206 kfree(qos); in dev_pm_qos_constraints_allocate() 231 dev->power.qos = qos; in dev_pm_qos_constraints_allocate() 267 qos = dev->power.qos; in dev_pm_qos_constraints_destroy() 268 if (!qos) in dev_pm_qos_constraints_destroy() [all …]
|
| A D | qos-test.c | 11 struct freq_constraints qos; in freq_qos_test_min() local 15 freq_constraints_init(&qos); in freq_qos_test_min() 19 ret = freq_qos_add_request(&qos, &req1, FREQ_QOS_MIN, 1000); in freq_qos_test_min() 21 ret = freq_qos_add_request(&qos, &req2, FREQ_QOS_MIN, 2000); in freq_qos_test_min() 32 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), in freq_qos_test_min() 39 struct freq_constraints qos; in freq_qos_test_maxdef() local 43 freq_constraints_init(&qos); in freq_qos_test_maxdef() 49 ret = freq_qos_add_request(&qos, &req1, FREQ_QOS_MAX, in freq_qos_test_maxdef() 52 ret = freq_qos_add_request(&qos, &req2, FREQ_QOS_MAX, in freq_qos_test_maxdef() 80 struct freq_constraints qos; in freq_qos_test_readd() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | qos.c | 76 if (!vport->qos.enabled) in esw_qos_vport_config() 121 evport->qos.group != group || evport->qos.min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider() 158 if (!evport->enabled || !evport->qos.enabled || evport->qos.group != group) in esw_qos_normalize_vports_min_rate() 318 vport->qos.group != group || vport->qos.max_rate) in esw_qos_set_group_max_rate() 381 max_rate = vport->qos.max_rate ? vport->qos.max_rate : new_group->max_rate; in esw_qos_update_group_scheduling_element() 397 max_rate = vport->qos.max_rate ? vport->qos.max_rate : curr_group->max_rate; in esw_qos_update_group_scheduling_element() 543 if (esw->qos.enabled) in mlx5_esw_qos_create() 594 if (esw->qos.group0) in mlx5_esw_qos_destroy() 620 vport->qos.group = esw->qos.group0; in mlx5_esw_qos_vport_enable() 636 if (!esw->qos.enabled || !vport->qos.enabled) in mlx5_esw_qos_vport_disable() [all …]
|
| /linux/net/atm/ |
| A D | common.c | 429 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect() 431 error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal); in __vcc_connect() 483 vcc->qos.txtp.traffic_class, vcc->qos.txtp.min_pcr, in vcc_connect() 484 vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu, in vcc_connect() 486 vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_sdu, in vcc_connect() 489 vcc->qos.aal == ATM_AAL0 ? 0 : vcc->qos.aal); in vcc_connect() 694 if (qos->aal != vcc->qos.aal || in atm_change_qos() 698 error = adjust_tp(&qos->txtp, qos->aal); in atm_change_qos() 700 error = adjust_tp(&qos->rxtp, qos->aal); in atm_change_qos() 763 if (copy_from_sockptr(&qos, optval, sizeof(qos))) in vcc_setsockopt() [all …]
|
| A D | mpc.c | 183 entry->qos = *qos; in atm_mpoa_add_qos() 194 entry->qos = *qos; in atm_mpoa_add_qos() 210 qos = qos->next; in atm_mpoa_search_qos() 256 qos->qos.txtp.max_pcr, in atm_mpoa_disp_qos() 257 qos->qos.txtp.pcr, in atm_mpoa_disp_qos() 258 qos->qos.txtp.min_pcr, in atm_mpoa_disp_qos() 259 qos->qos.txtp.max_cdv, in atm_mpoa_disp_qos() 260 qos->qos.txtp.max_sdu, in atm_mpoa_disp_qos() 262 qos->qos.rxtp.pcr, in atm_mpoa_disp_qos() 266 qos = qos->next; in atm_mpoa_disp_qos() [all …]
|
| A D | mpoa_proc.c | 249 struct atm_qos qos; in parse_qos() local 268 qos.txtp.traffic_class = ATM_CBR; in parse_qos() 269 qos.txtp.max_pcr = tx_pcr; in parse_qos() 270 qos.txtp.max_sdu = tx_sdu; in parse_qos() 271 qos.rxtp.traffic_class = ATM_CBR; in parse_qos() 272 qos.rxtp.max_pcr = rx_pcr; in parse_qos() 273 qos.rxtp.max_sdu = rx_sdu; in parse_qos() 274 qos.aal = ATM_AAL5; in parse_qos() 276 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos() 277 qos.rxtp.max_pcr, qos.rxtp.max_sdu); in parse_qos() [all …]
|
| A D | mpoa_caches.c | 135 struct atm_mpoa_qos *qos; in cache_hit() local 147 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit() 148 if (qos != NULL) in cache_hit() 149 msg.qos = qos->qos; in cache_hit() 170 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit() 171 if (qos != NULL) in cache_hit() 172 msg.qos = qos->qos; in cache_hit() 252 struct atm_mpoa_qos *qos; in check_resolving_entries() local 286 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in check_resolving_entries() 287 if (qos != NULL) in check_resolving_entries() [all …]
|
| /linux/drivers/staging/octeon/ |
| A D | ethernet-tx.c | 75 int qos, queues_per_port; in cvm_oct_free_tx_skbs() local 83 for (qos = 0; qos < queues_per_port; qos++) { in cvm_oct_free_tx_skbs() 134 int qos; in cvm_oct_xmit() local 161 if (qos <= 0) in cvm_oct_xmit() 162 qos = 0; in cvm_oct_xmit() 164 qos = 0; in cvm_oct_xmit() 166 qos = 0; in cvm_oct_xmit() 209 qos * 4, in cvm_oct_xmit() 214 qos * 4); in cvm_oct_xmit() 664 int qos; in cvm_oct_tx_shutdown_dev() local [all …]
|
| /linux/kernel/power/ |
| A D | qos.c | 276 req->qos = &cpu_latency_constraints; in cpu_latency_qos_add_request() 437 c = &qos->min_freq; in freq_constraints_init() 446 c = &qos->max_freq; in freq_constraints_init() 468 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value() 470 pm_qos_read_value(&qos->min_freq); in freq_qos_read_value() 473 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value() 475 pm_qos_read_value(&qos->max_freq); in freq_qos_read_value() 534 if (IS_ERR_OR_NULL(qos) || !req) in freq_qos_add_request() 541 req->qos = qos; in freq_qos_add_request() 545 req->qos = NULL; in freq_qos_add_request() [all …]
|
| /linux/drivers/net/ethernet/ti/ |
| A D | am65-cpsw-qos.c | 58 return port->qos.est_oper || port->qos.est_admin; in am65_cpsw_port_est_enabled() 167 if (port->qos.est_oper) in am65_cpsw_admin_to_oper() 170 port->qos.est_oper = port->qos.est_admin; in am65_cpsw_admin_to_oper() 171 port->qos.est_admin = NULL; in am65_cpsw_admin_to_oper() 187 if (port->qos.est_oper && port->qos.est_admin && in am65_cpsw_port_est_get_buf_num() 217 if (!port->qos.est_admin) in am65_cpsw_est_update_state() 393 if (!port->qos.est_oper) in am65_cpsw_timer_act() 435 if (port->qos.est_admin) in am65_cpsw_purge_est() 438 if (port->qos.est_oper) in am65_cpsw_purge_est() 441 port->qos.est_oper = NULL; in am65_cpsw_purge_est() [all …]
|
| /linux/drivers/infiniband/hw/irdma/ |
| A D | ws.c | 49 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node() 161 mutex_lock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use() 162 if (!list_empty(&vsi->qos[user_pri].qplist)) { in irdma_tc_in_use() 163 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use() 171 if (vsi->qos[i].traffic_class == vsi->qos[user_pri].traffic_class && in irdma_tc_in_use() 172 !list_empty(&vsi->qos[i].qplist)) { in irdma_tc_in_use() 177 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use() 196 vsi->qos[i].valid = false; in irdma_remove_leaf() 208 vsi->qos[user_pri].traffic_class, in irdma_remove_leaf() 252 if (vsi->qos[user_pri].valid) in irdma_ws_add() [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| A D | cvmx-wqe.h | 483 uint64_t qos:3; member 499 uint64_t qos:3; 519 uint64_t qos:3; member 538 uint64_t qos:3; 640 int qos; in cvmx_wqe_get_qos() local 643 qos = work->word1.cn68xx.qos; in cvmx_wqe_get_qos() 645 qos = work->word1.cn38xx.qos; in cvmx_wqe_get_qos() 647 return qos; in cvmx_wqe_get_qos() 650 static inline void cvmx_wqe_set_qos(struct cvmx_wqe *work, int qos) in cvmx_wqe_set_qos() argument 653 work->word1.cn68xx.qos = qos; in cvmx_wqe_set_qos() [all …]
|
| A D | cvmx-pip.h | 267 uint64_t qos:3; member 318 uint64_t match_value, uint64_t qos) 325 watcher_config.s.qos = qos; 338 uint64_t qos) in cvmx_pip_config_vlan_qos() argument 342 pip_qos_vlanx.s.qos = qos; in cvmx_pip_config_vlan_qos() 352 static inline void cvmx_pip_config_diffserv_qos(uint64_t diffserv, uint64_t qos) in cvmx_pip_config_diffserv_qos() argument 356 pip_qos_diffx.s.qos = qos; in cvmx_pip_config_diffserv_qos()
|
| /linux/Documentation/devicetree/bindings/power/ |
| A D | rockchip,power-controller.yaml | 155 qos_hdcp: qos@ffa90000 { 156 compatible = "rockchip,rk3399-qos", "syscon"; 160 qos_iep: qos@ffa98000 { 161 compatible = "rockchip,rk3399-qos", "syscon"; 165 qos_rga_r: qos@ffab0000 { 166 compatible = "rockchip,rk3399-qos", "syscon"; 170 qos_rga_w: qos@ffab0080 { 171 compatible = "rockchip,rk3399-qos", "syscon"; 175 qos_video_m0: qos@ffab8000 { 180 qos_video_m1_r: qos@ffac0000 { [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| A D | rk356x.dtsi | 450 qos_gpu: qos@fe128000 { 470 qos_isp: qos@fe148000 { 475 qos_vicap0: qos@fe148080 { 480 qos_vicap1: qos@fe148100 { 485 qos_vpu: qos@fe150000 { 490 qos_ebc: qos@fe158000 { 495 qos_iep: qos@fe158100 { 520 qos_npu: qos@fe180000 { 530 qos_sata1: qos@fe190280 { 535 qos_sata2: qos@fe190300 { [all …]
|
| A D | rk3568.dtsi | 11 qos_pcie3x1: qos@fe190080 { 12 compatible = "rockchip,rk3568-qos", "syscon"; 16 qos_pcie3x2: qos@fe190100 { 17 compatible = "rockchip,rk3568-qos", "syscon"; 21 qos_sata0: qos@fe190200 { 22 compatible = "rockchip,rk3568-qos", "syscon";
|
| /linux/include/linux/ |
| A D | pm_qos.h | 63 struct pm_qos_constraints *qos; member 95 struct freq_constraints *qos; member 202 return dev->power.qos->flags_req->data.flr.flags; in dev_pm_qos_requested_flags() 207 return IS_ERR_OR_NULL(dev->power.qos) ? in dev_pm_qos_raw_resume_latency() 209 pm_qos_read_value(&dev->power.qos->resume_latency); in dev_pm_qos_raw_resume_latency() 296 return !IS_ERR_OR_NULL(req->qos); in freq_qos_request_active() 299 void freq_constraints_init(struct freq_constraints *qos); 301 s32 freq_qos_read_value(struct freq_constraints *qos, 304 int freq_qos_add_request(struct freq_constraints *qos, 312 int freq_qos_add_notifier(struct freq_constraints *qos, [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| A D | syscon.yaml | 48 - rockchip,px30-qos 49 - rockchip,rk3036-qos 50 - rockchip,rk3066-qos 51 - rockchip,rk3228-qos 52 - rockchip,rk3288-qos 53 - rockchip,rk3368-qos 54 - rockchip,rk3399-qos 55 - rockchip,rk3568-qos
|
| /linux/arch/arm/boot/dts/ |
| A D | rk3xxx.dtsi | 118 qos_gpu: qos@1012d000 { 119 compatible = "rockchip,rk3066-qos", "syscon"; 123 qos_vpu: qos@1012e000 { 124 compatible = "rockchip,rk3066-qos", "syscon"; 128 qos_lcdc0: qos@1012f000 { 129 compatible = "rockchip,rk3066-qos", "syscon"; 133 qos_cif0: qos@1012f080 { 138 qos_ipp: qos@1012f100 { 143 qos_lcdc1: qos@1012f180 { 148 qos_cif1: qos@1012f200 { [all …]
|
| /linux/drivers/atm/ |
| A D | iphase.c | 476 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup() 480 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup() 1772 if (vcc->qos.txtp.max_sdu > 1786 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0)) 1788 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0)) 1789 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr; 1803 if (vcc->qos.txtp.max_sdu != 0) { 1855 if (vcc->qos.txtp.icr) 1857 if (vcc->qos.txtp.tbe) 1861 if (vcc->qos.txtp.rif) [all …]
|
| A D | fore200e.c | 976 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1343 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1345 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open() 1348 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open() 1394 vcc->qos.txtp.max_pcr, vcc->qos.rxtp.max_pcr, in fore200e_open() 1503 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_send() 1899 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, in fore200e_change_qos() 1901 qos->rxtp.min_pcr, qos->rxtp.max_pcr, qos->rxtp.max_cdv, qos->rxtp.max_sdu, in fore200e_change_qos() 1904 if ((qos->txtp.traffic_class == ATM_CBR) && (qos->txtp.max_pcr > 0)) { in fore200e_change_qos() 1907 if (fore200e->available_cell_rate + vcc->qos.txtp.max_pcr < qos->txtp.max_pcr) { in fore200e_change_qos() [all …]
|