/drivers/base/power/ |
D | qos.c | 63 struct dev_pm_qos *qos = dev->power.qos; in __dev_pm_qos_flags() local 69 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags() 72 pqf = &qos->flags; in __dev_pm_qos_flags() 111 return IS_ERR_OR_NULL(dev->power.qos) ? in __dev_pm_qos_read_value() 112 0 : pm_qos_read_value(&dev->power.qos->resume_latency); in __dev_pm_qos_read_value() 144 struct dev_pm_qos *qos = req->dev->power.qos; in apply_constraint() local 149 ret = pm_qos_update_target(&qos->resume_latency, in apply_constraint() 152 value = pm_qos_read_value(&qos->resume_latency); in apply_constraint() 159 ret = pm_qos_update_target(&qos->latency_tolerance, in apply_constraint() 162 value = pm_qos_read_value(&qos->latency_tolerance); in apply_constraint() [all …]
|
/drivers/staging/octeon/ |
D | ethernet-tx.c | 87 int qos, queues_per_port; in cvm_oct_free_tx_skbs() local 95 for (qos = 0; qos < queues_per_port; qos++) { in cvm_oct_free_tx_skbs() 96 if (skb_queue_len(&priv->tx_free_list[qos]) == 0) in cvm_oct_free_tx_skbs() 98 skb_to_free = cvmx_fau_fetch_and_add32(priv->fau + qos * 4, in cvm_oct_free_tx_skbs() 101 priv->fau + qos * 4); in cvm_oct_free_tx_skbs() 106 spin_lock_irqsave(&priv->tx_free_list[qos].lock, flags); in cvm_oct_free_tx_skbs() 110 t = __skb_dequeue(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 115 spin_unlock_irqrestore(&priv->tx_free_list[qos].lock, in cvm_oct_free_tx_skbs() 125 total_remaining += skb_queue_len(&priv->tx_free_list[qos]); in cvm_oct_free_tx_skbs() 146 int qos; in cvm_oct_xmit() local [all …]
|
D | ethernet.c | 686 int qos; in cvm_oct_probe() local 785 for (qos = 0; qos < 16; qos++) in cvm_oct_probe() 786 skb_queue_head_init(&priv->tx_free_list[qos]); in cvm_oct_probe() 836 for (qos = 0; qos < 16; qos++) in cvm_oct_probe() 837 skb_queue_head_init(&priv->tx_free_list[qos]); in cvm_oct_probe() 838 for (qos = 0; qos < cvmx_pko_get_num_queues(port); in cvm_oct_probe() 839 qos++) in cvm_oct_probe() 840 cvmx_fau_atomic_write32(priv->fau + qos * 4, 0); in cvm_oct_probe()
|
/drivers/net/irda/ |
D | actisys-sir.c | 119 struct qos_info *qos = &dev->qos; in actisys_open() local 124 qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in actisys_open() 128 qos->baud_rate.bits &= ~IR_38400; in actisys_open() 130 qos->min_turn_time.bits = 0x7f; /* Needs 0.01 ms */ in actisys_open() 131 irda_qos_bits_to_value(qos); in actisys_open()
|
D | old_belkin-sir.c | 91 struct qos_info *qos = &dev->qos; in old_belkin_open() local 97 qos->baud_rate.bits &= IR_9600; in old_belkin_open() 99 qos->min_turn_time.bits = 0x01; in old_belkin_open() 100 irda_qos_bits_to_value(qos); in old_belkin_open()
|
D | esi-sir.c | 67 struct qos_info *qos = &dev->qos; in esi_open() local 72 qos->baud_rate.bits &= IR_9600|IR_19200|IR_115200; in esi_open() 73 qos->min_turn_time.bits = 0x01; /* Needs at least 10 ms */ in esi_open() 74 irda_qos_bits_to_value(qos); in esi_open()
|
D | litelink-sir.c | 77 struct qos_info *qos = &dev->qos; in litelink_open() local 83 qos->baud_rate.bits &= IR_115200|IR_57600|IR_38400|IR_19200|IR_9600; in litelink_open() 84 qos->min_turn_time.bits = 0x7f; /* Needs 0.01 ms */ in litelink_open() 85 irda_qos_bits_to_value(qos); in litelink_open()
|
D | ma600-sir.c | 85 struct qos_info *qos = &dev->qos; in ma600_open() local 90 qos->baud_rate.bits &= IR_2400|IR_9600|IR_19200|IR_38400 in ma600_open() 93 qos->min_turn_time.bits = 0x01; /* Needs at least 1 ms */ in ma600_open() 94 irda_qos_bits_to_value(qos); in ma600_open()
|
D | toim3232-sir.c | 173 struct qos_info *qos = &dev->qos; in toim3232_open() local 188 qos->baud_rate.bits &= IR_2400|IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in toim3232_open() 191 qos->min_turn_time.bits = 0x01; /* Needs at least 10 ms */ in toim3232_open() 192 irda_qos_bits_to_value(qos); in toim3232_open()
|
D | tekram-sir.c | 78 struct qos_info *qos = &dev->qos; in tekram_open() local 82 qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in tekram_open() 83 qos->min_turn_time.bits = 0x01; /* Needs at least 10 ms */ in tekram_open() 84 irda_qos_bits_to_value(qos); in tekram_open()
|
D | mcp2120-sir.c | 64 struct qos_info *qos = &dev->qos; in mcp2120_open() local 68 qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in mcp2120_open() 69 qos->min_turn_time.bits = 0x01; in mcp2120_open() 70 irda_qos_bits_to_value(qos); in mcp2120_open()
|
D | girbil-sir.c | 87 struct qos_info *qos = &dev->qos; in girbil_open() local 92 qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in girbil_open() 93 qos->min_turn_time.bits = 0x03; in girbil_open() 94 irda_qos_bits_to_value(qos); in girbil_open()
|
D | act200l-sir.c | 108 struct qos_info *qos = &dev->qos; in act200l_open() local 114 qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in act200l_open() 115 qos->min_turn_time.bits = 0x03; in act200l_open() 116 irda_qos_bits_to_value(qos); in act200l_open()
|
D | irda-usb.c | 1203 self->irlap = irlap_open(netdev, &self->qos, hwname); in irda_usb_net_open() 1352 irda_init_max_qos_capabilies(&self->qos); in irda_usb_init_qos() 1357 self->qos.baud_rate.bits = le16_to_cpu(desc->wBaudRate); in irda_usb_init_qos() 1358 self->qos.min_turn_time.bits = desc->bmMinTurnaroundTime; in irda_usb_init_qos() 1359 self->qos.additional_bofs.bits = desc->bmAdditionalBOFs; in irda_usb_init_qos() 1360 self->qos.window_size.bits = desc->bmWindowSize; in irda_usb_init_qos() 1361 self->qos.data_size.bits = desc->bmDataSize; in irda_usb_init_qos() 1364 __func__, self->qos.baud_rate.bits, self->qos.data_size.bits, in irda_usb_init_qos() 1365 self->qos.window_size.bits, self->qos.additional_bofs.bits, in irda_usb_init_qos() 1366 self->qos.min_turn_time.bits); in irda_usb_init_qos() [all …]
|
D | kingsun-sir.c | 107 struct qos_info qos; member 288 kingsun->irlap = irlap_open(netdev, &kingsun->qos, hwname); in kingsun_net_open() 524 irda_init_max_qos_capabilies(&kingsun->qos); in kingsun_probe() 527 kingsun->qos.baud_rate.bits &= IR_9600; in kingsun_probe() 528 kingsun->qos.min_turn_time.bits &= KINGSUN_MTT; in kingsun_probe() 529 irda_qos_bits_to_value(&kingsun->qos); in kingsun_probe()
|
D | sh_sir.c | 114 struct qos_info qos; member 646 self->irlap = irlap_open(ndev, &self->qos, DRIVER_NAME); in sh_sir_open() 744 irda_init_max_qos_capabilies(&self->qos); in sh_sir_probe() 750 self->qos.baud_rate.bits &= IR_9600; /* FIXME */ in sh_sir_probe() 751 self->qos.min_turn_time.bits = 1; /* 10 ms or more */ in sh_sir_probe() 753 irda_qos_bits_to_value(&self->qos); in sh_sir_probe()
|
/drivers/atm/ |
D | fore200e.c | 1067 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1324 enum fore200e_aal aal = fore200e_atm2fore_aal(vcc->qos.aal); in fore200e_activate_vcin() 1381 fore200e_rate_ctrl(struct atm_qos* qos, struct tpd_rate* rate) in fore200e_rate_ctrl() argument 1383 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl() 1386 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl() 1434 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1435 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], in fore200e_open() 1436 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1437 fore200e_traffic_class[ vcc->qos.rxtp.traffic_class ], in fore200e_open() 1438 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() 1977 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() 1107 if (vcc->qos.aal != ATM_AAL5) { in dequeue_rx() 1109 card->name, vcc->qos.aal); in dequeue_rx() 1302 if (vcc->qos.aal != ATM_AAL0) { in idt77252_rx_raw() 1967 switch (vcc->qos.aal) { in idt77252_send_skb() 1973 printk("%s: Unsupported AAL: %d\n", card->name, vcc->qos.aal); in idt77252_send_skb() 2147 struct atm_vcc *vcc, struct atm_qos *qos) in idt77252_init_cbr() argument [all …]
|
D | zatm.c | 494 if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0; in open_rx_first() 495 if (vcc->qos.aal == ATM_AAL5) { in open_rx_first() 496 if (vcc->qos.rxtp.max_sdu > 65464) in open_rx_first() 497 vcc->qos.rxtp.max_sdu = 65464; in open_rx_first() 500 cells = DIV_ROUND_UP(vcc->qos.rxtp.max_sdu + ATM_AAL5_TRAILER, in open_rx_first() 524 zpokel(zatm_dev,uPD98401_RXVC_OD | (vcc->qos.aal == ATM_AAL5 ? in open_rx_first() 659 | (vcc->qos.aal == ATM_AAL5 ? uPD98401_TXPD_AAL5 : 0 | in do_tx() 906 zatm_dev->tx_bw += vcc->qos.txtp.min_pcr; in close_tx() 926 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; in open_tx_first() 936 unlimited = vcc->qos.txtp.traffic_class == ATM_UBR && in open_tx_first() [all …]
|
D | atmtcp.c | 94 vcc->qos = msg->qos; in atmtcp_recv_control() 134 msg.qos = vcc->qos; in atmtcp_v_open() 198 if (vcc->qos.txtp.traffic_class == ATM_NONE) { in atmtcp_v_send() 274 vcc->qos.rxtp.traffic_class != ATM_NONE) { in find_vcc()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 46 u8 qos, __be16 vlan_proto); 64 u16 vid, u16 qos, u32 vf) in ixgbe_set_vmvir() argument 67 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
|
/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()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 130 u16 vlan, u8 qos, u8 set_flags) in modify_esw_vport_cvlan() argument 139 vport, vlan, qos, set_flags); in modify_esw_vport_cvlan() 151 esw_vport_context.cvlan_pcp, qos); in modify_esw_vport_cvlan() 1229 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_vport_ingress_config() 1244 vport->vport, vport->info.vlan, vport->info.qos); in esw_vport_ingress_config() 1254 if (vport->info.vlan || vport->info.qos) in esw_vport_ingress_config() 1309 if (!vport->info.vlan && !vport->info.qos) { in esw_vport_egress_config() 1324 vport->vport, vport->info.vlan, vport->info.qos); in esw_vport_egress_config() 1398 modify_esw_vport_cvlan(esw->dev, vport_num, vport->info.vlan, vport->info.qos, in esw_apply_vport_conf() 1399 (vport->info.vlan || vport->info.qos)); in esw_apply_vport_conf() [all …]
|