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.c742 fbnic_page_pool_get_head(struct fbnic_q_triad *qt, unsigned int idx) in fbnic_page_pool_get_head() argument
744 struct fbnic_rx_buf *rx_buf = &qt->sub0.rx_buf[idx]; in fbnic_page_pool_get_head()
753 fbnic_page_pool_get_data(struct fbnic_q_triad *qt, unsigned int idx) in fbnic_page_pool_get_data() argument
755 struct fbnic_rx_buf *rx_buf = &qt->sub1.rx_buf[idx]; in fbnic_page_pool_get_data()
776 struct fbnic_q_triad *qt, s32 ts_head, s32 head0, in fbnic_clean_twq() argument
780 fbnic_clean_twq0(nv, napi_budget, &qt->sub0, false, head0); in fbnic_clean_twq()
782 fbnic_clean_twq0(nv, napi_budget, &qt->sub0, false, ts_head); in fbnic_clean_twq()
785 qt->cmpl.deferred_head = -1; in fbnic_clean_twq()
787 fbnic_clean_twq1(nv, true, &qt->sub1, false, head1); in fbnic_clean_twq()
789 qt->cmpl.deferred_head = head1; in fbnic_clean_twq()
[all …]
H A Dfbnic_netdev.c570 struct fbnic_q_triad *qt; in fbnic_get_queue_stats_rx() local
577 qt = container_of(rxr, struct fbnic_q_triad, cmpl); in fbnic_get_queue_stats_rx()
589 stats = &qt->sub0.stats; in fbnic_get_queue_stats_rx()
596 stats = &qt->sub1.stats; in fbnic_get_queue_stats_rx()
H A Dfbnic_txrx.h160 struct fbnic_q_triad qt[]; member
H A Dfbnic_ethtool.c187 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters()
188 fbnic_aggregate_ring_xdp_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters()
189 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters()
193 fbnic_aggregate_ring_bdq_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters()
194 fbnic_aggregate_ring_bdq_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters()
195 fbnic_aggregate_ring_rx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters()
/linux/drivers/spi/
H A Dspi-bcm-qspi.c732 struct qspi_trans *qt) in bcm_qspi_mspi_transfer_is_last() argument
734 if (qt->mspi_last_trans && in bcm_qspi_mspi_transfer_is_last()
735 spi_transfer_is_last(qspi->host, qt->trans)) in bcm_qspi_mspi_transfer_is_last()
742 struct qspi_trans *qt, int flags) in update_qspi_trans_byte_count() argument
747 if (qt->trans->bits_per_word <= 8) in update_qspi_trans_byte_count()
748 qt->byte++; in update_qspi_trans_byte_count()
749 else if (qt->trans->bits_per_word <= 16) in update_qspi_trans_byte_count()
750 qt->byte += 2; in update_qspi_trans_byte_count()
751 else if (qt->trans->bits_per_word <= 32) in update_qspi_trans_byte_count()
752 qt->byte += 4; in update_qspi_trans_byte_count()
[all …]
/linux/drivers/iommu/
H A Ddma-iommu.c52 enum iommu_dma_queue_type qt; member
189 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) { in fq_flush_timeout()
214 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) in queue_iova()
279 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) in iommu_dma_free_fq()
343 if (cookie->options.qt == IOMMU_DMA_OPTS_SINGLE_QUEUE) in iommu_dma_init_fq()
641 options->qt = IOMMU_DMA_OPTS_SINGLE_QUEUE; in iommu_dma_init_options()
645 options->qt = IOMMU_DMA_OPTS_PER_CPU_QUEUE; in iommu_dma_init_options()
/linux/drivers/net/ethernet/cortina/
H A Dgemini.c927 union queue_threshold qt; in geth_setup_freeq() local
957 qt.bits32 = readl(geth->base + GLOBAL_QUEUE_THRESHOLD_REG); in geth_setup_freeq()
958 qt.bits.swfq_empty = 32; in geth_setup_freeq()
959 writel(qt.bits32, geth->base + GLOBAL_QUEUE_THRESHOLD_REG); in geth_setup_freeq()