Home
last modified time | relevance | path

Searched refs:qos (Results 1 - 25 of 473) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/drivers/interconnect/qcom/
H A Dqcm2290.c110 .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
[all...]
H A Dsdm660.c149 .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
[all...]
H A Dmsm8996.c46 .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
[all...]
H A Dmsm8939.c122 .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
[all...]
H A Dmsm8916.c117 .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
[all...]
H A Dicc-rpm.c58 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()
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 in qcom_icc_bimc_set_qos_health()
74 qcom_icc_bimc_set_qos_health(struct qcom_icc_provider *qp, struct qcom_icc_qos *qos, int regnum) qcom_icc_bimc_set_qos_health() argument
134 qcom_icc_noc_set_qos_priority(struct qcom_icc_provider *qp, struct qcom_icc_qos *qos) qcom_icc_noc_set_qos_priority() argument
[all...]
/kernel/linux/linux-5.10/drivers/base/power/
H A Dqos.c54 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 in dev_pm_qos_read_value()
153 struct dev_pm_qos *qos = req->dev->power.qos; apply_constraint() local
196 struct dev_pm_qos *qos; dev_pm_qos_constraints_allocate() local
248 struct dev_pm_qos *qos; dev_pm_qos_constraints_destroy() local
[all...]
H A 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_MA in freq_qos_test_maxdef()
80 struct freq_constraints qos; freq_qos_test_readd() local
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Dqos.c54 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 in dev_pm_qos_read_value()
153 struct dev_pm_qos *qos = req->dev->power.qos; apply_constraint() local
196 struct dev_pm_qos *qos; dev_pm_qos_constraints_allocate() local
248 struct dev_pm_qos *qos; dev_pm_qos_constraints_destroy() local
[all...]
H A 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_MA in freq_qos_test_maxdef()
80 struct freq_constraints qos; freq_qos_test_readd() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c5 #include "esw/qos.h"
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 in esw_qos_normalize_vports_min_rate()
[all...]
/kernel/linux/linux-5.10/net/atm/
H A 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 in __vcc_connect()
686 atm_change_qos(struct atm_vcc *vcc, struct atm_qos *qos) atm_change_qos() argument
730 check_qos(const struct atm_qos *qos) check_qos() argument
761 struct atm_qos qos; vcc_setsockopt() local
[all...]
/kernel/linux/linux-6.6/net/atm/
H A 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 in __vcc_connect()
686 atm_change_qos(struct atm_vcc *vcc, struct atm_qos *qos) atm_change_qos() argument
730 check_qos(const struct atm_qos *qos) check_qos() argument
761 struct atm_qos qos; vcc_setsockopt() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/octeon/
H A 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] in cvm_oct_free_tx_skbs()
134 int qos; cvm_oct_xmit() local
665 int qos; cvm_oct_tx_shutdown_dev() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/octeon/
H A Dethernet-tx.c75 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] in cvm_oct_free_tx_skbs()
132 int qos; cvm_oct_xmit() local
662 int qos; cvm_oct_tx_shutdown_dev() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c13 #include "am65-cpsw-qos.h"
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 in am65_cpsw_port_est_get_buf_num()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_dcb.c141 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 in sparx5_dcb_app_update()
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A Dqos.c240 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()
431 * @qos: Frequency QoS constraints to initialize.
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()
458 * @qos
461 freq_qos_read_value(struct freq_constraints *qos, enum freq_qos_req_type type) freq_qos_read_value() argument
528 freq_qos_add_request(struct freq_constraints *qos, struct freq_qos_request *req, enum freq_qos_req_type type, s32 value) freq_qos_add_request() argument
615 freq_qos_add_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) freq_qos_add_notifier() argument
648 freq_qos_remove_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) freq_qos_remove_notifier() argument
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dqos.c245 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()
441 * @qos: Frequency QoS constraints to initialize.
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()
468 * @qos
471 freq_qos_read_value(struct freq_constraints *qos, enum freq_qos_req_type type) freq_qos_read_value() argument
538 freq_qos_add_request(struct freq_constraints *qos, struct freq_qos_request *req, enum freq_qos_req_type type, s32 value) freq_qos_add_request() argument
625 freq_qos_add_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) freq_qos_add_notifier() argument
658 freq_qos_remove_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) freq_qos_remove_notifier() argument
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_conn.c1460 static int qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_big() argument
1466 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1478 qos->bcast.big = big; in qos_set_big()
1484 static int qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos) in qos_set_bis() argument
1490 if (qos->bcast.bis == BT_ISO_QOS_BIS_UNSET) { in qos_set_bis()
1506 qos->bcast.bis = bis; in qos_set_bis()
1514 struct bt_iso_qos *qos, __u8 base_len, in hci_add_bis()
1527 err = qos_set_big(hdev, qos); in hci_add_bis()
1531 err = qos_set_bis(hdev, qos); in hci_add_bis()
1536 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos in hci_add_bis()
1513 hci_add_bis(struct hci_dev *hdev, bdaddr_t *dst, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) hci_add_bis() argument
1737 hci_le_create_big(struct hci_conn *conn, struct bt_iso_qos *qos) hci_le_create_big() argument
1773 struct bt_iso_qos *qos; set_cig_params_sync() local
1828 hci_le_set_cig_params(struct hci_conn *conn, struct bt_iso_qos *qos) hci_le_set_cig_params() argument
1887 hci_bind_cis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos) hci_bind_cis() argument
2028 hci_iso_qos_setup(struct hci_dev *hdev, struct hci_conn *conn, struct bt_iso_io_qos *qos, __u8 phy) hci_iso_qos_setup() argument
2058 struct bt_iso_qos *qos = &conn->iso_qos; create_big_sync() local
2108 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
2134 hci_le_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_le_big_create_sync() argument
2181 hci_bind_bis(struct hci_dev *hdev, bdaddr_t *dst, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) hci_bind_bis() argument
2233 hci_connect_bis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) hci_connect_bis() argument
2266 hci_connect_cis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos) hci_connect_cis() argument
[all...]
H A Diso.c69 struct bt_iso_qos qos; member
78 static bool check_ucast_qos(struct bt_iso_qos *qos);
79 static bool check_bcast_qos(struct bt_iso_qos *qos);
323 if (iso_pi(sk)->qos_user_set && !check_bcast_qos(&iso_pi(sk)->qos)) { in iso_connect_bis()
324 iso_pi(sk)->qos = default_qos; in iso_connect_bis()
330 if (!iso_pi(sk)->qos.bcast.out.phy) { in iso_connect_bis()
338 &iso_pi(sk)->qos, iso_pi(sk)->base_len, in iso_connect_bis()
347 &iso_pi(sk)->qos, iso_pi(sk)->base_len, in iso_connect_bis()
414 if (iso_pi(sk)->qos_user_set && !check_ucast_qos(&iso_pi(sk)->qos)) { in iso_connect_cis()
415 iso_pi(sk)->qos in iso_connect_cis()
493 struct bt_iso_qos *qos = iso_sock_get_qos(sk); iso_send_frame() local
1258 check_io_qos(struct bt_iso_io_qos *qos) check_io_qos() argument
1276 check_ucast_qos(struct bt_iso_qos *qos) check_ucast_qos() argument
1302 check_bcast_qos(struct bt_iso_qos *qos) check_bcast_qos() argument
1348 struct bt_iso_qos qos = default_qos; iso_sock_setsockopt() local
1446 struct bt_iso_qos *qos; iso_sock_getsockopt() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c399 struct lan966x_port_qos_pcp *qos) in lan966x_port_qos_pcp_set()
401 u8 *pcp_itr = qos->map; in lan966x_port_qos_pcp_set()
404 lan_rmw(ANA_QOS_CFG_QOS_PCP_ENA_SET(qos->enable), in lan966x_port_qos_pcp_set()
409 for (int i = 0; i < ARRAY_SIZE(qos->map); i++) { in lan966x_port_qos_pcp_set()
423 struct lan966x_port_qos_dscp *qos) in lan966x_port_qos_dscp_set()
427 /* Enable/disable dscp for qos classification. */ in lan966x_port_qos_dscp_set()
428 lan_rmw(ANA_QOS_CFG_QOS_DSCP_ENA_SET(qos->enable), in lan966x_port_qos_dscp_set()
433 for (int i = 0; i < ARRAY_SIZE(qos->map); i++) in lan966x_port_qos_dscp_set()
435 ANA_DSCP_CFG_QOS_DSCP_VAL_SET(*(qos->map + i)), in lan966x_port_qos_dscp_set()
441 for (int i = 0; i < ARRAY_SIZE(qos in lan966x_port_qos_dscp_set()
398 lan966x_port_qos_pcp_set(struct lan966x_port *port, struct lan966x_port_qos_pcp *qos) lan966x_port_qos_pcp_set() argument
422 lan966x_port_qos_dscp_set(struct lan966x_port *port, struct lan966x_port_qos_dscp *qos) lan966x_port_qos_dscp_set() argument
447 lan966x_port_qos_default_set(struct lan966x_port *port, struct lan966x_port_qos *qos) lan966x_port_qos_default_set() argument
467 lan966x_port_qos_pcp_rewr_set(struct lan966x_port *port, struct lan966x_port_qos_pcp_rewr *qos) lan966x_port_qos_pcp_rewr_set() argument
503 lan966x_port_qos_dscp_rewr_set(struct lan966x_port *port, struct lan966x_port_qos_dscp_rewr *qos) lan966x_port_qos_dscp_rewr_set() argument
537 lan966x_port_qos_set(struct lan966x_port *port, struct lan966x_port_qos *qos) lan966x_port_qos_set() argument
[all...]
H A Dlan966x_dcb.c52 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 in lan966x_dcb_app_update()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c14 #include "am65-cpsw-qos.h"
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 in am65_cpsw_port_est_get_buf_num()
622 struct am65_cpsw_qos *qos = &port->qos; am65_cpsw_qos_clsflower_add_policer() local
734 struct am65_cpsw_qos *qos = &port->qos; am65_cpsw_qos_delete_clsflower() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A 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[ in irdma_tc_in_use()
[all...]

Completed in 20 milliseconds

12345678910>>...19