Lines Matching refs:rtlpci

27 	struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));  in _rtl8821ae_return_beacon_queue_skb()  local
28 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE]; in _rtl8821ae_return_beacon_queue_skb()
38 dma_unmap_single(&rtlpci->pdev->dev, in _rtl8821ae_return_beacon_queue_skb()
53 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8821ae_set_bcn_ctrl_reg() local
56 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8821ae_set_bcn_ctrl_reg()
57 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8821ae_set_bcn_ctrl_reg()
59 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8821ae_set_bcn_ctrl_reg()
173 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8821ae_set_fw_clock_off() local
190 ring = &rtlpci->tx_ring[queue]; in _rtl8821ae_set_fw_clock_off()
395 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_get_hw_reg() local
420 *((u32 *)(val)) = rtlpci->receive_config; in rtl8821ae_get_hw_reg()
473 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_set_hw_reg() local
606 if (rtlpci->acm_method != EACMWAY2_SW) in rtl8821ae_set_hw_reg()
619 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl8821ae_set_hw_reg()
664 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl8821ae_set_hw_reg()
893 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8821ae_init_mac() local
971 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl8821ae_init_mac()
975 rtlpci->tx_ring[BEACON_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
977 rtlpci->tx_ring[MGNT_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
979 rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
981 rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
983 rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
985 rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
987 rtlpci->tx_ring[HIGH_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
989 rtlpci->rx_ring[RX_MPDU_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_mac()
1006 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8821ae_hw_configure() local
1035 rtlpci->reg_bcn_ctrl_val = 0x1d; in _rtl8821ae_hw_configure()
1036 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl8821ae_hw_configure()
1421 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8821ae_init_trx_desc_hw_address() local
1425 rtlpci->tx_ring[BEACON_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1427 rtlpci->tx_ring[MGNT_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1429 rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1431 rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1433 rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1435 rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1437 rtlpci->tx_ring[HIGH_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
1439 rtlpci->rx_ring[RX_MPDU_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8821ae_init_trx_desc_hw_address()
2161 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_set_check_bssid() local
2162 u32 reg_rcr = rtlpci->receive_config; in rtl8821ae_set_check_bssid()
2240 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_enable_interrupt() local
2242 if (rtlpci->int_clear) in rtl8821ae_enable_interrupt()
2245 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl8821ae_enable_interrupt()
2246 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl8821ae_enable_interrupt()
2247 rtlpci->irq_enabled = true; in rtl8821ae_enable_interrupt()
2255 rtl_write_dword(rtlpriv, REG_HSIMR, rtlpci->sys_irq_mask & 0xFFFFFFFF); in rtl8821ae_enable_interrupt()
2261 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_disable_interrupt() local
2265 rtlpci->irq_enabled = false; in rtl8821ae_disable_interrupt()
2272 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8821ae_clear_pci_pme_status() local
2273 struct pci_dev *pdev = rtlpci->pdev; in _rtl8821ae_clear_pci_pme_status()
2426 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_interrupt_recognized() local
2428 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl8821ae_interrupt_recognized()
2431 intvec->intb = rtl_read_dword(rtlpriv, REG_HISRE) & rtlpci->irq_mask[1]; in rtl8821ae_interrupt_recognized()
2439 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_set_beacon_related_registers() local
2451 rtlpci->reg_bcn_ctrl_val |= BIT(3); in rtl8821ae_set_beacon_related_registers()
2452 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in rtl8821ae_set_beacon_related_registers()
2473 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_update_interrupt_mask() local
2479 rtlpci->irq_mask[0] |= add_msr; in rtl8821ae_update_interrupt_mask()
2481 rtlpci->irq_mask[0] &= (~rm_msr); in rtl8821ae_update_interrupt_mask()
3933 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8821ae_allow_all_destaddr() local
3936 rtlpci->receive_config |= RCR_AAP; in rtl8821ae_allow_all_destaddr()
3938 rtlpci->receive_config &= ~RCR_AAP; in rtl8821ae_allow_all_destaddr()
3941 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl8821ae_allow_all_destaddr()
3945 rtlpci->receive_config, write_into_reg); in rtl8821ae_allow_all_destaddr()