Lines Matching refs:rtlpci
26 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_set_bcn_ctrl_reg() local
29 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl88ee_set_bcn_ctrl_reg()
30 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl88ee_set_bcn_ctrl_reg()
32 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl88ee_set_bcn_ctrl_reg()
69 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_return_beacon_queue_skb() local
70 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE]; in _rtl88ee_return_beacon_queue_skb()
80 dma_unmap_single(&rtlpci->pdev->dev, in _rtl88ee_return_beacon_queue_skb()
172 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_set_fw_clock_off() local
189 ring = &rtlpci->tx_ring[queue]; in _rtl88ee_set_fw_clock_off()
303 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_get_hw_reg() local
307 *((u32 *)(val)) = rtlpci->receive_config; in rtl88ee_get_hw_reg()
354 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_hw_reg() local
510 if (rtlpci->acm_method != EACMWAY2_SW) in rtl88ee_set_hw_reg()
523 ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl88ee_set_hw_reg()
567 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl88ee_set_hw_reg()
817 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_init_mac() local
884 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl88ee_init_mac()
886 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl88ee_init_mac()
889 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl88ee_init_mac()
892 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl88ee_init_mac()
895 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
897 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
899 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
901 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
903 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl88ee_init_mac()
906 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl88ee_init_mac()
1038 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_hw_init() local
1096 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl88ee_hw_init()
1097 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl88ee_hw_init()
1265 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_check_bssid() local
1266 u32 reg_rcr = rtlpci->receive_config; in rtl88ee_set_check_bssid()
1332 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_enable_interrupt() local
1335 rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1337 rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1338 rtlpci->irq_enabled = true; in rtl88ee_enable_interrupt()
1347 rtlpci->sys_irq_mask & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1353 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_disable_interrupt() local
1357 rtlpci->irq_enabled = false; in rtl88ee_disable_interrupt()
1449 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_interrupt_recognized() local
1451 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl88ee_interrupt_recognized()
1454 intvec->intb = rtl_read_dword(rtlpriv, REG_HISRE) & rtlpci->irq_mask[1]; in rtl88ee_interrupt_recognized()
1463 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_beacon_related_registers() local
1475 rtlpci->reg_bcn_ctrl_val |= BIT(3); in rtl88ee_set_beacon_related_registers()
1476 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in rtl88ee_set_beacon_related_registers()
1497 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_update_interrupt_mask() local
1503 rtlpci->irq_mask[0] |= add_msr; in rtl88ee_update_interrupt_mask()
1505 rtlpci->irq_mask[0] &= (~rm_msr); in rtl88ee_update_interrupt_mask()