| /linux/drivers/interconnect/qcom/ |
| H A D | msm8953.c | 102 .qos.ap_owned = true, 103 .qos.qos_mode = NOC_QOS_MODE_FIXED, 104 .qos.prio_level = 0, 105 .qos.areq_prio = 0, 106 .qos.qos_port = 0, 120 .qos.ap_owned = true, 121 .qos.qos_mode = NOC_QOS_MODE_FIXED, 122 .qos.prio_level = 0, 123 .qos.areq_prio = 0, 124 .qos.qos_port = 2, [all …]
|
| H A D | msm8996.c | 3 * Qualcomm MSM8996 Network-on-Chip (NoC) QoS driver 45 .qos.ap_owned = true, 46 .qos.qos_mode = NOC_QOS_MODE_FIXED, 47 .qos.areq_prio = 1, 48 .qos.prio_level = 1, 49 .qos.qos_port = 0, 60 .qos.ap_owned = true, 61 .qos.qos_mode = NOC_QOS_MODE_FIXED, 62 .qos.areq_prio = 1, 63 .qos.prio_level = 1, [all …]
|
| H A D | qcm2290.c | 3 * Qualcomm QCM2290 Network-on-Chip (NoC) QoS driver 109 .qos.ap_owned = true, 110 .qos.qos_port = 0, 111 .qos.qos_mode = NOC_QOS_MODE_FIXED, 112 .qos.prio_level = 0, 113 .qos.areq_prio = 0, 131 .qos.ap_owned = true, 132 .qos.qos_port = 2, 133 .qos.qos_mode = NOC_QOS_MODE_BYPASS, 148 .qos.ap_owned = true, [all …]
|
| H A D | sdm660.c | 3 * Qualcomm SDM630/SDM636/SDM660 Network-on-Chip (NoC) QoS driver 148 .qos.ap_owned = true, 149 .qos.qos_mode = NOC_QOS_MODE_FIXED, 150 .qos.areq_prio = 1, 151 .qos.prio_level = 1, 152 .qos.qos_port = 3, 167 .qos.ap_owned = true, 168 .qos.qos_mode = NOC_QOS_MODE_INVALID, 239 .qos.ap_owned = true, 240 .qos.qos_mode = NOC_QOS_MODE_FIXED, [all …]
|
| H A D | msm8976.c | 111 .qos.ap_owned = true, 112 .qos.qos_mode = NOC_QOS_MODE_FIXED, 113 .qos.areq_prio = 0, 114 .qos.prio_level = 0, 115 .qos.qos_port = 0, 131 .qos.ap_owned = true, 132 .qos.qos_mode = NOC_QOS_MODE_BYPASS, 133 .qos.areq_prio = 0, 134 .qos.prio_level = 0, 135 .qos.qos_port = 2, [all …]
|
| H A D | msm8937.c | 107 .qos.ap_owned = true, 108 .qos.qos_mode = NOC_QOS_MODE_FIXED, 109 .qos.areq_prio = 0, 110 .qos.prio_level = 0, 111 .qos.qos_port = 0, 127 .qos.ap_owned = true, 128 .qos.qos_mode = NOC_QOS_MODE_FIXED, 129 .qos.areq_prio = 0, 130 .qos.prio_level = 0, 131 .qos.qos_port = 2, [all …]
|
| H A D | msm8909.c | 109 .qos.ap_owned = true, 110 .qos.qos_mode = NOC_QOS_MODE_FIXED, 111 .qos.areq_prio = 0, 112 .qos.prio_level = 0, 113 .qos.qos_port = 0, 129 .qos.ap_owned = true, 130 .qos.qos_mode = NOC_QOS_MODE_FIXED, 131 .qos.areq_prio = 0, 132 .qos.prio_level = 0, 133 .qos.qos_port = 2, [all …]
|
| H A D | shikra.c | 299 .qos.ap_owned = true, 300 .qos.qos_port = 6, 301 .qos.urg_fwd_en = false, 302 .qos.qos_mode = NOC_QOS_MODE_FIXED, 303 .qos.areq_prio = 0, 320 .qos.ap_owned = true, 321 .qos.qos_port = 7, 322 .qos.urg_fwd_en = true, 323 .qos.qos_mode = NOC_QOS_MODE_BYPASS, 324 .qos.areq_prio = 0, [all …]
|
| H A D | qcs404.c | 104 .qos.ap_owned = true, 105 .qos.qos_mode = NOC_QOS_MODE_FIXED, 106 .qos.areq_prio = 0, 107 .qos.prio_level = 0, 108 .qos.qos_port = 0, 124 .qos.ap_owned = true, 125 .qos.qos_mode = NOC_QOS_MODE_FIXED, 126 .qos.areq_prio = 0, 127 .qos.prio_level = 0, 128 .qos.qos_port = 2, [all …]
|
| H A D | msm8939.c | 121 .qos.ap_owned = true, 122 .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, 218 .qos.qos_mode = NOC_QOS_MODE_FIXED, 219 .qos.areq_prio = 0, [all …]
|
| H A D | sm6115.c | 131 .qos.qos_port = 0, 132 .qos.qos_mode = NOC_QOS_MODE_FIXED, 133 .qos.prio_level = 0, 134 .qos.areq_prio = 0, 150 .qos.qos_port = 2, 151 .qos.qos_mode = NOC_QOS_MODE_BYPASS, 152 .qos.areq_prio = 0, 153 .qos.prio_level = 0, 165 .qos.qos_port = 3, 166 .qos.qos_mode = NOC_QOS_MODE_BYPASS, [all …]
|
| H A D | icc-rpmh.c | 20 /* QNOC QoS */ 27 * qcom_icc_set_qos - initialize static QoS configurations 34 const struct qcom_icc_qosbox *qos = node->qosbox; in qcom_icc_set_qos() local 37 for (port = 0; port < qos->num_ports; port++) { in qcom_icc_set_qos() 38 regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port), in qcom_icc_set_qos() 40 FIELD_PREP(QOS_DISABLE_MASK, qos->prio_fwd_disable)); in qcom_icc_set_qos() 42 regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port), in qcom_icc_set_qos() 44 FIELD_PREP(QOS_DFLT_PRIO_MASK, qos->prio)); in qcom_icc_set_qos() 46 regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port), in qcom_icc_set_qos() 48 FIELD_PREP(QOS_SLV_URG_MSG_EN_MASK, qos->urg_fwd)); in qcom_icc_set_qos() [all …]
|
| /linux/drivers/base/power/ |
| H A D | qos.c | 3 * 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 …]
|
| H 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() 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/net/atm/ |
| H A D | common.c | 103 return (vcc->qos.txtp.max_sdu + in vcc_writable() 156 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create() 316 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci() 317 ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) || in check_ci() 318 (walk->qos.rxtp.traffic_class != ATM_NONE && in check_ci() 319 vcc->qos.rxtp.traffic_class != ATM_NONE))) in check_ci() 400 switch (vcc->qos.aal) { in __vcc_connect() 407 vcc->qos.aal = ATM_AAL5; in __vcc_connect() 417 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect() 419 error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal); in __vcc_connect() [all …]
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | ws.c | 46 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/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-qos.c | 2 /* Texas Instruments K3 AM65 Ethernet QoS submodule 18 #include "am65-cpsw-qos.h" 54 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_tx_pn_shaper_apply() 63 if (p_mqprio->max_rate_total > port->qos.link_speed) in am65_cpsw_tx_pn_shaper_apply() 106 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_mqprio_verify_shaper() 189 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_reset_tc_mqprio() 206 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_setup_mqprio() 273 int verify_time_ms = port->qos.iet.verify_time_ms; in am65_cpsw_iet_set_verify_timeout_count() 287 if (port->qos.link_speed == SPEED_1000) in am65_cpsw_iet_set_verify_timeout_count() 289 else if (port->qos.link_speed == SPEED_100) in am65_cpsw_iet_set_verify_timeout_count() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | qos.c | 6 #include "esw/qos.h" 63 * QoS changes are normally protected by the shd lock. But on older HW shd 66 * Callers into QoS hold a combination of RTNL, devlink instance lock and 153 vport->qos.sched_node->parent = parent; in esw_qos_nodes_set_parent() 161 if (vport->qos.sched_nodes) { in mlx5_esw_qos_vport_qos_free() 162 int num_tcs = esw_qos_num_tcs(vport->qos.sched_node->esw->dev); in mlx5_esw_qos_vport_qos_free() 166 kfree(vport->qos.sched_nodes[i]); in mlx5_esw_qos_vport_qos_free() 167 kfree(vport->qos.sched_nodes); in mlx5_esw_qos_vport_qos_free() 170 kfree(vport->qos.sched_node); in mlx5_esw_qos_vport_qos_free() 171 memset(&vport->qos, 0, sizeof(vport->qos)); in mlx5_esw_qos_vport_qos_free() [all …]
|
| /linux/net/bluetooth/ |
| H A D | hci_conn.c | 1583 static int qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_big() 1589 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big() 1601 qos->bcast.big = big; in qos_set_big() 1607 static int qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_bis() 1613 if (qos->bcast.bis == BT_ISO_QOS_BIS_UNSET) { in qos_set_bis() 1614 if (qos->bcast.big != BT_ISO_QOS_BIG_UNSET) { in qos_set_bis() 1615 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in qos_set_bis() 1621 qos->bcast.bis = conn->iso_qos.bcast.bis; in qos_set_bis() 1641 qos->bcast.bis = bis; in qos_set_bis() 1649 __u8 sid, struct bt_iso_qos *qos, in hci_add_bis() 1582 qos_set_big(struct hci_dev * hdev,struct bt_iso_qos * qos) qos_set_big() argument 1606 qos_set_bis(struct hci_dev * hdev,struct bt_iso_qos * qos) qos_set_bis() argument 1648 hci_add_bis(struct hci_dev * hdev,bdaddr_t * dst,__u8 sid,struct bt_iso_qos * qos,__u8 base_len,__u8 * base,u16 timeout) hci_add_bis() argument 1883 hci_le_create_big(struct hci_conn * conn,struct bt_iso_qos * qos) hci_le_create_big() argument 1920 struct bt_iso_qos *qos; set_cig_params_sync() local 1979 hci_le_set_cig_params(struct hci_conn * conn,struct bt_iso_qos * qos) hci_le_set_cig_params() argument 2041 hci_bind_cis(struct hci_dev * hdev,bdaddr_t * dst,__u8 dst_type,struct bt_iso_qos * qos,u16 timeout) hci_bind_cis() argument 2183 hci_iso_qos_setup(struct hci_dev * hdev,struct hci_conn * conn,struct bt_iso_io_qos * qos,__u8 phys) hci_iso_qos_setup() argument 2206 struct bt_iso_qos *qos = &conn->iso_qos; create_big_sync() local 2235 hci_pa_create_sync(struct hci_dev * hdev,bdaddr_t * dst,__u8 dst_type,__u8 sid,struct bt_iso_qos * qos) hci_pa_create_sync() argument 2258 hci_conn_big_create_sync(struct hci_dev * hdev,struct hci_conn * hcon,struct bt_iso_qos * qos,__u16 sync_handle,__u8 num_bis,__u8 bis[]) hci_conn_big_create_sync() argument 2309 hci_bind_bis(struct hci_dev * hdev,bdaddr_t * dst,__u8 sid,struct bt_iso_qos * qos,__u8 base_len,__u8 * base,u16 timeout) hci_bind_bis() argument 2394 hci_connect_bis(struct hci_dev * hdev,bdaddr_t * dst,__u8 dst_type,__u8 sid,struct bt_iso_qos * qos,__u8 base_len,__u8 * base,u16 timeout) hci_connect_bis() argument 2445 hci_connect_cis(struct hci_dev * hdev,bdaddr_t * dst,__u8 dst_type,struct bt_iso_qos * qos,u16 timeout) hci_connect_cis() argument [all...] |
| H A D | iso.c | 77 struct bt_iso_qos qos; member 87 static bool check_ucast_qos(struct bt_iso_qos *qos); 88 static bool check_bcast_qos(struct bt_iso_qos *qos); 418 /* Fail if user set invalid QoS */ in iso_connect_bis() 419 if (iso_pi(sk)->qos_user_set && !check_bcast_qos(&iso_pi(sk)->qos)) { in iso_connect_bis() 420 iso_pi(sk)->qos = default_qos; in iso_connect_bis() 426 if (!iso_pi(sk)->qos.bcast.out.phys) { in iso_connect_bis() 434 &iso_pi(sk)->qos, iso_pi(sk)->base_len, in iso_connect_bis() 444 iso_pi(sk)->bc_sid, &iso_pi(sk)->qos, in iso_connect_bis() 521 /* Fail if user set invalid QoS */ in iso_connect_cis() 609 struct bt_iso_qos *qos = iso_sock_get_qos(sk); iso_send_frame() local 1794 check_io_qos(struct bt_iso_io_qos * qos) check_io_qos() argument 1812 check_ucast_qos(struct bt_iso_qos * qos) check_ucast_qos() argument 1838 check_bcast_qos(struct bt_iso_qos * qos) check_bcast_qos() argument 1890 struct bt_iso_qos qos = default_qos; iso_sock_setsockopt() local 1988 struct bt_iso_qos *qos; iso_sock_getsockopt() local [all...] |
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_dcb.c | 52 struct lan966x_port_qos qos = {0}; in lan966x_dcb_app_update() local 58 for (int i = 0; i < ARRAY_SIZE(qos.pcp.map); i++) { in lan966x_dcb_app_update() 61 qos.pcp.map[i] = dcb_getapp(dev, &app_itr); in lan966x_dcb_app_update() 65 for (int i = 0; i < ARRAY_SIZE(qos.dscp.map); i++) { in lan966x_dcb_app_update() 68 qos.dscp.map[i] = dcb_getapp(dev, &app_itr); in lan966x_dcb_app_update() 72 qos.default_prio = dcb_ieee_getapp_default_prio_mask(dev); in lan966x_dcb_app_update() 73 if (qos.default_prio) in lan966x_dcb_app_update() 74 qos.default_prio = fls(qos.default_prio) - 1; in lan966x_dcb_app_update() 83 qos.pcp_rewr.map[i] = fls(pcp_rewr_map.map[i]) - 1; in lan966x_dcb_app_update() 93 qos.dscp_rewr.map[i] = fls64(dscp_rewr_map.map[i]) - 1; in lan966x_dcb_app_update() [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | snps,dwc-qos-ethernet.txt | 1 * 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/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | qos.c | 14 #include "qos.h" 31 qos_txqs = bitmap_weight(pfvf->qos.qos_sq_bmap, in otx2_qos_update_tx_netdev_queues() 160 if (level == pfvf->qos.link_cfg_lvl) { in __otx2_qos_txschq_cfg() 174 if (level == pfvf->qos.link_cfg_lvl) { in __otx2_qos_txschq_cfg() 262 mutex_lock(&pfvf->qos.qos_lock); in otx2_qos_free_hw_cfg() 271 mutex_unlock(&pfvf->qos.qos_lock); in otx2_qos_free_hw_cfg() 280 __clear_bit(node->qid, pfvf->qos.qos_sq_bmap); in otx2_qos_sw_node_delete() 314 mutex_lock(&pfvf->qos.qos_lock); in otx2_qos_free_sw_node() 320 mutex_unlock(&pfvf->qos.qos_lock); in otx2_qos_free_sw_node() 360 mutex_lock(&pfvf->qos.qos_lock); in otx2_qos_prepare_txschq_cfg() [all …]
|
| /linux/Documentation/trace/ |
| H A D | events-power.rst | 72 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/tools/testing/selftests/drivers/net/ocelot/ |
| H A D | basic_qos.sh | 55 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 \ 56 ingress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 74 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 \ 75 ingress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 208 run_test "Port-default QoS classification" ${h1} 5 0 217 run_test "Trusted VLAN PCP QoS classification" ${h1}.100 3 0 228 run_test "Trusted DSCP QoS classification" ${h1} 4 ${tos} 232 run_test "Untrusted DSCP QoS classification follows VLAN PCP" \ 236 run_test "Untrusted DSCP QoS classification follows port default" \
|