Lines Matching refs:rtlpci
30 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723e_set_bcn_ctrl_reg() local
33 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8723e_set_bcn_ctrl_reg()
34 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8723e_set_bcn_ctrl_reg()
36 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl8723e_set_bcn_ctrl_reg()
79 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_get_hw_reg() local
83 *((u32 *)(val)) = rtlpci->receive_config; in rtl8723e_get_hw_reg()
134 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_set_hw_reg() local
303 if (rtlpci->acm_method != EACMWAY2_SW) in rtl8723e_set_hw_reg()
317 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl8723e_set_hw_reg()
363 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl8723e_set_hw_reg()
662 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8712e_init_mac() local
730 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl8712e_init_mac()
732 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl8712e_init_mac()
737 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl8712e_init_mac()
740 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl8712e_init_mac()
743 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
745 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
747 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
749 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
751 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl8712e_init_mac()
754 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl8712e_init_mac()
777 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723e_hw_configure() local
818 rtlpci->reg_bcn_ctrl_val = 0x1f; in _rtl8723e_hw_configure()
819 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl8723e_hw_configure()
917 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_hw_init() local
959 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl8723e_hw_init()
960 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl8723e_hw_init()
961 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl8723e_hw_init()
1172 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_set_check_bssid() local
1173 u32 reg_rcr = rtlpci->receive_config; in rtl8723e_set_check_bssid()
1238 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_enable_interrupt() local
1240 rtl_write_dword(rtlpriv, 0x3a8, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl8723e_enable_interrupt()
1241 rtl_write_dword(rtlpriv, 0x3ac, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl8723e_enable_interrupt()
1242 rtlpci->irq_enabled = true; in rtl8723e_enable_interrupt()
1248 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_disable_interrupt() local
1251 rtlpci->irq_enabled = false; in rtl8723e_disable_interrupt()
1321 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_interrupt_recognized() local
1323 intvec->inta = rtl_read_dword(rtlpriv, 0x3a0) & rtlpci->irq_mask[0]; in rtl8723e_interrupt_recognized()
1363 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_update_interrupt_mask() local
1369 rtlpci->irq_mask[0] |= add_msr; in rtl8723e_update_interrupt_mask()
1371 rtlpci->irq_mask[0] &= (~rm_msr); in rtl8723e_update_interrupt_mask()