Lines Matching refs:rtlpci
31 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_return_beacon_queue_skb() local
32 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE]; in _rtl8723be_return_beacon_queue_skb()
42 dma_unmap_single(&rtlpci->pdev->dev, in _rtl8723be_return_beacon_queue_skb()
57 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_set_bcn_ctrl_reg() local
60 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8723be_set_bcn_ctrl_reg()
61 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8723be_set_bcn_ctrl_reg()
63 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8723be_set_bcn_ctrl_reg()
175 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_set_fw_clock_off() local
192 ring = &rtlpci->tx_ring[queue]; in _rtl8723be_set_fw_clock_off()
293 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_get_hw_reg() local
297 *((u32 *)(val)) = rtlpci->receive_config; in rtl8723be_get_hw_reg()
396 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_set_hw_reg() local
550 if (rtlpci->acm_method != EACMWAY2_SW) in rtl8723be_set_hw_reg()
563 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl8723be_set_hw_reg()
609 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl8723be_set_hw_reg()
812 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_init_mac() local
882 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl8723be_init_mac()
884 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl8723be_init_mac()
887 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl8723be_init_mac()
890 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl8723be_init_mac()
893 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
895 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
897 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
899 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
901 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl8723be_init_mac()
904 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl8723be_init_mac()
940 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_hw_configure() local
968 rtlpci->reg_bcn_ctrl_val = 0x1d; in _rtl8723be_hw_configure()
969 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl8723be_hw_configure()
1338 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_hw_init() local
1395 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl8723be_hw_init()
1396 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl8723be_hw_init()
1397 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl8723be_hw_init()
1561 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_set_check_bssid() local
1562 u32 reg_rcr = rtlpci->receive_config; in rtl8723be_set_check_bssid()
1628 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_enable_interrupt() local
1630 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl8723be_enable_interrupt()
1631 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl8723be_enable_interrupt()
1632 rtlpci->irq_enabled = true; in rtl8723be_enable_interrupt()
1635 rtl_write_dword(rtlpriv, REG_HSIMR, rtlpci->sys_irq_mask & 0xFFFFFFFF); in rtl8723be_enable_interrupt()
1641 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_disable_interrupt() local
1645 rtlpci->irq_enabled = false; in rtl8723be_disable_interrupt()
1674 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_interrupt_recognized() local
1676 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl8723be_interrupt_recognized()
1680 rtlpci->irq_mask[1]; in rtl8723be_interrupt_recognized()
1719 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_update_interrupt_mask() local
1725 rtlpci->irq_mask[0] |= add_msr; in rtl8723be_update_interrupt_mask()
1727 rtlpci->irq_mask[0] &= (~rm_msr); in rtl8723be_update_interrupt_mask()