Lines Matching full:wlan

556 	dev->mt76.token_size = wed->wlan.token_start;  in mt7915_mmio_wed_offload_enable()
723 wed->wlan.pci_dev = pci_dev; in mt7915_mmio_wed_init()
724 wed->wlan.bus_type = MTK_WED_BUS_PCIE; in mt7915_mmio_wed_init()
725 wed->wlan.base = devm_ioremap(dev->mt76.dev, in mt7915_mmio_wed_init()
728 wed->wlan.phy_base = pci_resource_start(pci_dev, 0); in mt7915_mmio_wed_init()
729 wed->wlan.wpdma_int = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
731 wed->wlan.wpdma_mask = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
733 wed->wlan.wpdma_phys = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
735 wed->wlan.wpdma_tx = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
737 wed->wlan.wpdma_txfree = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
739 wed->wlan.wpdma_rx_glo = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
741 wed->wlan.wpdma_rx = pci_resource_start(pci_dev, 0) + in mt7915_mmio_wed_init()
751 wed->wlan.platform_dev = plat_dev; in mt7915_mmio_wed_init()
752 wed->wlan.bus_type = MTK_WED_BUS_AXI; in mt7915_mmio_wed_init()
753 wed->wlan.base = devm_ioremap(dev->mt76.dev, res->start, in mt7915_mmio_wed_init()
755 wed->wlan.phy_base = res->start; in mt7915_mmio_wed_init()
756 wed->wlan.wpdma_int = res->start + MT_INT_SOURCE_CSR; in mt7915_mmio_wed_init()
757 wed->wlan.wpdma_mask = res->start + MT_INT_MASK_CSR; in mt7915_mmio_wed_init()
758 wed->wlan.wpdma_tx = res->start + MT_TXQ_WED_RING_BASE; in mt7915_mmio_wed_init()
759 wed->wlan.wpdma_txfree = res->start + MT_RXQ_WED_RING_BASE; in mt7915_mmio_wed_init()
760 wed->wlan.wpdma_rx_glo = res->start + MT_WPDMA_GLO_CFG; in mt7915_mmio_wed_init()
761 wed->wlan.wpdma_rx = res->start + MT_RXQ_WED_DATA_RING_BASE; in mt7915_mmio_wed_init()
763 wed->wlan.nbuf = MT7915_HW_TOKEN_SIZE; in mt7915_mmio_wed_init()
764 wed->wlan.tx_tbit[0] = is_mt7915(&dev->mt76) ? 4 : 30; in mt7915_mmio_wed_init()
765 wed->wlan.tx_tbit[1] = is_mt7915(&dev->mt76) ? 5 : 31; in mt7915_mmio_wed_init()
766 wed->wlan.txfree_tbit = is_mt798x(&dev->mt76) ? 2 : 1; in mt7915_mmio_wed_init()
767 wed->wlan.token_start = MT7915_TOKEN_SIZE - wed->wlan.nbuf; in mt7915_mmio_wed_init()
768 wed->wlan.wcid_512 = !is_mt7915(&dev->mt76); in mt7915_mmio_wed_init()
770 wed->wlan.rx_nbuf = 65536; in mt7915_mmio_wed_init()
771 wed->wlan.rx_npkt = MT7915_WED_RX_TOKEN_SIZE; in mt7915_mmio_wed_init()
772 wed->wlan.rx_size = SKB_WITH_OVERHEAD(MT_RX_BUF_SIZE); in mt7915_mmio_wed_init()
774 wed->wlan.rx_tbit[0] = 16; in mt7915_mmio_wed_init()
775 wed->wlan.rx_tbit[1] = 17; in mt7915_mmio_wed_init()
777 wed->wlan.rx_tbit[0] = 22; in mt7915_mmio_wed_init()
778 wed->wlan.rx_tbit[1] = 23; in mt7915_mmio_wed_init()
780 wed->wlan.rx_tbit[0] = 18; in mt7915_mmio_wed_init()
781 wed->wlan.rx_tbit[1] = 19; in mt7915_mmio_wed_init()
784 wed->wlan.init_buf = mt7915_wed_init_buf; in mt7915_mmio_wed_init()
785 wed->wlan.offload_enable = mt7915_mmio_wed_offload_enable; in mt7915_mmio_wed_init()
786 wed->wlan.offload_disable = mt7915_mmio_wed_offload_disable; in mt7915_mmio_wed_init()
787 wed->wlan.init_rx_buf = mt7915_mmio_wed_init_rx_buf; in mt7915_mmio_wed_init()
788 wed->wlan.release_rx_buf = mt7915_mmio_wed_release_rx_buf; in mt7915_mmio_wed_init()
789 wed->wlan.update_wo_rx_stats = mt7915_mmio_wed_update_rx_stats; in mt7915_mmio_wed_init()
790 wed->wlan.reset = mt7915_mmio_wed_reset; in mt7915_mmio_wed_init()
791 wed->wlan.reset_complete = mt7915_mmio_wed_reset_complete; in mt7915_mmio_wed_init()
793 dev->mt76.rx_token_size = wed->wlan.rx_npkt; in mt7915_mmio_wed_init()