/Linux-v6.6/drivers/interconnect/qcom/ |
D | msm8996.c | 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, 65 .qos.qos_port = 1, [all …]
|
D | qcm2290.c | 110 .qos.ap_owned = true, 111 .qos.qos_port = 0, 112 .qos.qos_mode = NOC_QOS_MODE_FIXED, 113 .qos.prio_level = 0, 114 .qos.areq_prio = 0, 129 .qos.ap_owned = true, 130 .qos.qos_port = 2, 131 .qos.qos_mode = NOC_QOS_MODE_BYPASS, 146 .qos.ap_owned = true, 147 .qos.qos_port = 3, [all …]
|
D | sdm660.c | 149 .qos.ap_owned = true, 150 .qos.qos_mode = NOC_QOS_MODE_FIXED, 151 .qos.areq_prio = 1, 152 .qos.prio_level = 1, 153 .qos.qos_port = 3, 168 .qos.ap_owned = true, 169 .qos.qos_mode = NOC_QOS_MODE_INVALID, 240 .qos.ap_owned = true, 241 .qos.qos_mode = NOC_QOS_MODE_FIXED, 242 .qos.areq_prio = 1, [all …]
|
D | msm8939.c | 122 .qos.ap_owned = true, 123 .qos.qos_mode = NOC_QOS_MODE_INVALID, 155 .qos.ap_owned = true, 156 .qos.qos_mode = NOC_QOS_MODE_FIXED, 157 .qos.areq_prio = 0, 158 .qos.prio_level = 0, 159 .qos.qos_port = 0, 218 .qos.ap_owned = true, 219 .qos.qos_mode = NOC_QOS_MODE_FIXED, 220 .qos.areq_prio = 0, [all …]
|
D | msm8916.c | 117 .qos.ap_owned = true, 118 .qos.qos_mode = NOC_QOS_MODE_INVALID, 134 .qos.ap_owned = true, 135 .qos.qos_mode = NOC_QOS_MODE_INVALID, 152 .qos.ap_owned = true, 153 .qos.qos_mode = NOC_QOS_MODE_FIXED, 154 .qos.areq_prio = 0, 155 .qos.prio_level = 0, 156 .qos.qos_port = 0, 215 .qos.ap_owned = true, [all …]
|
D | icc-rpm.c | 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() [all …]
|
/Linux-v6.6/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-v6.6/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 | 250 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() 277 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | qos.c | 29 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_qos_tsar_config() 71 if (!vport->qos.enabled) in esw_qos_vport_config() 74 err = esw_qos_tsar_config(dev, sched_ctx, vport->qos.esw_tsar_ix, in esw_qos_vport_config() 101 list_for_each_entry(group, &esw->qos.groups, list) { in esw_qos_calculate_min_rate_divider() 108 if (!evport->enabled || !evport->qos.enabled || in esw_qos_calculate_min_rate_divider() 109 evport->qos.group != group || evport->qos.min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider() 111 max_guarantee = evport->qos.min_rate; in esw_qos_calculate_min_rate_divider() 146 if (!evport->enabled || !evport->qos.enabled || evport->qos.group != group) in esw_qos_normalize_vports_min_rate() 148 bw_share = esw_qos_calc_bw_share(evport->qos.min_rate, divider, fw_max_bw_share); in esw_qos_normalize_vports_min_rate() 150 if (bw_share == evport->qos.bw_share) in esw_qos_normalize_vports_min_rate() [all …]
|
/Linux-v6.6/drivers/staging/octeon/ |
D | ethernet-tx.c | 75 int qos, queues_per_port; in cvm_oct_free_tx_skbs() local 82 for (qos = 0; qos < queues_per_port; qos++) { in cvm_oct_free_tx_skbs() 83 if (skb_queue_len(&priv->tx_free_list[qos]) == 0) in cvm_oct_free_tx_skbs() 85 skb_to_free = cvmx_fau_fetch_and_add32(priv->fau + qos * 4, in cvm_oct_free_tx_skbs() 88 priv->fau + qos * 4); in cvm_oct_free_tx_skbs() 92 spin_lock_irqsave(&priv->tx_free_list[qos].lock, flags); in cvm_oct_free_tx_skbs() 96 t = __skb_dequeue(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 101 spin_unlock_irqrestore(&priv->tx_free_list[qos].lock, in cvm_oct_free_tx_skbs() 111 total_remaining += skb_queue_len(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 132 int qos; in cvm_oct_xmit() local [all …]
|
/Linux-v6.6/kernel/power/ |
D | qos.c | 245 return req->qos == &cpu_latency_constraints; in cpu_latency_qos_request_active() 252 int ret = pm_qos_update_target(req->qos, &req->node, action, value); in cpu_latency_qos_apply() 281 req->qos = &cpu_latency_constraints; in cpu_latency_qos_add_request() 443 void freq_constraints_init(struct freq_constraints *qos) in freq_constraints_init() argument 447 c = &qos->min_freq; in freq_constraints_init() 453 c->notifiers = &qos->min_freq_notifiers; in freq_constraints_init() 456 c = &qos->max_freq; in freq_constraints_init() 462 c->notifiers = &qos->max_freq_notifiers; in freq_constraints_init() 471 s32 freq_qos_read_value(struct freq_constraints *qos, in freq_qos_read_value() argument 478 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value() [all …]
|
/Linux-v6.6/drivers/infiniband/hw/irdma/ |
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-v6.6/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_dcb.c | 141 struct sparx5_port_qos qos = {0}; in sparx5_dcb_app_update() local 149 dscp_map = &qos.dscp.map; in sparx5_dcb_app_update() 150 pcp_map = &qos.pcp.map; in sparx5_dcb_app_update() 153 qos.default_prio = dcb_ieee_getapp_default_prio_mask(dev); in sparx5_dcb_app_update() 154 if (qos.default_prio) in sparx5_dcb_app_update() 155 qos.default_prio = fls(qos.default_prio) - 1; in sparx5_dcb_app_update() 177 qos.pcp_rewr.map.map[i] = fls(pcp_rewr_map.map[i]) - 1; in sparx5_dcb_app_update() 194 qos.dscp_rewr.map.map[i] = dscp; /* DP 0 */ in sparx5_dcb_app_update() 195 qos.dscp_rewr.map.map[i + 8] = dscp; /* DP 1 */ in sparx5_dcb_app_update() 196 qos.dscp_rewr.map.map[i + 16] = dscp; /* DP 2 */ in sparx5_dcb_app_update() [all …]
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | am65-cpsw-qos.c | 61 return port->qos.est_oper || port->qos.est_admin; in am65_cpsw_port_est_enabled() 170 devm_kfree(&ndev->dev, port->qos.est_oper); in am65_cpsw_admin_to_oper() 172 port->qos.est_oper = port->qos.est_admin; in am65_cpsw_admin_to_oper() 173 port->qos.est_admin = NULL; in am65_cpsw_admin_to_oper() 189 if (port->qos.est_oper && port->qos.est_admin && in am65_cpsw_port_est_get_buf_num() 190 est_new->buf == port->qos.est_oper->buf) in am65_cpsw_port_est_get_buf_num() 219 if (!port->qos.est_admin) in am65_cpsw_est_update_state() 308 port->qos.link_speed); in am65_cpsw_est_check_scheds() 338 port->qos.link_speed); in am65_cpsw_est_set_sched_list() 395 if (!port->qos.est_oper) in am65_cpsw_timer_act() [all …]
|
/Linux-v6.6/net/bluetooth/ |
D | hci_conn.c | 1458 static int qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_big() argument 1464 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big() 1476 qos->bcast.big = big; in qos_set_big() 1482 static int qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_bis() argument 1488 if (qos->bcast.bis == BT_ISO_QOS_BIS_UNSET) { in qos_set_bis() 1504 qos->bcast.bis = bis; in qos_set_bis() 1512 struct bt_iso_qos *qos, __u8 base_len, in hci_add_bis() argument 1525 err = qos_set_big(hdev, qos); in hci_add_bis() 1529 err = qos_set_bis(hdev, qos); in hci_add_bis() 1534 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos->bcast.big, in hci_add_bis() [all …]
|
D | iso.c | 68 struct bt_iso_qos qos; member 77 static bool check_ucast_qos(struct bt_iso_qos *qos); 78 static bool check_bcast_qos(struct bt_iso_qos *qos); 286 if (iso_pi(sk)->qos_user_set && !check_bcast_qos(&iso_pi(sk)->qos)) { in iso_connect_bis() 287 iso_pi(sk)->qos = default_qos; in iso_connect_bis() 293 if (!iso_pi(sk)->qos.bcast.out.phy) { in iso_connect_bis() 301 &iso_pi(sk)->qos, iso_pi(sk)->base_len, in iso_connect_bis() 310 &iso_pi(sk)->qos, iso_pi(sk)->base_len, in iso_connect_bis() 377 if (iso_pi(sk)->qos_user_set && !check_ucast_qos(&iso_pi(sk)->qos)) { in iso_connect_cis() 378 iso_pi(sk)->qos = default_qos; in iso_connect_cis() [all …]
|
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_port.c | 398 struct lan966x_port_qos_pcp *qos) in lan966x_port_qos_pcp_set() argument 400 u8 *pcp_itr = qos->map; in lan966x_port_qos_pcp_set() 403 lan_rmw(ANA_QOS_CFG_QOS_PCP_ENA_SET(qos->enable), in lan966x_port_qos_pcp_set() 408 for (int i = 0; i < ARRAY_SIZE(qos->map); i++) { in lan966x_port_qos_pcp_set() 422 struct lan966x_port_qos_dscp *qos) in lan966x_port_qos_dscp_set() argument 427 lan_rmw(ANA_QOS_CFG_QOS_DSCP_ENA_SET(qos->enable), in lan966x_port_qos_dscp_set() 432 for (int i = 0; i < ARRAY_SIZE(qos->map); i++) in lan966x_port_qos_dscp_set() 434 ANA_DSCP_CFG_QOS_DSCP_VAL_SET(*(qos->map + i)), in lan966x_port_qos_dscp_set() 440 for (int i = 0; i < ARRAY_SIZE(qos->map); i++) in lan966x_port_qos_dscp_set() 441 lan_rmw(ANA_DSCP_CFG_DSCP_TRUST_ENA_SET(qos->enable), in lan966x_port_qos_dscp_set() [all …]
|
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-v6.6/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 …]
|
/Linux-v6.6/drivers/pmdomain/imx/ |
D | imx93-blk-ctrl.c | 77 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() 347 .qos = { [all …]
|
/Linux-v6.6/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-v6.6/arch/arm64/boot/dts/rockchip/ |
D | rk3588s.dtsi | 990 qos_gpu_m0: qos@fdf35000 { 991 compatible = "rockchip,rk3588-qos", "syscon"; 995 qos_gpu_m1: qos@fdf35200 { 996 compatible = "rockchip,rk3588-qos", "syscon"; 1000 qos_gpu_m2: qos@fdf35400 { 1001 compatible = "rockchip,rk3588-qos", "syscon"; 1005 qos_gpu_m3: qos@fdf35600 { 1006 compatible = "rockchip,rk3588-qos", "syscon"; 1010 qos_rga3_1: qos@fdf36000 { 1011 compatible = "rockchip,rk3588-qos", "syscon"; [all …]
|