| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | dma.c | 393 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND0].flags = in mt7996_dma_rro_init() 406 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND1].flags = in mt7996_dma_rro_init() 420 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND2].flags = in mt7996_dma_rro_init() 513 dev->mt76.q_rx[MT_RXQ_MAIN].wed = wed; in mt7996_dma_init() 527 dev->mt76.q_rx[MT_RXQ_MAIN_WA].wed = wed; in mt7996_dma_init() 589 dev->mt76.q_rx[MT_RXQ_RRO_BAND0].flags = in mt7996_dma_init() 591 dev->mt76.q_rx[MT_RXQ_RRO_BAND0].wed = wed; in mt7996_dma_init() 602 dev->mt76.q_rx[MT_RXQ_TXFREE_BAND0].wed = wed; in mt7996_dma_init() 614 dev->mt76.q_rx[MT_RXQ_RRO_BAND2].flags = in mt7996_dma_init() 616 dev->mt76.q_rx[MT_RXQ_RRO_BAND2].wed = wed; in mt7996_dma_init() [all …]
|
| H A D | mac.c | 709 mt7996_wed_check_ppe(dev, &dev->mt76.q_rx[q], msta, skb, in mt7996_mac_fill_rx() 1755 mt76_queue_is_wed_rro(&mdev->q_rx[i])) in mt7996_mac_restart() 1758 if (mdev->q_rx[i].ndesc) in mt7996_mac_restart() 1771 mt76_queue_is_wed_rro(&mdev->q_rx[i])) in mt7996_mac_restart() 1774 if (mdev->q_rx[i].ndesc) { in mt7996_mac_restart() 1977 mt76_queue_is_wed_rro(&dev->mt76.q_rx[i])) in mt7996_mac_reset_work() 2034 mt76_queue_is_wed_rro(&dev->mt76.q_rx[i])) in mt7996_mac_reset_work()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | dma.c | 497 mdev->q_rx[MT_RXQ_MCU_WA].flags = MT_WED_Q_TXFREE; in mt7915_dma_init() 498 mdev->q_rx[MT_RXQ_MCU_WA].wed = &mdev->mmio.wed; in mt7915_dma_init() 513 mdev->q_rx[MT_RXQ_MAIN].flags = in mt7915_dma_init() 516 mdev->q_rx[MT_RXQ_MAIN].wed = &mdev->mmio.wed; in mt7915_dma_init() 534 mdev->q_rx[MT_RXQ_MAIN_WA].flags = MT_WED_Q_TXFREE; in mt7915_dma_init() 535 mdev->q_rx[MT_RXQ_MAIN_WA].wed = &mdev->mmio.wed; in mt7915_dma_init() 552 mdev->q_rx[MT_RXQ_BAND1].flags = in mt7915_dma_init() 555 mdev->q_rx[MT_RXQ_BAND1].wed = &mdev->mmio.wed; in mt7915_dma_init() 607 mt76_queue_rx_cleanup(dev, &dev->mt76.q_rx[i]); in mt7915_dma_reset() 630 if (mt76_queue_is_wed_tx_free(&dev->mt76.q_rx[i])) in mt7915_dma_reset() [all …]
|
| H A D | mac.c | 544 mt7915_wed_check_ppe(dev, &dev->mt76.q_rx[q], msta, skb, in mt7915_mac_fill_rx() 1348 if (mdev->q_rx[i].ndesc) in mt7915_mac_restart() 1360 if (mdev->q_rx[i].ndesc) { in mt7915_mac_restart() 1367 if (mdev->q_rx[i].ndesc) { in mt7915_mac_restart()
|
| /linux-6.15/drivers/net/ethernet/mediatek/ |
| H A D | mtk_wed_wo.c | 249 mtk_wed_wo_rx_run_queue(wo, &wo->q_rx); in mtk_wed_wo_irq_tasklet() 425 ret = mtk_wed_wo_queue_alloc(wo, &wo->q_rx, MTK_WED_WO_RING_SIZE, in mtk_wed_wo_hardware_init() 431 mtk_wed_wo_queue_refill(wo, &wo->q_rx, true); in mtk_wed_wo_hardware_init() 432 mtk_wed_wo_queue_reset(wo, &wo->q_rx); in mtk_wed_wo_hardware_init() 458 mtk_wed_wo_queue_rx_clean(wo, &wo->q_rx); in mtk_wed_wo_hw_deinit() 460 mtk_wed_wo_queue_free(wo, &wo->q_rx); in mtk_wed_wo_hw_deinit()
|
| H A D | mtk_wed_wo.h | 235 struct mtk_wed_wo_queue q_rx; member
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | usb.c | 356 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()
|
| H A D | sdio.c | 306 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() 619 struct mt76_queue *q = &dev->q_rx[i]; in mt76s_deinit()
|
| H A D | dma.c | 786 struct mt76_queue *q = &dev->q_rx[qid]; in mt76_dma_rx_reset() 836 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_add_fragment() 915 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_dma_rx_process() 937 cur = mt76_dma_rx_process(dev, &dev->q_rx[qid], budget - done); in mt76_dma_rx_poll() 984 mt76_dma_rx_fill_buf(dev, &dev->q_rx[i], false); in mt76_dma_init() 1032 struct mt76_queue *q = &dev->q_rx[i]; in mt76_dma_cleanup()
|
| H A D | debugfs.c | 81 struct mt76_queue *q = &dev->q_rx[i]; in mt76_rx_queues_read()
|
| H A D | mt792x_dma.c | 190 mt76_queue_reset(dev, &dev->mt76.q_rx[i]); in mt792x_dma_reset() 209 mt76_queue_rx_cleanup(dev, &dev->mt76.q_rx[i]); in mt792x_wpdma_reset()
|
| H A D | wed.c | 36 struct mt76_queue *q = &dev->q_rx[MT_RXQ_MAIN]; in mt76_wed_init_rx_buf()
|
| H A D | mt76x02_mmio.c | 226 ret = mt76x02_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt76x02_dma_init() 231 q = &dev->mt76.q_rx[MT_RXQ_MAIN]; in mt76x02_dma_init()
|
| H A D | mt76.h | 900 struct mt76_queue q_rx[__MT_RXQ_MAX]; member 1208 for (i = 0; i < ARRAY_SIZE((dev)->q_rx); i++) \ 1209 if ((dev)->q_rx[i].ndesc) 1734 for (i = 0; i < ARRAY_SIZE(dev->q_rx); i++) { in mt76_queue_is_rx() 1735 if (q == &dev->q_rx[i]) in mt76_queue_is_rx()
|
| H A D | sdio_txrx.c | 88 struct mt76_queue *q = &dev->q_rx[qid]; in mt76s_rx_run_queue()
|
| H A D | mac80211.c | 621 int idx = is_qrx ? q - dev->q_rx : -1; in mt76_create_page_pool() 726 for (i = 0; i < ARRAY_SIZE(dev->q_rx); i++) in mt76_alloc_device() 1976 page_pool_get_stats(dev->q_rx[i].page_pool, &stats); in mt76_ethtool_page_pool_stats()
|
| /linux-6.15/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 541 int qid = q - &qdma->q_rx[0]; in airoha_qdma_fill_rx_queue() 610 int qid = q - &qdma->q_rx[0]; in airoha_qdma_rx_process() 740 int qid = q - &qdma->q_rx[0], thr; in airoha_qdma_init_rx_queue() 1190 if (!qdma->q_rx[i].ndesc) in airoha_qdma_hw_init() 1224 if (!qdma->q_rx[i].ndesc) in airoha_irq_handler() 1334 if (!qdma->q_rx[i].ndesc) in airoha_hw_cleanup() 1339 if (qdma->q_rx[i].page_pool) in airoha_hw_cleanup() 1362 if (!qdma->q_rx[i].ndesc) in airoha_qdma_start_napi() 1365 napi_enable(&qdma->q_rx[i].napi); in airoha_qdma_start_napi() 1377 if (!qdma->q_rx[i].ndesc) in airoha_qdma_stop_napi() [all …]
|
| H A D | airoha_eth.h | 449 struct airoha_queue q_rx[AIROHA_NUM_RX_RING]; member
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | dma.c | 230 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt7603_dma_init() 235 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], 0, in mt7603_dma_init()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | dma.c | 265 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()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | pci.c | 200 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7921_dma_init() 208 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], in mt7921_dma_init() 216 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7921_dma_init()
|
| /linux-6.15/drivers/slimbus/ |
| H A D | qcom-ctrl.c | 211 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()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | pci.c | 240 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], in mt7925_dma_init() 247 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], in mt7925_dma_init()
|