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()
78 dma_unmap_single(&rtlpci->pdev->dev, in _rtl88ee_return_beacon_queue_skb()
168 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_set_fw_clock_off() local
185 ring = &rtlpci->tx_ring[queue]; in _rtl88ee_set_fw_clock_off()
299 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_get_hw_reg() local
303 *((u32 *)(val)) = rtlpci->receive_config; in rtl88ee_get_hw_reg()
350 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_hw_reg() local
511 if (rtlpci->acm_method != EACMWAY2_SW) in rtl88ee_set_hw_reg()
524 ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl88ee_set_hw_reg()
568 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl88ee_set_hw_reg()
818 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_init_mac() local
885 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl88ee_init_mac()
887 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl88ee_init_mac()
890 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl88ee_init_mac()
893 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl88ee_init_mac()
896 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
898 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
900 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
902 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
904 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl88ee_init_mac()
907 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl88ee_init_mac()
1039 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_hw_init() local
1097 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl88ee_hw_init()
1098 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl88ee_hw_init()
1266 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_check_bssid() local
1267 u32 reg_rcr = rtlpci->receive_config; in rtl88ee_set_check_bssid()
1333 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_enable_interrupt() local
1336 rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1338 rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1339 rtlpci->irq_enabled = true; in rtl88ee_enable_interrupt()
1348 rtlpci->sys_irq_mask & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1354 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_disable_interrupt() local
1358 rtlpci->irq_enabled = false; in rtl88ee_disable_interrupt()
1450 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_interrupt_recognized() local
1452 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl88ee_interrupt_recognized()
1455 intvec->intb = rtl_read_dword(rtlpriv, REG_HISRE) & rtlpci->irq_mask[1]; in rtl88ee_interrupt_recognized()
1464 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_beacon_related_registers() local
1476 rtlpci->reg_bcn_ctrl_val |= BIT(3); in rtl88ee_set_beacon_related_registers()
1477 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in rtl88ee_set_beacon_related_registers()
1498 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_update_interrupt_mask() local
1504 rtlpci->irq_mask[0] |= add_msr; in rtl88ee_update_interrupt_mask()
1506 rtlpci->irq_mask[0] &= (~rm_msr); in rtl88ee_update_interrupt_mask()