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()
40 dma_unmap_single(&rtlpci->pdev->dev, in _rtl8723be_return_beacon_queue_skb()
53 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_set_bcn_ctrl_reg() local
56 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8723be_set_bcn_ctrl_reg()
57 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8723be_set_bcn_ctrl_reg()
59 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8723be_set_bcn_ctrl_reg()
171 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_set_fw_clock_off() local
188 ring = &rtlpci->tx_ring[queue]; in _rtl8723be_set_fw_clock_off()
289 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_get_hw_reg() local
293 *((u32 *)(val)) = rtlpci->receive_config; in rtl8723be_get_hw_reg()
392 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_set_hw_reg() local
546 if (rtlpci->acm_method != EACMWAY2_SW) in rtl8723be_set_hw_reg()
559 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl8723be_set_hw_reg()
605 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl8723be_set_hw_reg()
808 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_init_mac() local
878 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl8723be_init_mac()
880 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl8723be_init_mac()
883 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl8723be_init_mac()
886 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl8723be_init_mac()
889 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
891 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
893 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
895 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl8723be_init_mac()
897 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl8723be_init_mac()
900 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl8723be_init_mac()
936 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723be_hw_configure() local
964 rtlpci->reg_bcn_ctrl_val = 0x1d; in _rtl8723be_hw_configure()
965 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl8723be_hw_configure()
1334 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_hw_init() local
1391 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl8723be_hw_init()
1392 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl8723be_hw_init()
1393 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl8723be_hw_init()
1557 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_set_check_bssid() local
1558 u32 reg_rcr = rtlpci->receive_config; in rtl8723be_set_check_bssid()
1624 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_enable_interrupt() local
1626 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl8723be_enable_interrupt()
1627 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl8723be_enable_interrupt()
1628 rtlpci->irq_enabled = true; in rtl8723be_enable_interrupt()
1631 rtl_write_dword(rtlpriv, REG_HSIMR, rtlpci->sys_irq_mask & 0xFFFFFFFF); in rtl8723be_enable_interrupt()
1637 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_disable_interrupt() local
1641 rtlpci->irq_enabled = false; in rtl8723be_disable_interrupt()
1670 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_interrupt_recognized() local
1672 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl8723be_interrupt_recognized()
1676 rtlpci->irq_mask[1]; in rtl8723be_interrupt_recognized()
1715 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723be_update_interrupt_mask() local
1721 rtlpci->irq_mask[0] |= add_msr; in rtl8723be_update_interrupt_mask()
1723 rtlpci->irq_mask[0] &= (~rm_msr); in rtl8723be_update_interrupt_mask()