/Linux-v5.4/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 55 for (i = 0; i < priv->rx_cfg.num_queues; i++) { in gve_get_strings() 61 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings() 82 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count() 83 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count() 102 ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats() 114 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats() 138 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_ethtool_stats() 145 i += priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS; in gve_get_ethtool_stats() 149 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats() 160 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats() [all …]
|
D | gve_main.c | 36 for (ring = 0; ring < priv->rx_cfg.num_queues; ring++) { in gve_get_stats() 47 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_stats() 172 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks() 173 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks() 174 if (priv->rx_cfg.num_queues > priv->rx_cfg.max_queues) in gve_alloc_notify_blocks() 175 priv->rx_cfg.num_queues = priv->rx_cfg.max_queues; in gve_alloc_notify_blocks() 374 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_create_rings() 386 for (i = 0; i < priv->rx_cfg.num_queues; i++) { in gve_create_rings() 415 priv->tx = kvzalloc(priv->tx_cfg.num_queues * sizeof(*priv->tx), in gve_alloc_rings() 423 priv->rx = kvzalloc(priv->rx_cfg.num_queues * sizeof(*priv->rx), in gve_alloc_rings() [all …]
|
D | gve.h | 155 u16 num_queues; /* current */ member 358 return priv->tx_cfg.num_queues; in gve_num_tx_qpls() 365 return priv->rx_cfg.num_queues; in gve_num_rx_qpls()
|
/Linux-v5.4/drivers/net/xen-netback/ |
D | interface.c | 155 unsigned int num_queues; in xenvif_select_queue() local 159 num_queues = READ_ONCE(vif->num_queues); in xenvif_select_queue() 160 if (num_queues < 1) in xenvif_select_queue() 181 unsigned int num_queues; in xenvif_start_xmit() local 191 num_queues = READ_ONCE(vif->num_queues); in xenvif_start_xmit() 192 if (num_queues < 1) in xenvif_start_xmit() 197 if (index >= num_queues) { in xenvif_start_xmit() 200 index %= num_queues; in xenvif_start_xmit() 242 unsigned int num_queues; in xenvif_get_stats() local 250 num_queues = READ_ONCE(vif->num_queues); in xenvif_get_stats() [all …]
|
D | xenbus.c | 177 for (i = 0; i < vif->num_queues; ++i) { in xenvif_debugfs_addif() 434 unsigned int num_queues = vif->num_queues; in backend_disconnect() local 446 vif->num_queues = 0; in backend_disconnect() 449 for (queue_index = 0; queue_index < num_queues; ++queue_index) in backend_disconnect() 689 for (queue_index = 0; queue_index < vif->num_queues; queue_index++) { in xen_net_rate_changed() 924 be->vif->num_queues = requested_num_queues; in connect() 942 be->vif->num_queues = queue_index; in connect() 958 be->vif->num_queues = queue_index; in connect() 989 if (be->vif->num_queues > 0) in connect() 991 for (queue_index = 0; queue_index < be->vif->num_queues; ++queue_index) in connect() [all …]
|
/Linux-v5.4/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 71 const int num_queues = 1; in __cvmx_pko_iport_config() local 76 for (queue = 0; queue < num_queues; queue++) { in __cvmx_pko_iport_config() 85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 101 num_queues, queue); in __cvmx_pko_iport_config() 341 uint64_t num_queues, in cvmx_pko_config_port() argument 361 if (base_queue + num_queues > CVMX_PKO_MAX_OUTPUT_QUEUES) { in cvmx_pko_config_port() 364 (unsigned long long)(base_queue + num_queues)); in cvmx_pko_config_port() 374 for (queue = 0; queue < num_queues; queue++) { in cvmx_pko_config_port() 388 && queue == num_queues - 1) in cvmx_pko_config_port() 431 cvmx_dprintf("num queues: %d (%lld,%lld)\n", num_queues, in cvmx_pko_config_port() [all …]
|
/Linux-v5.4/drivers/net/ |
D | xen-netfront.c | 348 unsigned int num_queues = dev->real_num_tx_queues; in xennet_open() local 355 for (i = 0; i < num_queues; ++i) { in xennet_open() 548 unsigned int num_queues = dev->real_num_tx_queues; in xennet_select_queue() local 553 if (num_queues == 1) { in xennet_select_queue() 557 queue_idx = hash % num_queues; in xennet_select_queue() 578 unsigned int num_queues = dev->real_num_tx_queues; in xennet_start_xmit() local 583 if (num_queues < 1) in xennet_start_xmit() 713 unsigned int num_queues = dev->real_num_tx_queues; in xennet_close() local 717 for (i = 0; i < num_queues; ++i) { in xennet_close() 1257 unsigned int num_queues = dev->real_num_tx_queues; in xennet_poll_controller() local [all …]
|
/Linux-v5.4/drivers/scsi/ |
D | virtio_scsi.c | 77 u32 num_queues; member 206 num_vqs = vscsi->num_queues; in virtscsi_poll_requests() 786 num_vqs = vscsi->num_queues + VIRTIO_SCSI_VQ_BASE; in virtscsi_init() 838 u32 num_queues; in virtscsi_probe() local 847 num_queues = virtscsi_config_get(vdev, num_queues) ? : 1; in virtscsi_probe() 848 num_queues = min_t(unsigned int, nr_cpu_ids, num_queues); in virtscsi_probe() 853 struct_size(vscsi, req_vqs, num_queues)); in virtscsi_probe() 861 vscsi->num_queues = num_queues; in virtscsi_probe() 881 shost->nr_hw_queues = num_queues; in virtscsi_probe()
|
/Linux-v5.4/drivers/net/ethernet/amazon/ena/ |
D | ena_ethtool.c | 136 for (i = 0; i < adapter->num_queues; i++) { in ena_queue_stats() 208 return adapter->num_queues * (ENA_STATS_ARRAY_TX + ENA_STATS_ARRAY_RX) in ena_get_sset_count() 217 for (i = 0; i < adapter->num_queues; i++) { in ena_queue_strings() 336 for (i = 0; i < adapter->num_queues; i++) in ena_update_tx_rings_intr_moderation() 347 for (i = 0; i < adapter->num_queues; i++) in ena_update_rx_rings_intr_moderation() 615 info->data = adapter->num_queues; in ena_get_rxnfc() 737 channels->max_rx = adapter->num_queues; in ena_get_channels() 738 channels->max_tx = adapter->num_queues; in ena_get_channels() 741 channels->rx_count = adapter->num_queues; in ena_get_channels() 742 channels->tx_count = adapter->num_queues; in ena_get_channels()
|
D | ena_netdev.c | 104 for (i = 0; i < adapter->num_queues; i++) in update_rx_ring_mtu() 132 adapter->netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(adapter->num_queues); in ena_init_rx_cpu_rmap() 135 for (i = 0; i < adapter->num_queues; i++) { in ena_init_rx_cpu_rmap() 175 for (i = 0; i < adapter->num_queues; i++) { in ena_init_io_rings() 297 for (i = 0; i < adapter->num_queues; i++) { in ena_setup_all_tx_resources() 325 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_io_tx_resources() 431 for (i = 0; i < adapter->num_queues; i++) { in ena_setup_all_rx_resources() 459 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_io_rx_resources() 603 for (i = 0; i < adapter->num_queues; i++) { in ena_refill_all_rx_bufs() 619 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_rx_bufs() [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
D | qede.h | 210 #define QEDE_MAX_RSS_CNT(edev) ((edev)->dev_info.num_queues) 211 #define QEDE_MAX_TSS_CNT(edev) ((edev)->dev_info.num_queues) 223 u16 num_queues; member 224 #define QEDE_QUEUE_CNT(edev) ((edev)->num_queues) 225 #define QEDE_RSS_COUNT(edev) ((edev)->num_queues - (edev)->fp_num_tx) 227 #define QEDE_TSS_COUNT(edev) ((edev)->num_queues - (edev)->fp_num_rx) 586 #define for_each_queue(i) for (i = 0; i < edev->num_queues; i++)
|
/Linux-v5.4/drivers/soc/ti/ |
D | knav_qmss_acc.c | 33 for (queue = 0; queue < range->num_queues; queue++) { in __knav_acc_notify() 150 queue >= range_base + range->num_queues) { in knav_acc_int_handler() 154 range_base + range->num_queues); in knav_acc_int_handler() 313 queue_mask = BIT(range->num_queues) - 1; in knav_acc_setup_cmd() 379 for (queue = 0; queue < range->num_queues; queue++) { in knav_acc_init_range() 439 channels = range->num_queues; in knav_acc_free_range() 523 channels = range->num_queues; in knav_init_acc_range() 533 if (range->num_queues > 32) { in knav_init_acc_range()
|
D | knav_qmss.h | 140 unsigned num_queues; member 297 unsigned num_queues; member 332 unsigned num_queues; member
|
D | knav_qmss_queue.c | 205 kdev->base_id + kdev->num_queues > id) { in knav_queue_find_by_id() 470 kdev->base_id + kdev->num_queues - 1); in knav_queue_debug_show() 1236 range->num_queues = temp[1]; in knav_setup_queue_range() 1270 range->num_irqs = min(range->num_irqs, range->num_queues); in knav_setup_queue_range() 1290 end = min(qmgr->start_queue + qmgr->num_queues, in knav_setup_queue_range() 1291 range->queue_base + range->num_queues); in knav_setup_queue_range() 1304 range->queue_base + range->num_queues - 1, in knav_setup_queue_range() 1309 kdev->num_queues_in_use += range->num_queues; in knav_setup_queue_range() 1417 qmgr->num_queues = temp[1]; in knav_queue_init_qmgrs() 1425 qmgr->start_queue, qmgr->num_queues); in knav_queue_init_qmgrs() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_pm4_headers.h | 88 uint32_t num_queues:10; member 141 uint32_t num_queues:10; member
|
D | kfd_pm4_headers_vi.h | 191 uint32_t num_queues:10; member 240 uint32_t num_queues:3; member 361 uint32_t num_queues:3; member
|
D | kfd_pm4_headers_ai.h | 184 uint32_t num_queues:10; member 285 uint32_t num_queues:3; member 408 uint32_t num_queues:3; member
|
D | kfd_kernel_queue_v10.c | 90 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_v10() 162 packet->bitfields2.num_queues = 1; in pm_map_queues_v10() 249 packet->bitfields2.num_queues = 1; in pm_unmap_queues_v10()
|
D | kfd_kernel_queue_vi.c | 100 packet->bitfields10.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_vi() 193 packet->bitfields2.num_queues = 1; in pm_map_queues_vi() 280 packet->bitfields2.num_queues = 1; in pm_unmap_queues_vi()
|
D | kfd_kernel_queue_v9.c | 89 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_v9() 186 packet->bitfields2.num_queues = 1; in pm_map_queues_v9() 292 packet->bitfields2.num_queues = 1; in pm_unmap_queues_v9()
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_vf_device.c | 50 static int cn23xx_vf_reset_io_queues(struct octeon_device *oct, u32 num_queues) in cn23xx_vf_reset_io_queues() argument 57 for (q_no = 0; q_no < num_queues; q_no++) { in cn23xx_vf_reset_io_queues() 67 for (q_no = 0; q_no < num_queues; q_no++) { in cn23xx_vf_reset_io_queues() 361 u32 num_queues = oct->num_iqs; in cn23xx_disable_vf_io_queues() local 366 if (num_queues < oct->num_oqs) in cn23xx_disable_vf_io_queues() 367 num_queues = oct->num_oqs; in cn23xx_disable_vf_io_queues() 369 cn23xx_vf_reset_io_queues(oct, num_queues); in cn23xx_disable_vf_io_queues()
|
/Linux-v5.4/drivers/scsi/qla2xxx/ |
D | qla_tmpl.h | 135 uint32_t num_queues; member 196 uint32_t num_queues; member
|
/Linux-v5.4/drivers/net/ethernet/cadence/ |
D | macb_main.c | 1302 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_hresp_error_task() 1317 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_hresp_error_task() 1479 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) in macb_poll_controller() 1896 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in gem_free_rx_buffers() 1940 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_free_consistent() 1964 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in gem_alloc_rx_buffers() 2000 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_alloc_consistent() 2043 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in gem_init_rings() 2099 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_reset_hw() 2186 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_configure_dma() [all …]
|
/Linux-v5.4/sound/core/seq/ |
D | seq_queue.c | 40 static int num_queues; variable 44 return num_queues; in snd_seq_queue_get_cur_queues() 60 num_queues++; in queue_list_add() 83 num_queues--; in queue_list_remove()
|
/Linux-v5.4/include/uapi/linux/ |
D | virtio_blk.h | 90 __u16 num_queues; member
|