Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A 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 …]
H A Dmac.c549 mt7915_wed_check_ppe(dev, &dev->mt76.q_rx[q], msta, skb, in mt7915_mac_fill_rx()
1388 if (mdev->q_rx[i].ndesc) in mt7915_mac_restart()
1401 if (mdev->q_rx[i].ndesc) { in mt7915_mac_restart()
H A Dmmio.c605 q = &dev->mt76.q_rx[MT_RXQ_MAIN]; in mt7915_mmio_wed_init_rx_buf()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Ddma.c303 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7996_dma_init()
312 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], in mt7996_dma_init()
321 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7996_dma_init()
330 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN_WA], in mt7996_dma_init()
340 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2], in mt7996_dma_init()
351 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2_WA], in mt7996_dma_init()
403 mt76_queue_rx_cleanup(dev, &dev->mt76.q_rx[i]); in mt7996_dma_reset()
426 mt76_queue_reset(dev, &dev->mt76.q_rx[i]); in mt7996_dma_reset()
H A Dmac.c1642 if (mdev->q_rx[i].ndesc) in mt7996_mac_restart()
1655 if (mdev->q_rx[i].ndesc) { in mt7996_mac_restart()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dusb.c357 enum mt76_rxq_id qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76u_refill_rx()
394 enum mt76_rxq_id qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76u_rx_urb_alloc()
596 mt76u_complete_rx, &dev->q_rx[qid]); in mt76u_submit_rx_buf()
605 int qid = q - &dev->q_rx[MT_RXQ_MAIN]; in mt76u_process_rx_queue()
637 mt76u_process_rx_queue(dev, &dev->q_rx[i]); in mt76u_rx_worker()
644 struct mt76_queue *q = &dev->q_rx[qid]; in mt76u_submit_rx_buffers()
664 struct mt76_queue *q = &dev->q_rx[qid]; in mt76u_alloc_rx_queue()
719 mt76u_free_rx_queue(dev, &dev->q_rx[i]); in mt76u_free_rx()
729 struct mt76_queue *q = &dev->q_rx[i]; in mt76u_stop_rx()
743 struct mt76_queue *q = &dev->q_rx[i]; in mt76u_resume_rx()
H A 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()
614 struct mt76_queue *q = &dev->q_rx[i]; in mt76s_deinit()
H A Ddma.c769 struct mt76_queue *q = &dev->q_rx[qid]; in mt76_dma_rx_reset()
814 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_add_fragment()
891 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_dma_rx_process()
913 cur = mt76_dma_rx_process(dev, &dev->q_rx[qid], budget - done); in mt76_dma_rx_poll()
943 mt76_dma_rx_fill(dev, &dev->q_rx[i], false); in mt76_dma_init()
990 struct mt76_queue *q = &dev->q_rx[i]; in mt76_dma_cleanup()
H A Dmt792x_dma.c165 mt76_queue_reset(dev, &dev->mt76.q_rx[i]); in mt792x_dma_reset()
184 mt76_queue_rx_cleanup(dev, &dev->mt76.q_rx[i]); in mt792x_wpdma_reset()
H A Ddebugfs.c81 struct mt76_queue *q = &dev->q_rx[i]; in mt76_rx_queues_read()
H A 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()
H A Dsdio_txrx.c84 struct mt76_queue *q = &dev->q_rx[qid]; in mt76s_rx_run_queue()
H A Dmt76.h810 struct mt76_queue q_rx[__MT_RXQ_MAX]; member
1074 for (i = 0; i < ARRAY_SIZE((dev)->q_rx); i++) \
1075 if ((dev)->q_rx[i].ndesc)
H A Dmac80211.c594 int idx = q - dev->q_rx; in mt76_create_page_pool()
691 for (i = 0; i < ARRAY_SIZE(dev->q_rx); i++) in mt76_alloc_device()
1797 page_pool_get_stats(dev->q_rx[i].page_pool, &stats); in mt76_ethtool_page_pool_stats()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Ddma.c211 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt7603_dma_init()
216 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], 0, in mt7603_dma_init()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dpci.c195 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7921_dma_init()
203 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], in mt7921_dma_init()
211 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7921_dma_init()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A 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()