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
298 if (rtlpci->acm_method != EACMWAY2_SW) in rtl8723e_set_hw_reg()
312 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl8723e_set_hw_reg()
358 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl8723e_set_hw_reg()
657 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8712e_init_mac() local
725 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl8712e_init_mac()
727 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl8712e_init_mac()
732 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl8712e_init_mac()
735 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl8712e_init_mac()
738 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
740 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
742 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
744 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8712e_init_mac()
746 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl8712e_init_mac()
749 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl8712e_init_mac()
772 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723e_hw_configure() local
813 rtlpci->reg_bcn_ctrl_val = 0x1f; in _rtl8723e_hw_configure()
814 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl8723e_hw_configure()
912 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_hw_init() local
954 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl8723e_hw_init()
955 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl8723e_hw_init()
956 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl8723e_hw_init()
1167 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_set_check_bssid() local
1168 u32 reg_rcr = rtlpci->receive_config; in rtl8723e_set_check_bssid()
1233 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_enable_interrupt() local
1235 rtl_write_dword(rtlpriv, 0x3a8, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl8723e_enable_interrupt()
1236 rtl_write_dword(rtlpriv, 0x3ac, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl8723e_enable_interrupt()
1237 rtlpci->irq_enabled = true; in rtl8723e_enable_interrupt()
1243 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_disable_interrupt() local
1246 rtlpci->irq_enabled = false; in rtl8723e_disable_interrupt()
1316 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_interrupt_recognized() local
1318 intvec->inta = rtl_read_dword(rtlpriv, 0x3a0) & rtlpci->irq_mask[0]; in rtl8723e_interrupt_recognized()
1358 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_update_interrupt_mask() local
1364 rtlpci->irq_mask[0] |= add_msr; in rtl8723e_update_interrupt_mask()
1366 rtlpci->irq_mask[0] &= (~rm_msr); in rtl8723e_update_interrupt_mask()