Home
last modified time | relevance | path

Searched refs:qt (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c767 fbnic_page_pool_get_head(struct fbnic_q_triad *qt, unsigned int idx) in fbnic_page_pool_get_head() argument
769 struct fbnic_rx_buf *rx_buf = &qt->sub0.rx_buf[idx]; in fbnic_page_pool_get_head()
778 fbnic_page_pool_get_data(struct fbnic_q_triad *qt, unsigned int idx) in fbnic_page_pool_get_data() argument
780 struct fbnic_rx_buf *rx_buf = &qt->sub1.rx_buf[idx]; in fbnic_page_pool_get_data()
801 struct fbnic_q_triad *qt, s32 ts_head, s32 head0, in fbnic_clean_twq() argument
805 fbnic_clean_twq0(nv, napi_budget, &qt->sub0, false, head0); in fbnic_clean_twq()
807 fbnic_clean_twq0(nv, napi_budget, &qt->sub0, false, ts_head); in fbnic_clean_twq()
810 qt->cmpl.deferred_head = -1; in fbnic_clean_twq()
812 fbnic_clean_twq1(nv, true, &qt->sub1, false, head1); in fbnic_clean_twq()
814 qt->cmpl.deferred_head = head1; in fbnic_clean_twq()
[all …]
H A Dfbnic_debugfs.c331 struct fbnic_q_triad *qt = &nv->qt[i]; in fbnic_dbg_nv_init() local
334 hw_idx = fbnic_ring_csr_base(&qt->cmpl) - in fbnic_dbg_nv_init()
339 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->sub0, in fbnic_dbg_nv_init()
343 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->sub1, in fbnic_dbg_nv_init()
347 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->cmpl, in fbnic_dbg_nv_init()
353 struct fbnic_q_triad *qt = &nv->qt[i]; in fbnic_dbg_nv_init() local
356 hw_idx = fbnic_ring_csr_base(&qt->cmpl) - in fbnic_dbg_nv_init()
361 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->sub0, in fbnic_dbg_nv_init()
365 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->sub1, in fbnic_dbg_nv_init()
369 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->cmpl, in fbnic_dbg_nv_init()
H A Dfbnic_netdev.c583 struct fbnic_q_triad *qt; in fbnic_get_queue_stats_rx() local
590 qt = container_of(rxr, struct fbnic_q_triad, cmpl); in fbnic_get_queue_stats_rx()
602 stats = &qt->sub0.stats; in fbnic_get_queue_stats_rx()
609 stats = &qt->sub1.stats; in fbnic_get_queue_stats_rx()
H A Dfbnic_txrx.h165 struct fbnic_q_triad qt[]; member
H A Dfbnic_ethtool.c201 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters()
202 fbnic_aggregate_ring_xdp_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters()
203 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters()
207 fbnic_aggregate_ring_bdq_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters()
208 fbnic_aggregate_ring_bdq_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters()
209 fbnic_aggregate_ring_rx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters()
/linux/drivers/iommu/
H A Ddma-iommu.c53 enum iommu_dma_queue_type qt; member
190 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) { in fq_flush_timeout()
215 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) in queue_iova()
280 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) in iommu_dma_free_fq()
344 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) in iommu_dma_init_fq()
642 options->qt = IOMMU_DMA_OPTS_SINGLE_QUEUE; in iommu_dma_init_options()
646 options->qt = IOMMU_DMA_OPTS_PER_CPU_QUEUE; in iommu_dma_init_options()
/linux/drivers/net/ethernet/cortina/
H A Dgemini.c931 union queue_threshold qt; in geth_setup_freeq() local
961 qt.bits32 = readl(geth->base + GLOBAL_QUEUE_THRESHOLD_REG); in geth_setup_freeq()
962 qt.bits.swfq_empty = 32; in geth_setup_freeq()
963 writel(qt.bits32, geth->base + GLOBAL_QUEUE_THRESHOLD_REG); in geth_setup_freeq()