Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/drivers/base/power/
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
119 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_RESUME_LATENCY_NO_CONSTRAINT in dev_pm_qos_read_value()
120 : pm_qos_read_value(&qos->resume_latency); in dev_pm_qos_read_value()
143 struct dev_pm_qos *qos = req->dev->power.qos; in apply_constraint() local
151 ret = pm_qos_update_target(&qos->resume_latency, in apply_constraint()
155 ret = pm_qos_update_target(&qos->latency_tolerance, in apply_constraint()
158 value = pm_qos_read_value(&qos->latency_tolerance); in apply_constraint()
[all …]
/Linux-v5.4/net/atm/
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.aal); in __vcc_connect()
431 error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal); in __vcc_connect()
[all …]
Dmpc.c177 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 …]
Dmpoa_proc.c252 struct atm_qos qos; in parse_qos() local
254 memset(&qos, 0, sizeof(struct atm_qos)); in parse_qos()
271 qos.txtp.traffic_class = ATM_CBR; in parse_qos()
272 qos.txtp.max_pcr = tx_pcr; in parse_qos()
273 qos.txtp.max_sdu = tx_sdu; in parse_qos()
274 qos.rxtp.traffic_class = ATM_CBR; in parse_qos()
275 qos.rxtp.max_pcr = rx_pcr; in parse_qos()
276 qos.rxtp.max_sdu = rx_sdu; in parse_qos()
277 qos.aal = ATM_AAL5; in parse_qos()
279 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos()
[all …]
Dmpoa_caches.c135 struct atm_mpoa_qos *qos; in cache_hit() local
147 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit()
148 if (qos != NULL) in cache_hit()
149 msg.qos = qos->qos; in cache_hit()
170 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit()
171 if (qos != NULL) in cache_hit()
172 msg.qos = qos->qos; in cache_hit()
252 struct atm_mpoa_qos *qos; in check_resolving_entries() local
286 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in check_resolving_entries()
287 if (qos != NULL) in check_resolving_entries()
[all …]
Dsignaling.c49 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos()
94 session_vcc->qos = msg->qos; in sigd_send()
144 const struct sockaddr_atmsvc *svc, const struct atm_qos *qos, in sigd_enq2() argument
159 if (qos) in sigd_enq2()
160 msg->qos = *qos; in sigd_enq2()
183 sigd_enq2(vcc, type, listen_vcc, pvc, svc, vcc ? &vcc->qos : NULL, 0); in sigd_enq()
Dmpc.h44 struct atm_qos qos; member
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);
Dsvc.c68 sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0); in svc_disconnect()
195 if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS || in svc_connect()
196 vcc->qos.rxtp.traffic_class == ATM_ANYCLASS) { in svc_connect()
200 if (!vcc->qos.txtp.traffic_class && in svc_connect()
201 !vcc->qos.rxtp.traffic_class) { in svc_connect()
268 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect()
269 vcc->qos.txtp.pcr = 0; in svc_connect()
270 vcc->qos.txtp.min_pcr = 0; in svc_connect()
375 new_vcc->qos = msg->qos; in svc_accept()
387 &old_vcc->qos, error); in svc_accept()
[all …]
/Linux-v5.4/drivers/staging/octeon/
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].lock, in cvm_oct_free_tx_skbs()
113 total_remaining += skb_queue_len(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs()
134 int qos; in cvm_oct_xmit() local
[all …]
Dethernet.c684 int qos; in cvm_oct_probe() local
788 for (qos = 0; qos < 16; qos++) in cvm_oct_probe()
789 skb_queue_head_init(&priv->tx_free_list[qos]); in cvm_oct_probe()
842 for (qos = 0; qos < 16; qos++) in cvm_oct_probe()
843 skb_queue_head_init(&priv->tx_free_list[qos]); in cvm_oct_probe()
844 for (qos = 0; qos < cvmx_pko_get_num_queues(port); in cvm_oct_probe()
845 qos++) in cvm_oct_probe()
846 cvmx_fau_atomic_write32(priv->fau + qos * 4, 0); in cvm_oct_probe()
/Linux-v5.4/kernel/power/
Dqos.c142 struct pm_qos_object *qos = (struct pm_qos_object *)s->private; in pm_qos_debug_show() local
150 if (IS_ERR_OR_NULL(qos)) { in pm_qos_debug_show()
154 c = qos->constraints; in pm_qos_debug_show()
532 static int register_pm_qos_misc(struct pm_qos_object *qos, struct dentry *d) in register_pm_qos_misc() argument
534 qos->pm_qos_power_miscdev.minor = MISC_DYNAMIC_MINOR; in register_pm_qos_misc()
535 qos->pm_qos_power_miscdev.name = qos->name; in register_pm_qos_misc()
536 qos->pm_qos_power_miscdev.fops = &pm_qos_power_fops; in register_pm_qos_misc()
538 debugfs_create_file(qos->name, S_IRUGO, d, (void *)qos, in register_pm_qos_misc()
541 return misc_register(&qos->pm_qos_power_miscdev); in register_pm_qos_misc()
660 void freq_constraints_init(struct freq_constraints *qos) in freq_constraints_init() argument
[all …]
/Linux-v5.4/arch/mips/include/asm/octeon/
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(cvmx_wqe_t *work, int qos) in cvmx_wqe_set_qos() argument
653 work->word1.cn68xx.qos = qos; in cvmx_wqe_set_qos()
[all …]
Dcvmx-pip.h267 uint64_t qos:3; member
318 uint64_t match_value, uint64_t qos)
325 watcher_config.s.qos = qos;
338 uint64_t qos) in cvmx_pip_config_vlan_qos() argument
342 pip_qos_vlanx.s.qos = qos; in cvmx_pip_config_vlan_qos()
352 static inline void cvmx_pip_config_diffserv_qos(uint64_t diffserv, uint64_t qos) in cvmx_pip_config_diffserv_qos() argument
356 pip_qos_diffx.s.qos = qos; in cvmx_pip_config_diffserv_qos()
Dcvmx-pko-defs.h434 uint64_t qos:3; member
450 uint64_t qos:3;
519 uint64_t qos:3; member
533 uint64_t qos:3;
624 uint64_t qos:3; member
632 uint64_t qos:3;
681 uint64_t qos:3; member
691 uint64_t qos:3;
728 uint64_t qos:5; member
740 uint64_t qos:5;
[all …]
/Linux-v5.4/include/linux/
Dpm_qos.h165 return dev->power.qos->resume_latency_req->data.pnode.prio; in dev_pm_qos_requested_resume_latency()
170 return dev->power.qos->flags_req->data.flr.flags; in dev_pm_qos_requested_flags()
175 return IS_ERR_OR_NULL(dev->power.qos) ? in dev_pm_qos_raw_resume_latency()
177 pm_qos_read_value(&dev->power.qos->resume_latency); in dev_pm_qos_raw_resume_latency()
276 struct freq_constraints *qos; member
281 return !IS_ERR_OR_NULL(req->qos); in freq_qos_request_active()
284 void freq_constraints_init(struct freq_constraints *qos);
286 s32 freq_qos_read_value(struct freq_constraints *qos,
289 int freq_qos_add_request(struct freq_constraints *qos,
295 int freq_qos_add_notifier(struct freq_constraints *qos,
[all …]
/Linux-v5.4/drivers/atm/
Dfore200e.c978 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd()
1233 enum fore200e_aal aal = fore200e_atm2fore_aal(vcc->qos.aal); in fore200e_activate_vcin()
1290 fore200e_rate_ctrl(struct atm_qos* qos, struct tpd_rate* rate) in fore200e_rate_ctrl() argument
1292 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl()
1295 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl()
1343 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open()
1344 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], in fore200e_open()
1345 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open()
1346 fore200e_traffic_class[ vcc->qos.rxtp.traffic_class ], in fore200e_open()
1347 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open()
[all …]
Diphase.c245 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup()
475 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup()
479 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup()
1381 if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0;
1383 if (vcc->qos.rxtp.traffic_class == ATM_ABR) {
1398 if ((vcc->qos.rxtp.traffic_class == ATM_ABR) ||
1399 (vcc->qos.txtp.traffic_class == ATM_ABR))
1725 if (vcc->qos.txtp.pcr >= iadev->rate_limit) {
1754 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0;
1758 if (vcc->qos.txtp.traffic_class == ATM_ABR) {
[all …]
Dlanai.c696 if (lvcc->rx.atmvcc->qos.aal == ATM_AAL5) { in host_vcc_start_rx()
727 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? in host_vcc_start_tx()
789 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || in lanai_shutdown_tx_vci()
1500 struct lanai_vcc *lvcc, const struct atm_qos *qos) in lanai_setup_rx_vci_aal5() argument
1503 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX"); in lanai_setup_rx_vci_aal5()
1508 const struct atm_qos *qos) in lanai_setup_tx_vci() argument
1511 if (qos->aal == ATM_AAL0) { in lanai_setup_tx_vci()
1517 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci()
1653 if (unlikely(lvcc->rx.atmvcc->qos.aal != ATM_AAL5)) { in handle_service()
1971 const struct atm_qos *qos) in vci0_is_ok() argument
[all …]
Didt77252.c130 static int idt77252_change_qos(struct atm_vcc *vcc, struct atm_qos *qos,
876 aal = vcc->qos.aal; in queue_skb()
1065 if ((vcc->qos.aal == ATM_AAL0) || in dequeue_rx()
1066 (vcc->qos.aal == ATM_AAL34)) { in dequeue_rx()
1106 if (vcc->qos.aal != ATM_AAL5) { in dequeue_rx()
1108 card->name, vcc->qos.aal); in dequeue_rx()
1300 if (vcc->qos.aal != ATM_AAL0) { in idt77252_rx_raw()
1963 switch (vcc->qos.aal) { in idt77252_send_skb()
1969 printk("%s: Unsupported AAL: %d\n", card->name, vcc->qos.aal); in idt77252_send_skb()
2138 struct atm_vcc *vcc, struct atm_qos *qos) in idt77252_init_cbr() argument
[all …]
/Linux-v5.4/block/
Dblk-iocost.c370 u32 qos[NR_QOS_PARAMS]; member
531 .qos = {
547 .qos = {
563 .qos = {
580 .qos = {
689 if (ioc->params.qos[QOS_RLAT] >= ioc->params.qos[QOS_WLAT]) { in ioc_refresh_period_us()
690 ppm = ioc->params.qos[QOS_RPPM]; in ioc_refresh_period_us()
691 lat = ioc->params.qos[QOS_RLAT]; in ioc_refresh_period_us()
693 ppm = ioc->params.qos[QOS_WPPM]; in ioc_refresh_period_us()
694 lat = ioc->params.qos[QOS_WLAT]; in ioc_refresh_period_us()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/net/
Dsnps,dwc-qos-ethernet.txt14 - "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":
99 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
101 - "snps,dwc-qos-ethernet-4.10" (deprecated):
[all …]
/Linux-v5.4/net/mac80211/
Dwme.c145 bool qos; in __ieee80211_select_queue() local
150 qos = true; in __ieee80211_select_queue()
152 qos = sta->sta.wme; in __ieee80211_select_queue()
154 qos = false; in __ieee80211_select_queue()
156 if (!qos) { in __ieee80211_select_queue()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h24 u8 qos, __be16 vlan_proto);
42 u16 vid, u16 qos, u32 vf) in ixgbe_set_vmvir() argument
45 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c151 u16 vlan, u8 qos, u8 set_flags) in modify_esw_vport_cvlan() argument
160 vport, vlan, qos, set_flags); in modify_esw_vport_cvlan()
172 esw_vport_context.cvlan_pcp, qos); in modify_esw_vport_cvlan()
1252 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_vport_ingress_config()
1267 vport->vport, vport->info.vlan, vport->info.qos); in esw_vport_ingress_config()
1275 if (vport->info.vlan || vport->info.qos) in esw_vport_ingress_config()
1344 if (!vport->info.vlan && !vport->info.qos) { in esw_vport_egress_config()
1359 vport->vport, vport->info.vlan, vport->info.qos); in esw_vport_egress_config()
1443 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_create_tsar()
1449 if (esw->qos.enabled) in esw_create_tsar()
[all …]
/Linux-v5.4/drivers/net/ethernet/sfc/
Dsriov.c22 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument
28 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
34 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan()

123456789