Home
last modified time | relevance | path

Searched full:qos (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/Linux-v6.1/drivers/interconnect/qcom/
Dmsm8996.c3 * Qualcomm MSM8996 Network-on-Chip (NoC) QoS driver
46 .qos.ap_owned = true,
47 .qos.qos_mode = NOC_QOS_MODE_FIXED,
48 .qos.areq_prio = 1,
49 .qos.prio_level = 1,
50 .qos.qos_port = 0,
61 .qos.ap_owned = true,
62 .qos.qos_mode = NOC_QOS_MODE_FIXED,
63 .qos.areq_prio = 1,
64 .qos.prio_level = 1,
[all …]
Dqcm2290.c3 * Qualcomm QCM2290 Network-on-Chip (NoC) QoS driver
113 .qos.ap_owned = true,
114 .qos.qos_port = 0,
115 .qos.qos_mode = NOC_QOS_MODE_FIXED,
116 .qos.prio_level = 0,
117 .qos.areq_prio = 0,
132 .qos.ap_owned = true,
133 .qos.qos_port = 2,
134 .qos.qos_mode = NOC_QOS_MODE_BYPASS,
149 .qos.ap_owned = true,
[all …]
Dsdm660.c3 * Qualcomm SDM630/SDM636/SDM660 Network-on-Chip (NoC) QoS driver
156 .qos.ap_owned = true,
157 .qos.qos_mode = NOC_QOS_MODE_FIXED,
158 .qos.areq_prio = 1,
159 .qos.prio_level = 1,
160 .qos.qos_port = 3,
175 .qos.ap_owned = true,
176 .qos.qos_mode = NOC_QOS_MODE_INVALID,
247 .qos.ap_owned = true,
248 .qos.qos_mode = NOC_QOS_MODE_FIXED,
[all …]
Dmsm8916.c119 .qos.ap_owned = true,
120 .qos.qos_mode = NOC_QOS_MODE_INVALID,
136 .qos.ap_owned = true,
137 .qos.qos_mode = NOC_QOS_MODE_INVALID,
154 .qos.ap_owned = true,
155 .qos.qos_mode = NOC_QOS_MODE_FIXED,
156 .qos.areq_prio = 0,
157 .qos.prio_level = 0,
158 .qos.qos_port = 0,
217 .qos.ap_owned = true,
[all …]
Dmsm8939.c124 .qos.ap_owned = true,
125 .qos.qos_mode = NOC_QOS_MODE_INVALID,
157 .qos.ap_owned = true,
158 .qos.qos_mode = NOC_QOS_MODE_FIXED,
159 .qos.areq_prio = 0,
160 .qos.prio_level = 0,
161 .qos.qos_port = 0,
220 .qos.ap_owned = true,
221 .qos.qos_mode = NOC_QOS_MODE_FIXED,
222 .qos.areq_prio = 0,
[all …]
Dicc-rpm.c22 /* 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()
[all …]
Dicc-rpm.h29 * @qos_offset: offset to QoS registers
30 * @regmap: regmap for QoS registers read/write access
44 * struct qcom_icc_qos - Qualcomm specific interconnect QoS parameters
49 * @qos_mode: default qos mode for this node
50 * @qos_port: qos port number for finding qos registers of this node
74 * @qos: NoC QoS setting parameters
86 struct qcom_icc_qos qos; member
/Linux-v6.1/drivers/base/power/
Dqos.c3 * Devices PM QoS constraints management
8 * per-device PM QoS dependencies. It provides infrastructure for registration
11 * Dependents on a QoS value : register requests
12 * Watchers of QoS value : get notified when target QoS value changes
14 * This QoS design is best effort based. Dependents register their QoS needs.
15 * Watchers register to keep track of the current QoS needs of the system.
46 * __dev_pm_qos_flags - Check PM QoS flags for a given device.
47 * @dev: Device to check the PM QoS flags for.
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()
[all …]
Dqos-test.c11 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-v6.1/kernel/power/
Dqos.c3 * Power Management Quality of Service (PM QoS) support base.
11 * Provided here is an interface for specifying PM QoS dependencies. It allows
12 * entities depending on QoS constraints to register their requests which are
18 * global CPU latency QoS requests and frequency QoS requests are provided.
51 * @c: List of PM QoS constraint requests.
71 WARN(1, "Unknown PM QoS type in %s\n", __func__); in pm_qos_get_value()
82 * pm_qos_update_target - Update a list of PM QoS constraint requests.
83 * @c: List of PM QoS requests.
88 * Update the given list of PM QoS constraint requests, @c, by carrying an
149 * pm_qos_flags_remove_req - Remove device PM QoS flags request.
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c5 #include "esw/qos.h"
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()
[all …]
/Linux-v6.1/Documentation/power/
Dpm_qos_interface.rst9 Two different PM QoS frameworks are available:
10 * CPU latency QoS.
11 * The per-device PM QoS framework provides the API to manage the
12 per-device latency constraints and PM QoS flags.
14 The latency unit used in the PM QoS framework is the microsecond (usec).
17 1. PM QoS framework
20 A global list of CPU latency QoS requests is maintained along with an aggregated
22 to the request list or elements of the list. For CPU latency QoS, the
32 Will insert an element into the CPU latency QoS list with the target value.
35 Clients of PM QoS need to save the returned handle for future use in other
[all …]
/Linux-v6.1/net/atm/
Dcommon.c104 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 …]
Dmpc.c171 * Functions for managing QoS list
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()
[all …]
Dmpoa_proc.c250 struct atm_qos qos; in parse_qos() local
252 memset(&qos, 0, sizeof(struct atm_qos)); in parse_qos()
269 qos.txtp.traffic_class = ATM_CBR; in parse_qos()
270 qos.txtp.max_pcr = tx_pcr; in parse_qos()
271 qos.txtp.max_sdu = tx_sdu; in parse_qos()
272 qos.rxtp.traffic_class = ATM_CBR; in parse_qos()
273 qos.rxtp.max_pcr = rx_pcr; in parse_qos()
274 qos.rxtp.max_sdu = rx_sdu; in parse_qos()
275 qos.aal = ATM_AAL5; in parse_qos()
276 dprintk("parse_qos(): setting qos parameters to tx=%d,%d rx=%d,%d\n", in parse_qos()
[all …]
/Linux-v6.1/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c2 /* Texas Instruments K3 AM65 Ethernet QoS submodule
14 #include "am65-cpsw-qos.h"
60 return port->qos.est_oper || port->qos.est_admin; in am65_cpsw_port_est_enabled()
169 devm_kfree(&ndev->dev, port->qos.est_oper); in am65_cpsw_admin_to_oper()
171 port->qos.est_oper = port->qos.est_admin; in am65_cpsw_admin_to_oper()
172 port->qos.est_admin = NULL; in am65_cpsw_admin_to_oper()
188 if (port->qos.est_oper && port->qos.est_admin && in am65_cpsw_port_est_get_buf_num()
189 est_new->buf == port->qos.est_oper->buf) in am65_cpsw_port_est_get_buf_num()
218 if (!port->qos.est_admin) in am65_cpsw_est_update_state()
307 port->qos.link_speed); in am65_cpsw_est_check_scheds()
[all …]
/Linux-v6.1/drivers/staging/octeon/
Dethernet-tx.c75 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-v6.1/drivers/infiniband/hw/irdma/
Dws.c46 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node()
48 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node()
52 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle; in irdma_alloc_node()
113 vsi->qos[node->user_pri].qs_handle = node_info.qs_handle; in irdma_ws_cqp_cmd()
160 mutex_lock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
161 if (!list_empty(&vsi->qos[user_pri].qplist)) { in irdma_tc_in_use()
162 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
170 if (vsi->qos[i].traffic_class == vsi->qos[user_pri].traffic_class && in irdma_tc_in_use()
171 !list_empty(&vsi->qos[i].qplist)) { in irdma_tc_in_use()
172 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dsyscon.yaml56 - rockchip,px30-qos
57 - rockchip,rk3036-qos
58 - rockchip,rk3066-qos
59 - rockchip,rk3228-qos
60 - rockchip,rk3288-qos
61 - rockchip,rk3368-qos
62 - rockchip,rk3399-qos
63 - rockchip,rk3568-qos
64 - rockchip,rk3588-qos
65 - rockchip,rv1126-qos
/Linux-v6.1/Documentation/devicetree/bindings/power/
Drockchip,power-controller.yaml139 A number of phandles to qos blocks which need to be saved and restored
161 qos_hdcp: qos@ffa90000 {
162 compatible = "rockchip,rk3399-qos", "syscon";
166 qos_iep: qos@ffa98000 {
167 compatible = "rockchip,rk3399-qos", "syscon";
171 qos_rga_r: qos@ffab0000 {
172 compatible = "rockchip,rk3399-qos", "syscon";
176 qos_rga_w: qos@ffab0080 {
177 compatible = "rockchip,rk3399-qos", "syscon";
181 qos_video_m0: qos@ffab8000 {
[all …]
/Linux-v6.1/net/bluetooth/
Dhci_conn.c1384 static int qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_big() argument
1389 if (qos->big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1404 qos->big = data.big; in qos_set_big()
1410 static int qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_bis() argument
1415 if (qos->bis == BT_ISO_QOS_BIS_UNSET) { in qos_set_bis()
1433 qos->bis = data.bis; in qos_set_bis()
1441 struct bt_iso_qos *qos) in hci_add_bis() argument
1454 err = qos_set_big(hdev, qos); in hci_add_bis()
1458 err = qos_set_bis(hdev, qos); in hci_add_bis()
1462 data.big = qos->big; in hci_add_bis()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dsnps,dwc-qos-ethernet.txt1 * Synopsys DWC Ethernet QoS IP version 4.10 driver (GMAC)
6 This binding supports the Synopsys Designware Ethernet QoS (Quality Of Service)
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":
[all …]
/Linux-v6.1/Documentation/trace/
Devents-power.rst72 4. PM QoS events
74 The PM QoS events are used for QoS add/update/remove request and for
81 The first parameter gives the QoS action name (e.g. "ADD_REQ").
82 The second parameter is the previous QoS value.
83 The third parameter is the current QoS value to update.
85 There are also events used for device PM QoS add/update/remove request.
93 QoS requests.
97 And, there are events used for CPU latency QoS add/update/remove request.
/Linux-v6.1/include/linux/
Dpm_qos.h3 * Definitions related to Power Management Quality of Service (PM QoS).
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,
[all …]
/Linux-v6.1/drivers/soc/imx/
Dimx93-blk-ctrl.c77 struct imx93_blk_ctrl_qos qos[DOMAIN_MAX_QOS]; member
105 const struct imx93_blk_ctrl_qos *qos; in imx93_blk_ctrl_set_qos() local
110 qos = &data->qos[i]; in imx93_blk_ctrl_set_qos()
112 mask = PRIO_MASK << qos->cfg_off; in imx93_blk_ctrl_set_qos()
113 mask |= PRIO_MASK << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
114 val = qos->cfg_prio << qos->cfg_off; in imx93_blk_ctrl_set_qos()
115 val |= qos->default_prio << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
117 regmap_write_bits(bc->regmap, qos->reg, mask, val); in imx93_blk_ctrl_set_qos()
119 dev_dbg(bc->dev, "data->qos[i].reg 0x%x 0x%x\n", qos->reg, val); in imx93_blk_ctrl_set_qos()
332 .qos = {
[all …]

12345678910>>...25