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

1234567891011

/linux-master/drivers/base/power/
H A Dqos-test.c11 struct freq_constraints qos; local
15 freq_constraints_init(&qos);
19 ret = freq_qos_add_request(&qos, &req1, FREQ_QOS_MIN, 1000);
21 ret = freq_qos_add_request(&qos, &req2, FREQ_QOS_MIN, 2000);
24 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 2000);
28 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 1000);
32 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN),
39 struct freq_constraints qos; local
43 freq_constraints_init(&qos);
46 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MA
80 struct freq_constraints qos; local
[all...]
H A DMakefile2 obj-$(CONFIG_PM) += sysfs.o generic_ops.o common.o qos.o runtime.o wakeirq.o
6 obj-$(CONFIG_PM_QOS_KUNIT_TEST) += qos-test.o
H A Dqos.c54 struct dev_pm_qos *qos = dev->power.qos; local
60 if (IS_ERR_OR_NULL(qos))
63 pqf = &qos->flags;
112 struct dev_pm_qos *qos = dev->power.qos; local
120 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_RESUME_LATENCY_NO_CONSTRAINT
121 : pm_qos_read_value(&qos->resume_latency);
124 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE
125 : freq_qos_read_value(&qos
153 struct dev_pm_qos *qos = req->dev->power.qos; local
196 struct dev_pm_qos *qos; local
248 struct dev_pm_qos *qos; local
[all...]
/linux-master/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,
132 .qos.ap_owned = true,
133 .qos.qos_port = 2,
134 .qos.qos_mode = NOC_QOS_MODE_BYPASS,
149 .qos.ap_owned = true,
150 .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 Dmsm8909.c110 .qos.ap_owned = true,
111 .qos.qos_mode = NOC_QOS_MODE_FIXED,
112 .qos.areq_prio = 0,
113 .qos.prio_level = 0,
114 .qos.qos_port = 0,
130 .qos.ap_owned = true,
131 .qos.qos_mode = NOC_QOS_MODE_FIXED,
132 .qos.areq_prio = 0,
133 .qos.prio_level = 0,
134 .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 Dsm6115.c132 .qos.qos_port = 0,
133 .qos.qos_mode = NOC_QOS_MODE_FIXED,
134 .qos.prio_level = 0,
135 .qos.areq_prio = 0,
151 .qos.qos_port = 2,
152 .qos.qos_mode = NOC_QOS_MODE_BYPASS,
153 .qos.areq_prio = 0,
154 .qos.prio_level = 0,
166 .qos.qos_port = 3,
167 .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...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c6 #include "esw/qos.h"
30 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling))
72 if (!vport->qos.enabled)
75 err = esw_qos_tsar_config(dev, sched_ctx, vport->qos.esw_tsar_ix,
102 list_for_each_entry(group, &esw->qos.groups, list) {
109 if (!evport->enabled || !evport->qos.enabled ||
110 evport->qos.group != group || evport->qos.min_rate < max_guarantee)
112 max_guarantee = evport->qos.min_rate;
147 if (!evport->enabled || !evport->qos
[all...]
/linux-master/drivers/staging/octeon/
H A Dethernet-tx.h11 int do_free, int qos);
H A Dethernet-tx.c75 int qos, queues_per_port; local
82 for (qos = 0; qos < queues_per_port; qos++) {
83 if (skb_queue_len(&priv->tx_free_list[qos]) == 0)
85 skb_to_free = cvmx_fau_fetch_and_add32(priv->fau + qos * 4,
88 priv->fau + qos * 4);
92 spin_lock_irqsave(&priv->tx_free_list[qos].lock, flags);
96 t = __skb_dequeue(&priv->tx_free_list[qos]);
101 spin_unlock_irqrestore(&priv->tx_free_list[qos]
132 int qos; local
662 int qos; local
[all...]
/linux-master/drivers/infiniband/hw/irdma/
H A Dws.c46 node->traffic_class = vsi->qos[user_pri].traffic_class;
48 node->rel_bw = vsi->qos[user_pri].rel_bw;
52 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle;
113 vsi->qos[node->user_pri].qs_handle = node_info.qs_handle;
160 mutex_lock(&vsi->qos[user_pri].qos_mutex);
161 if (!list_empty(&vsi->qos[user_pri].qplist)) {
162 mutex_unlock(&vsi->qos[user_pri].qos_mutex);
170 if (vsi->qos[i].traffic_class == vsi->qos[user_pri].traffic_class &&
171 !list_empty(&vsi->qos[
[all...]
/linux-master/net/atm/
H A Dcommon.c104 return (vcc->qos.txtp.max_sdu +
159 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */
324 walk->vci == vci && ((walk->qos.txtp.traffic_class !=
325 ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) ||
326 (walk->qos.rxtp.traffic_class != ATM_NONE &&
327 vcc->qos.rxtp.traffic_class != ATM_NONE)))
408 switch (vcc->qos.aal) {
419 vcc->qos.aal = ATM_AAL5;
429 error = adjust_tp(&vcc->qos.txtp, vcc->qos
686 atm_change_qos(struct atm_vcc *vcc, struct atm_qos *qos) argument
730 check_qos(const struct atm_qos *qos) argument
761 struct atm_qos qos; local
[all...]
H A Dmpoa_proc.c250 struct atm_qos qos; local
252 memset(&qos, 0, sizeof(struct atm_qos));
269 qos.txtp.traffic_class = ATM_CBR;
270 qos.txtp.max_pcr = tx_pcr;
271 qos.txtp.max_sdu = tx_sdu;
272 qos.rxtp.traffic_class = ATM_CBR;
273 qos.rxtp.max_pcr = rx_pcr;
274 qos.rxtp.max_sdu = rx_sdu;
275 qos.aal = ATM_AAL5;
276 dprintk("parse_qos(): setting qos parameter
[all...]
H A Dsignaling.h25 const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply);
H A Dmpc.h44 struct atm_qos qos; member in struct:atm_mpoa_qos
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);
/linux-master/kernel/power/
H A Dqos.c245 return req->qos == &cpu_latency_constraints;
252 int ret = pm_qos_update_target(req->qos, &req->node, action, value);
281 req->qos = &cpu_latency_constraints;
441 * @qos: Frequency QoS constraints to initialize.
443 void freq_constraints_init(struct freq_constraints *qos) argument
447 c = &qos->min_freq;
453 c->notifiers = &qos->min_freq_notifiers;
456 c = &qos->max_freq;
462 c->notifiers = &qos->max_freq_notifiers;
468 * @qos
471 freq_qos_read_value(struct freq_constraints *qos, enum freq_qos_req_type type) argument
538 freq_qos_add_request(struct freq_constraints *qos, struct freq_qos_request *req, enum freq_qos_req_type type, s32 value) argument
625 freq_qos_add_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) argument
658 freq_qos_remove_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) argument
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_dcb.c141 struct sparx5_port_qos qos = {0}; local
149 dscp_map = &qos.dscp.map;
150 pcp_map = &qos.pcp.map;
153 qos.default_prio = dcb_ieee_getapp_default_prio_mask(dev);
154 if (qos.default_prio)
155 qos.default_prio = fls(qos.default_prio) - 1;
177 qos.pcp_rewr.map.map[i] = fls(pcp_rewr_map.map[i]) - 1;
194 qos.dscp_rewr.map.map[i] = dscp; /* DP 0 */
195 qos
[all...]
H A Dsparx5_port.h157 int sparx5_port_qos_set(struct sparx5_port *port, struct sparx5_port_qos *qos);
160 struct sparx5_port_qos_pcp *qos);
163 struct sparx5_port_qos_pcp_rewr *qos);
166 struct sparx5_port_qos_dscp *qos);
172 struct sparx5_port_qos_dscp_rewr *qos);
175 const struct sparx5_port_qos *qos);
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c399 struct lan966x_port_qos_pcp *qos)
401 u8 *pcp_itr = qos->map;
404 lan_rmw(ANA_QOS_CFG_QOS_PCP_ENA_SET(qos->enable),
409 for (int i = 0; i < ARRAY_SIZE(qos->map); i++) {
423 struct lan966x_port_qos_dscp *qos)
427 /* Enable/disable dscp for qos classification. */
428 lan_rmw(ANA_QOS_CFG_QOS_DSCP_ENA_SET(qos->enable),
433 for (int i = 0; i < ARRAY_SIZE(qos->map); i++)
435 ANA_DSCP_CFG_QOS_DSCP_VAL_SET(*(qos->map + i)),
441 for (int i = 0; i < ARRAY_SIZE(qos
398 lan966x_port_qos_pcp_set(struct lan966x_port *port, struct lan966x_port_qos_pcp *qos) argument
422 lan966x_port_qos_dscp_set(struct lan966x_port *port, struct lan966x_port_qos_dscp *qos) argument
447 lan966x_port_qos_default_set(struct lan966x_port *port, struct lan966x_port_qos *qos) argument
467 lan966x_port_qos_pcp_rewr_set(struct lan966x_port *port, struct lan966x_port_qos_pcp_rewr *qos) argument
503 lan966x_port_qos_dscp_rewr_set(struct lan966x_port *port, struct lan966x_port_qos_dscp_rewr *qos) argument
537 lan966x_port_qos_set(struct lan966x_port *port, struct lan966x_port_qos *qos) argument
[all...]
H A Dlan966x_dcb.c52 struct lan966x_port_qos qos = {0}; local
58 for (int i = 0; i < ARRAY_SIZE(qos.pcp.map); i++) {
61 qos.pcp.map[i] = dcb_getapp(dev, &app_itr);
65 for (int i = 0; i < ARRAY_SIZE(qos.dscp.map); i++) {
68 qos.dscp.map[i] = dcb_getapp(dev, &app_itr);
72 qos.default_prio = dcb_ieee_getapp_default_prio_mask(dev);
73 if (qos.default_prio)
74 qos.default_prio = fls(qos.default_prio) - 1;
83 qos
[all...]
/linux-master/net/bluetooth/
H A Dhci_conn.c1393 static int qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos)
1399 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) {
1411 qos->bcast.big = big;
1417 static int qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos)
1423 if (qos->bcast.bis == BT_ISO_QOS_BIS_UNSET) {
1424 if (qos->bcast.big != BT_ISO_QOS_BIG_UNSET) {
1425 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big);
1431 qos->bcast.bis = conn->iso_qos.bcast.bis;
1451 qos->bcast.bis = bis;
1459 struct bt_iso_qos *qos, __u
1391 qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos) argument
1415 qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos) argument
1456 hci_add_bis(struct hci_dev *hdev, bdaddr_t *dst, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) argument
1689 hci_le_create_big(struct hci_conn *conn, struct bt_iso_qos *qos) argument
1725 struct bt_iso_qos *qos; local
1780 hci_le_set_cig_params(struct hci_conn *conn, struct bt_iso_qos *qos) argument
1839 hci_bind_cis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos) argument
1980 hci_iso_qos_setup(struct hci_dev *hdev, struct hci_conn *conn, struct bt_iso_io_qos *qos, __u8 phy) argument
2010 struct bt_iso_qos *qos = &conn->iso_qos; local
2060 hci_pa_create_sync(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, __u8 sid, struct bt_iso_qos *qos) argument
2106 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[]) argument
2153 hci_bind_bis(struct hci_dev *hdev, bdaddr_t *dst, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) argument
2229 hci_connect_bis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) argument
2265 hci_connect_cis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos) argument
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dsriov.h16 u8 qos, __be16 vlan_proto);

Completed in 200 milliseconds

1234567891011