/Linux-v4.19/drivers/base/power/ |
D | qos.c | 58 struct dev_pm_qos *qos = dev->power.qos; in __dev_pm_qos_flags() local 64 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags() 67 pqf = &qos->flags; in __dev_pm_qos_flags() 137 struct dev_pm_qos *qos = req->dev->power.qos; in apply_constraint() local 145 ret = pm_qos_update_target(&qos->resume_latency, in apply_constraint() 149 ret = pm_qos_update_target(&qos->latency_tolerance, in apply_constraint() 152 value = pm_qos_read_value(&qos->latency_tolerance); in apply_constraint() 157 ret = pm_qos_update_flags(&qos->flags, &req->data.flr, in apply_constraint() 176 struct dev_pm_qos *qos; in dev_pm_qos_constraints_allocate() local 180 qos = kzalloc(sizeof(*qos), GFP_KERNEL); in dev_pm_qos_constraints_allocate() [all …]
|
/Linux-v4.19/net/atm/ |
D | common.c | 103 return (vcc->qos.txtp.max_sdu + in vcc_writable() 158 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create() 323 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci() 324 ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) || in check_ci() 325 (walk->qos.rxtp.traffic_class != ATM_NONE && in check_ci() 326 vcc->qos.rxtp.traffic_class != ATM_NONE))) in check_ci() 407 switch (vcc->qos.aal) { in __vcc_connect() 418 vcc->qos.aal = ATM_AAL5; in __vcc_connect() 428 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect() 430 error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal); in __vcc_connect() [all …]
|
D | mpc.c | 176 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos) in atm_mpoa_add_qos() argument 182 entry->qos = *qos; in atm_mpoa_add_qos() 193 entry->qos = *qos; in atm_mpoa_add_qos() 203 struct atm_mpoa_qos *qos; in atm_mpoa_search_qos() local 205 qos = qos_head; in atm_mpoa_search_qos() 206 while (qos) { in atm_mpoa_search_qos() 207 if (qos->ipaddr == dst_ip) in atm_mpoa_search_qos() 209 qos = qos->next; in atm_mpoa_search_qos() 212 return qos; in atm_mpoa_search_qos() 246 struct atm_mpoa_qos *qos; in atm_mpoa_disp_qos() local [all …]
|
D | mpoa_proc.c | 252 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 …]
|
D | mpoa_caches.c | 135 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() 253 struct atm_mpoa_qos *qos; in check_resolving_entries() local 287 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in check_resolving_entries() 288 if (qos != NULL) in check_resolving_entries() [all …]
|
D | signaling.c | 49 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()
|
D | mpc.h | 44 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);
|
D | svc.c | 68 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 …]
|
D | proc.c | 153 vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" : in pvc_info() 154 aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr, in pvc_info() 155 class_name[vcc->qos.rxtp.traffic_class], in pvc_info() 156 vcc->qos.txtp.min_pcr, in pvc_info() 157 class_name[vcc->qos.txtp.traffic_class]); in pvc_info()
|
/Linux-v4.19/drivers/staging/octeon/ |
D | ethernet-tx.c | 85 int qos, queues_per_port; in cvm_oct_free_tx_skbs() local 93 for (qos = 0; qos < queues_per_port; qos++) { in cvm_oct_free_tx_skbs() 94 if (skb_queue_len(&priv->tx_free_list[qos]) == 0) in cvm_oct_free_tx_skbs() 96 skb_to_free = cvmx_fau_fetch_and_add32(priv->fau + qos * 4, in cvm_oct_free_tx_skbs() 99 priv->fau + qos * 4); in cvm_oct_free_tx_skbs() 104 spin_lock_irqsave(&priv->tx_free_list[qos].lock, flags); in cvm_oct_free_tx_skbs() 108 t = __skb_dequeue(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 113 spin_unlock_irqrestore(&priv->tx_free_list[qos].lock, in cvm_oct_free_tx_skbs() 123 total_remaining += skb_queue_len(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 144 int qos; in cvm_oct_xmit() local [all …]
|
D | ethernet.c | 672 int qos; in cvm_oct_probe() local 776 for (qos = 0; qos < 16; qos++) in cvm_oct_probe() 777 skb_queue_head_init(&priv->tx_free_list[qos]); in cvm_oct_probe() 829 for (qos = 0; qos < 16; qos++) in cvm_oct_probe() 830 skb_queue_head_init(&priv->tx_free_list[qos]); in cvm_oct_probe() 831 for (qos = 0; qos < cvmx_pko_get_num_queues(port); in cvm_oct_probe() 832 qos++) in cvm_oct_probe() 833 cvmx_fau_atomic_write32(priv->fau + qos * 4, 0); in cvm_oct_probe()
|
/Linux-v4.19/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(cvmx_wqe_t *work, int qos) in cvmx_wqe_set_qos() argument 653 work->word1.cn68xx.qos = qos; in cvmx_wqe_set_qos() [all …]
|
D | cvmx-pip.h | 267 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()
|
/Linux-v4.19/net/mac80211/ |
D | wme.c | 151 bool qos = false; in ieee80211_select_queue() local 165 qos = sta->sta.wme; in ieee80211_select_queue() 177 qos = true; in ieee80211_select_queue() 184 qos = sta->sta.wme; in ieee80211_select_queue() 193 qos = true; in ieee80211_select_queue() 202 qos = sta->sta.wme; in ieee80211_select_queue() 205 if (!qos) { in ieee80211_select_queue()
|
/Linux-v4.19/drivers/atm/ |
D | fore200e.c | 1070 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1323 enum fore200e_aal aal = fore200e_atm2fore_aal(vcc->qos.aal); in fore200e_activate_vcin() 1380 fore200e_rate_ctrl(struct atm_qos* qos, struct tpd_rate* rate) in fore200e_rate_ctrl() argument 1382 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl() 1385 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl() 1433 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1434 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], in fore200e_open() 1435 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1436 fore200e_traffic_class[ vcc->qos.rxtp.traffic_class ], in fore200e_open() 1437 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open() [all …]
|
D | iphase.c | 244 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup() 474 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup() 478 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup() 1380 if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0; 1382 if (vcc->qos.rxtp.traffic_class == ATM_ABR) { 1397 if ((vcc->qos.rxtp.traffic_class == ATM_ABR) || 1398 (vcc->qos.txtp.traffic_class == ATM_ABR)) 1724 if (vcc->qos.txtp.pcr >= iadev->rate_limit) { 1753 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; 1757 if (vcc->qos.txtp.traffic_class == ATM_ABR) { [all …]
|
D | lanai.c | 700 if (lvcc->rx.atmvcc->qos.aal == ATM_AAL5) { in host_vcc_start_rx() 731 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? in host_vcc_start_tx() 793 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || in lanai_shutdown_tx_vci() 1504 struct lanai_vcc *lvcc, const struct atm_qos *qos) in lanai_setup_rx_vci_aal5() argument 1507 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX"); in lanai_setup_rx_vci_aal5() 1512 const struct atm_qos *qos) in lanai_setup_tx_vci() argument 1515 if (qos->aal == ATM_AAL0) { in lanai_setup_tx_vci() 1521 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci() 1657 if (unlikely(lvcc->rx.atmvcc->qos.aal != ATM_AAL5)) { in handle_service() 1975 const struct atm_qos *qos) in vci0_is_ok() argument [all …]
|
D | idt77252.c | 130 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() 1964 switch (vcc->qos.aal) { in idt77252_send_skb() 1970 printk("%s: Unsupported AAL: %d\n", card->name, vcc->qos.aal); in idt77252_send_skb() 2139 struct atm_vcc *vcc, struct atm_qos *qos) in idt77252_init_cbr() argument [all …]
|
/Linux-v4.19/kernel/power/ |
D | qos.c | 189 struct pm_qos_object *qos = (struct pm_qos_object *)s->private; in pm_qos_dbg_show_requests() local 197 if (IS_ERR_OR_NULL(qos)) { in pm_qos_dbg_show_requests() 201 c = qos->constraints; in pm_qos_dbg_show_requests() 590 static int register_pm_qos_misc(struct pm_qos_object *qos, struct dentry *d) in register_pm_qos_misc() argument 592 qos->pm_qos_power_miscdev.minor = MISC_DYNAMIC_MINOR; in register_pm_qos_misc() 593 qos->pm_qos_power_miscdev.name = qos->name; in register_pm_qos_misc() 594 qos->pm_qos_power_miscdev.fops = &pm_qos_power_fops; in register_pm_qos_misc() 597 (void)debugfs_create_file(qos->name, S_IRUGO, d, in register_pm_qos_misc() 598 (void *)qos, &pm_qos_debug_fops); in register_pm_qos_misc() 601 return misc_register(&qos->pm_qos_power_miscdev); in register_pm_qos_misc()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 118 u16 vlan, u8 qos, u8 set_flags) in modify_esw_vport_cvlan() argument 127 vport, vlan, qos, set_flags); in modify_esw_vport_cvlan() 139 esw_vport_context.cvlan_pcp, qos); in modify_esw_vport_cvlan() 1145 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_vport_ingress_config() 1160 vport->vport, vport->info.vlan, vport->info.qos); in esw_vport_ingress_config() 1168 if (vport->info.vlan || vport->info.qos) in esw_vport_ingress_config() 1237 if (!vport->info.vlan && !vport->info.qos) { in esw_vport_egress_config() 1252 vport->vport, vport->info.vlan, vport->info.qos); in esw_vport_egress_config() 1314 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_create_tsar() 1317 if (esw->qos.enabled) in esw_create_tsar() [all …]
|
D | eswitch.h | 90 u8 qos; member 117 } qos; member 180 } qos; member 202 int vport, u16 vlan, u8 qos); 285 int vport, u16 vlan, u8 qos, u8 set_flags);
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 24 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-v4.19/Documentation/devicetree/bindings/net/ |
D | snps,dwc-qos-ethernet.txt | 14 - "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-v4.19/drivers/net/ethernet/sfc/ |
D | sriov.c | 25 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument 31 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan() 37 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_sriov.c | 124 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, in nfp_app_set_vf_vlan() argument 139 if (vlan > 4095 || qos > 7) { in nfp_app_set_vf_vlan() 147 FIELD_PREP(NFP_NET_VF_CFG_VLAN_QOS, qos); in nfp_app_set_vf_vlan() 243 ivi->qos = FIELD_GET(NFP_NET_VF_CFG_VLAN_QOS, vlan_tci); in nfp_app_get_vf_config()
|