Home
last modified time | relevance | path

Searched refs:qos (Results 1 – 25 of 176) sorted by relevance

12345678

/linux/drivers/interconnect/qcom/
H A Dmsm8953.c102 .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 Dmsm8996.c45 .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,
64 .qos.qos_port = 1,
[all …]
H A Dqcm2290.c109 .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,
149 .qos.qos_port = 3,
[all …]
H A Dsdm660.c148 .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,
241 .qos.areq_prio = 1,
[all …]
H A Dmsm8976.c111 .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 Dmsm8937.c107 .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 Dmsm8909.c109 .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 Dshikra.c299 .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 Dqcs404.c104 .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 Dmsm8939.c121 .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 Dsm6115.c131 .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 …]
/linux/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->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 …]
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_MAX), in freq_qos_test_maxdef()
[all …]
/linux/net/atm/
H A Dcommon.c103 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 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/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c54 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()
335 msleep(port->qos.iet.verify_time_ms); in am65_cpsw_iet_verify_wait()
411 if (port->qos.link_speed == SPEED_UNKNOWN) in am65_cpsw_iet_commit_preemptible_tcs()
[all …]
/linux/net/bluetooth/
H A Dhci_conn.c1583 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 Diso.c77 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);
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()
522 if (iso_pi(sk)->qos_user_set && !check_ucast_qos(&iso_pi(sk)->qos)) { in iso_connect_cis()
523 iso_pi(sk)->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 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.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/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h483 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/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c153 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()
176 if (!vport->qos.sched_node) in mlx5_esw_qos_vport_get_sched_elem_ix()
179 return vport->qos.sched_node->ix; in mlx5_esw_qos_vport_get_sched_elem_ix()
185 if (!vport->qos.sched_node) in mlx5_esw_qos_vport_get_parent()
[all …]
/linux/drivers/pmdomain/imx/
H A Dimx93-blk-ctrl.c86 struct imx93_blk_ctrl_qos qos[DOMAIN_MAX_QOS]; member
115 const struct imx93_blk_ctrl_qos *qos; in imx93_blk_ctrl_set_qos() local
120 qos = &data->qos[i]; in imx93_blk_ctrl_set_qos()
122 mask = PRIO_MASK << qos->cfg_off; in imx93_blk_ctrl_set_qos()
123 mask |= PRIO_MASK << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
124 val = qos->cfg_prio << qos->cfg_off; in imx93_blk_ctrl_set_qos()
125 val |= qos->default_prio << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
127 regmap_write_bits(bc->regmap, qos->reg, mask, val); in imx93_blk_ctrl_set_qos()
129 dev_dbg(bc->dev, "data->qos[i].reg 0x%x 0x%x\n", qos->reg, val); in imx93_blk_ctrl_set_qos()
392 .qos = {
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.c31 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()
362 mutex_unlock(&pfvf->qos.qos_lock); in otx2_qos_prepare_txschq_cfg()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1232 struct sparx5_port_qos *qos) in sparx5_port_qos_set() argument
1234 sparx5_port_qos_dscp_set(port, &qos->dscp); in sparx5_port_qos_set()
1235 sparx5_port_qos_pcp_set(port, &qos->pcp); in sparx5_port_qos_set()
1236 sparx5_port_qos_pcp_rewr_set(port, &qos->pcp_rewr); in sparx5_port_qos_set()
1237 sparx5_port_qos_dscp_rewr_set(port, &qos->dscp_rewr); in sparx5_port_qos_set()
1238 sparx5_port_qos_default_set(port, qos); in sparx5_port_qos_set()
1244 struct sparx5_port_qos_pcp_rewr *qos) in sparx5_port_qos_pcp_rewr_set() argument
1254 if (qos->enable) in sparx5_port_qos_pcp_rewr_set()
1262 for (i = 0; i < ARRAY_SIZE(qos->map.map); i++) { in sparx5_port_qos_pcp_rewr_set()
1264 pcp = qos->map.map[i]; in sparx5_port_qos_pcp_rewr_set()
[all …]
/linux/arch/arm/boot/dts/rockchip/
H A Drk3xxx.dtsi129 qos_gpu: qos@1012d000 {
130 compatible = "rockchip,rk3066-qos", "syscon";
134 qos_vpu: qos@1012e000 {
135 compatible = "rockchip,rk3066-qos", "syscon";
139 qos_lcdc0: qos@1012f000 {
140 compatible = "rockchip,rk3066-qos", "syscon";
144 qos_cif0: qos@1012f080 {
145 compatible = "rockchip,rk3066-qos", "syscon";
149 qos_ipp: qos@1012f100 {
150 compatible = "rockchip,rk3066-qos", "syscon";
[all …]

12345678