Home
last modified time | relevance | path

Searched refs:q_rx (Results 1 – 20 of 20) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt7915/
Ddma.c483 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7915_dma_init()
495 dev->mt76.q_rx[MT_RXQ_MCU_WA].flags = MT_WED_Q_TXFREE; in mt7915_dma_init()
500 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], in mt7915_dma_init()
510 dev->mt76.q_rx[MT_RXQ_MAIN].flags = in mt7915_dma_init()
515 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7915_dma_init()
530 mdev->q_rx[MT_RXQ_MAIN_WA].flags = MT_WED_Q_TXFREE; in mt7915_dma_init()
537 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN_WA], in mt7915_dma_init()
547 dev->mt76.q_rx[MT_RXQ_BAND1].flags = in mt7915_dma_init()
553 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1], in mt7915_dma_init()
562 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1_WA], in mt7915_dma_init()
[all …]
Dmac.c541 mt7915_wed_check_ppe(dev, &dev->mt76.q_rx[q], msta, skb, in mt7915_mac_fill_rx()
1354 if (mdev->q_rx[i].ndesc) in mt7915_mac_restart()
1367 if (mdev->q_rx[i].ndesc) { in mt7915_mac_restart()
Dmmio.c635 q = &dev->mt76.q_rx[MT_RXQ_MAIN]; in mt7915_mmio_wed_init_rx_buf()
/drivers/net/wireless/mediatek/mt76/mt7996/
Ddma.c300 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7996_dma_init()
309 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], in mt7996_dma_init()
318 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7996_dma_init()
327 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN_WA], in mt7996_dma_init()
337 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2], in mt7996_dma_init()
348 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2_WA], in mt7996_dma_init()
400 mt76_queue_rx_cleanup(dev, &dev->mt76.q_rx[i]); in mt7996_dma_reset()
423 mt76_queue_reset(dev, &dev->mt76.q_rx[i]); in mt7996_dma_reset()
Dmac.c1636 if (mdev->q_rx[i].ndesc) in mt7996_mac_restart()
1649 if (mdev->q_rx[i].ndesc) { in mt7996_mac_restart()
/drivers/net/ethernet/mediatek/
Dmtk_wed_wo.c248 mtk_wed_wo_rx_run_queue(wo, &wo->q_rx); in mtk_wed_wo_irq_tasklet()
437 ret = mtk_wed_wo_queue_alloc(wo, &wo->q_rx, MTK_WED_WO_RING_SIZE, in mtk_wed_wo_hardware_init()
443 mtk_wed_wo_queue_refill(wo, &wo->q_rx, true); in mtk_wed_wo_hardware_init()
444 mtk_wed_wo_queue_reset(wo, &wo->q_rx); in mtk_wed_wo_hardware_init()
470 mtk_wed_wo_queue_rx_clean(wo, &wo->q_rx); in mtk_wed_wo_hw_deinit()
472 mtk_wed_wo_queue_free(wo, &wo->q_rx); in mtk_wed_wo_hw_deinit()
Dmtk_wed_wo.h234 struct mtk_wed_wo_queue q_rx; member
/drivers/net/wireless/mediatek/mt76/
Dusb.c356 enum mt76_rxq_id qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76u_refill_rx()
393 enum mt76_rxq_id qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76u_rx_urb_alloc()
595 mt76u_complete_rx, &dev->q_rx[qid]); in mt76u_submit_rx_buf()
604 int qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76u_process_rx_queue()
636 mt76u_process_rx_queue(dev, &dev->q_rx[i]); in mt76u_rx_worker()
643 struct mt76_queue *q = &dev->q_rx[qid]; in mt76u_submit_rx_buffers()
663 struct mt76_queue *q = &dev->q_rx[qid]; in mt76u_alloc_rx_queue()
718 mt76u_free_rx_queue(dev, &dev->q_rx[i]); in mt76u_free_rx()
728 struct mt76_queue *q = &dev->q_rx[i]; in mt76u_stop_rx()
742 struct mt76_queue *q = &dev->q_rx[i]; in mt76u_resume_rx()
Dsdio.c306 struct mt76_queue *q = &dev->q_rx[qid]; in mt76s_alloc_rx_queue()
385 int qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76s_process_rx_queue()
422 nframes += mt76s_process_rx_queue(dev, &dev->q_rx[i]); in mt76s_net_worker()
615 struct mt76_queue *q = &dev->q_rx[i]; in mt76s_deinit()
Ddma.c758 struct mt76_queue *q = &dev->q_rx[qid]; in mt76_dma_rx_reset()
799 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_add_fragment()
878 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_dma_rx_process()
900 cur = mt76_dma_rx_process(dev, &dev->q_rx[qid], budget - done); in mt76_dma_rx_poll()
930 mt76_dma_rx_fill(dev, &dev->q_rx[i], false); in mt76_dma_init()
977 struct mt76_queue *q = &dev->q_rx[i]; in mt76_dma_cleanup()
Dmt792x_dma.c164 mt76_queue_reset(dev, &dev->mt76.q_rx[i]); in mt792x_dma_reset()
183 mt76_queue_rx_cleanup(dev, &dev->mt76.q_rx[i]); in mt792x_wpdma_reset()
Ddebugfs.c81 struct mt76_queue *q = &dev->q_rx[i]; in mt76_rx_queues_read()
Dmt76x02_mmio.c218 ret = mt76x02_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt76x02_dma_init()
223 q = &dev->mt76.q_rx[MT_RXQ_MAIN]; in mt76x02_dma_init()
Dsdio_txrx.c84 struct mt76_queue *q = &dev->q_rx[qid]; in mt76s_rx_run_queue()
Dmt76.h808 struct mt76_queue q_rx[__MT_RXQ_MAX]; member
1072 for (i = 0; i < ARRAY_SIZE((dev)->q_rx); i++) \
1073 if ((dev)->q_rx[i].ndesc)
Dmac80211.c576 int idx = q - dev->q_rx; in mt76_create_page_pool()
673 for (i = 0; i < ARRAY_SIZE(dev->q_rx); i++) in mt76_alloc_device()
1813 page_pool_get_stats(dev->q_rx[i].page_pool, &stats); in mt76_ethtool_page_pool_stats()
/drivers/net/wireless/mediatek/mt76/mt7603/
Ddma.c229 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt7603_dma_init()
234 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], 0, in mt7603_dma_init()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dpci.c193 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7921_dma_init()
201 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], in mt7921_dma_init()
209 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7921_dma_init()
/drivers/net/wireless/mediatek/mt76/mt7615/
Ddma.c265 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt7615_dma_init()
274 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], 0, in mt7615_dma_init()
/drivers/slimbus/
Dqcom-ctrl.c211 bool q_rx = false; in qcom_slim_handle_rx_irq() local
242 q_rx = true; in qcom_slim_handle_rx_irq()
257 if (q_rx) in qcom_slim_handle_rx_irq()