/Linux-v5.15/drivers/base/power/ |
D | qos.c | 54 struct dev_pm_qos *qos = dev->power.qos; in __dev_pm_qos_flags() local 60 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags() 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 120 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_RESUME_LATENCY_NO_CONSTRAINT in dev_pm_qos_read_value() 121 : pm_qos_read_value(&qos->resume_latency); in dev_pm_qos_read_value() 124 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE in dev_pm_qos_read_value() 125 : freq_qos_read_value(&qos->freq, FREQ_QOS_MIN); in dev_pm_qos_read_value() 128 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_MAX_FREQUENCY_DEFAULT_VALUE in dev_pm_qos_read_value() 129 : freq_qos_read_value(&qos->freq, FREQ_QOS_MAX); in dev_pm_qos_read_value() [all …]
|
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() 24 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 2000); in freq_qos_test_min() 28 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 1000); 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() 46 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MAX), in freq_qos_test_maxdef() [all …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | qos.c | 30 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_qos_tsar_config() 54 esw->qos.root_tsar_ix, group->tsar_ix, in esw_qos_group_config() 70 struct mlx5_esw_rate_group *group = vport->qos.group; in esw_qos_vport_config() 76 if (!vport->qos.enabled) in esw_qos_vport_config() 79 parent_tsar_ix = group ? group->tsar_ix : esw->qos.root_tsar_ix; in esw_qos_vport_config() 86 err = esw_qos_tsar_config(dev, sched_ctx, parent_tsar_ix, vport->qos.esw_tsar_ix, in esw_qos_vport_config() 113 list_for_each_entry(group, &esw->qos.groups, list) { in esw_qos_calculate_min_rate_divider() 120 if (!evport->enabled || !evport->qos.enabled || in esw_qos_calculate_min_rate_divider() 121 evport->qos.group != group || evport->qos.min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider() 123 max_guarantee = evport->qos.min_rate; in esw_qos_calculate_min_rate_divider() [all …]
|
/Linux-v5.15/net/atm/ |
D | common.c | 104 return (vcc->qos.txtp.max_sdu + in vcc_writable() 159 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create() 324 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci() 325 ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) || in check_ci() 326 (walk->qos.rxtp.traffic_class != ATM_NONE && in check_ci() 327 vcc->qos.rxtp.traffic_class != ATM_NONE))) in check_ci() 408 switch (vcc->qos.aal) { in __vcc_connect() 419 vcc->qos.aal = ATM_AAL5; in __vcc_connect() 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() [all …]
|
D | mpc.c | 177 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos) in atm_mpoa_add_qos() argument 183 entry->qos = *qos; in atm_mpoa_add_qos() 194 entry->qos = *qos; in atm_mpoa_add_qos() 204 struct atm_mpoa_qos *qos; in atm_mpoa_search_qos() local 206 qos = qos_head; in atm_mpoa_search_qos() 207 while (qos) { in atm_mpoa_search_qos() 208 if (qos->ipaddr == dst_ip) in atm_mpoa_search_qos() 210 qos = qos->next; in atm_mpoa_search_qos() 213 return qos; in atm_mpoa_search_qos() 247 struct atm_mpoa_qos *qos; in atm_mpoa_disp_qos() local [all …]
|
D | mpoa_proc.c | 249 struct atm_qos qos; in parse_qos() local 251 memset(&qos, 0, sizeof(struct atm_qos)); in parse_qos() 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() [all …]
|
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 …]
|
D | signaling.c | 49 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos() 94 session_vcc->qos = msg->qos; in sigd_send() 144 const struct sockaddr_atmsvc *svc, const struct atm_qos *qos, in sigd_enq2() argument 159 if (qos) in sigd_enq2() 160 msg->qos = *qos; in sigd_enq2() 183 sigd_enq2(vcc, type, listen_vcc, pvc, svc, vcc ? &vcc->qos : NULL, 0); in sigd_enq()
|
D | mpc.h | 44 struct atm_qos qos; member 49 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos); 51 int atm_mpoa_delete_qos(struct atm_mpoa_qos *qos);
|
D | svc.c | 68 sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0); in svc_disconnect() 195 if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS || in svc_connect() 196 vcc->qos.rxtp.traffic_class == ATM_ANYCLASS) { in svc_connect() 200 if (!vcc->qos.txtp.traffic_class && in svc_connect() 201 !vcc->qos.rxtp.traffic_class) { in svc_connect() 268 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect() 269 vcc->qos.txtp.pcr = 0; in svc_connect() 270 vcc->qos.txtp.min_pcr = 0; in svc_connect() 375 new_vcc->qos = msg->qos; in svc_accept() 387 &old_vcc->qos, error); in svc_accept() [all …]
|
/Linux-v5.15/drivers/staging/octeon/ |
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() 84 if (skb_queue_len(&priv->tx_free_list[qos]) == 0) in cvm_oct_free_tx_skbs() 86 skb_to_free = cvmx_fau_fetch_and_add32(priv->fau + qos * 4, in cvm_oct_free_tx_skbs() 89 priv->fau + qos * 4); in cvm_oct_free_tx_skbs() 94 spin_lock_irqsave(&priv->tx_free_list[qos].lock, flags); in cvm_oct_free_tx_skbs() 98 t = __skb_dequeue(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 103 spin_unlock_irqrestore(&priv->tx_free_list[qos].lock, in cvm_oct_free_tx_skbs() 113 total_remaining += skb_queue_len(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 134 int qos; in cvm_oct_xmit() local [all …]
|
/Linux-v5.15/kernel/power/ |
D | qos.c | 240 return req->qos == &cpu_latency_constraints; in cpu_latency_qos_request_active() 247 int ret = pm_qos_update_target(req->qos, &req->node, action, value); in cpu_latency_qos_apply() 276 req->qos = &cpu_latency_constraints; in cpu_latency_qos_add_request() 433 void freq_constraints_init(struct freq_constraints *qos) in freq_constraints_init() argument 437 c = &qos->min_freq; in freq_constraints_init() 443 c->notifiers = &qos->min_freq_notifiers; in freq_constraints_init() 446 c = &qos->max_freq; in freq_constraints_init() 452 c->notifiers = &qos->max_freq_notifiers; in freq_constraints_init() 461 s32 freq_qos_read_value(struct freq_constraints *qos, in freq_qos_read_value() argument 468 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value() [all …]
|
/Linux-v5.15/drivers/net/ethernet/ti/ |
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() 168 devm_kfree(&ndev->dev, 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() 188 est_new->buf == port->qos.est_oper->buf) in am65_cpsw_port_est_get_buf_num() 217 if (!port->qos.est_admin) in am65_cpsw_est_update_state() 306 port->qos.link_speed); in am65_cpsw_est_check_scheds() 336 port->qos.link_speed); in am65_cpsw_est_set_sched_list() [all …]
|
/Linux-v5.15/drivers/infiniband/hw/irdma/ |
D | ws.c | 47 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node() 49 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node() 53 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle; in irdma_alloc_node() 114 vsi->qos[node->user_pri].qs_handle = node_info.qs_handle; in irdma_ws_cqp_cmd() 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() 173 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use() [all …]
|
/Linux-v5.15/arch/mips/include/asm/octeon/ |
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 …]
|
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-v5.15/include/linux/ |
D | pm_qos.h | 63 struct pm_qos_constraints *qos; member 95 struct freq_constraints *qos; member 197 return dev->power.qos->resume_latency_req->data.pnode.prio; in dev_pm_qos_requested_resume_latency() 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, [all …]
|
/Linux-v5.15/drivers/interconnect/qcom/ |
D | sdm660.c | 244 struct qcom_icc_qos qos; member 262 .qos.ap_owned = _ap_owned, \ 263 .qos.qos_mode = _qos_mode, \ 264 .qos.areq_prio = _qos_prio, \ 265 .qos.prio_level = _qos_prio, \ 266 .qos.qos_port = _qos_port, \ 569 struct qcom_icc_qos *qos, in qcom_icc_bimc_set_qos_health() argument 575 val = qos->prio_level; in qcom_icc_bimc_set_qos_health() 578 val |= qos->areq_prio << M_BKE_HEALTH_CFG_AREQPRIO_SHIFT; in qcom_icc_bimc_set_qos_health() 583 val |= qos->limit_commands << M_BKE_HEALTH_CFG_LIMITCMDS_SHIFT; in qcom_icc_bimc_set_qos_health() [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
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 { 134 compatible = "rockchip,rk3066-qos", "syscon"; 138 qos_ipp: qos@1012f100 { 139 compatible = "rockchip,rk3066-qos", "syscon"; [all …]
|
/Linux-v5.15/drivers/atm/ |
D | iphase.c | 246 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup() 476 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup() 480 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup() 1384 if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0; 1386 if (vcc->qos.rxtp.traffic_class == ATM_ABR) { 1401 if ((vcc->qos.rxtp.traffic_class == ATM_ABR) || 1402 (vcc->qos.txtp.traffic_class == ATM_ABR)) 1728 if (vcc->qos.txtp.pcr >= iadev->rate_limit) { 1757 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; 1761 if (vcc->qos.txtp.traffic_class == ATM_ABR) { [all …]
|
D | fore200e.c | 976 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1231 enum fore200e_aal aal = fore200e_atm2fore_aal(vcc->qos.aal); in fore200e_activate_vcin() 1288 fore200e_rate_ctrl(struct atm_qos* qos, struct tpd_rate* rate) in fore200e_rate_ctrl() argument 1290 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl() 1293 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl() 1341 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1342 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], in fore200e_open() 1343 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1344 fore200e_traffic_class[ vcc->qos.rxtp.traffic_class ], 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() [all …]
|
D | lanai.c | 696 if (lvcc->rx.atmvcc->qos.aal == ATM_AAL5) { in host_vcc_start_rx() 727 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? in host_vcc_start_tx() 788 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || in lanai_shutdown_tx_vci() 1499 struct lanai_vcc *lvcc, const struct atm_qos *qos) in lanai_setup_rx_vci_aal5() argument 1502 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX"); in lanai_setup_rx_vci_aal5() 1507 const struct atm_qos *qos) in lanai_setup_tx_vci() argument 1510 if (qos->aal == ATM_AAL0) { in lanai_setup_tx_vci() 1516 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci() 1652 if (unlikely(lvcc->rx.atmvcc->qos.aal != ATM_AAL5)) { in handle_service() 1970 const struct atm_qos *qos) in vci0_is_ok() argument [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | snps,dwc-qos-ethernet.txt | 14 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10" 16 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10" 18 - "snps,dwc-qos-ethernet-4.10" 20 "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10". It is supported to be 72 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10": 78 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10": 83 - "snps,dwc-qos-ethernet-4.10" (deprecated): 97 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10": 99 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10": 101 - "snps,dwc-qos-ethernet-4.10" (deprecated): [all …]
|
/Linux-v5.15/net/mac80211/ |
D | wme.c | 148 bool qos; in __ieee80211_select_queue() local 153 qos = true; in __ieee80211_select_queue() 155 qos = sta->sta.wme; in __ieee80211_select_queue() 157 qos = false; in __ieee80211_select_queue() 159 if (!qos || (info->control.flags & IEEE80211_TX_CTRL_DONT_REORDER)) { in __ieee80211_select_queue()
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 24 u8 qos, __be16 vlan_proto); 42 u16 vid, u16 qos, u32 vf) in ixgbe_set_vmvir() argument 45 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
|