Lines Matching refs:rtlpci

26 	struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));  in _rtl92ee_set_bcn_ctrl_reg()  local
29 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92ee_set_bcn_ctrl_reg()
30 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92ee_set_bcn_ctrl_reg()
32 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl92ee_set_bcn_ctrl_reg()
146 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ee_set_fw_clock_off() local
164 ring = &rtlpci->tx_ring[queue]; in _rtl92ee_set_fw_clock_off()
278 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_get_hw_reg() local
282 *((u32 *)(val)) = rtlpci->receive_config; in rtl92ee_get_hw_reg()
410 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_set_hw_reg() local
505 if (rtlpci->acm_method != EACMWAY2_SW) in rtl92ee_set_hw_reg()
517 acm_ctrl = acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl92ee_set_hw_reg()
563 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl92ee_set_hw_reg()
733 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ee_init_mac() local
815 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl92ee_init_mac()
819 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl92ee_init_mac()
826 ((u64)rtlpci->tx_ring[BEACON_QUEUE].buffer_desc_dma) >> in _rtl92ee_init_mac()
829 (u64)rtlpci->tx_ring[MGNT_QUEUE].buffer_desc_dma >> 32); in _rtl92ee_init_mac()
831 (u64)rtlpci->tx_ring[VO_QUEUE].buffer_desc_dma >> 32); in _rtl92ee_init_mac()
833 (u64)rtlpci->tx_ring[VI_QUEUE].buffer_desc_dma >> 32); in _rtl92ee_init_mac()
835 (u64)rtlpci->tx_ring[BE_QUEUE].buffer_desc_dma >> 32); in _rtl92ee_init_mac()
837 (u64)rtlpci->tx_ring[BK_QUEUE].buffer_desc_dma >> 32); in _rtl92ee_init_mac()
839 (u64)rtlpci->tx_ring[HIGH_QUEUE].buffer_desc_dma >> 32); in _rtl92ee_init_mac()
842 (u64)rtlpci->rx_ring[RX_MPDU_QUEUE].dma >> 32); in _rtl92ee_init_mac()
848 ((u64)rtlpci->tx_ring[BEACON_QUEUE].buffer_desc_dma) & in _rtl92ee_init_mac()
851 (u64)rtlpci->tx_ring[MGNT_QUEUE].buffer_desc_dma & in _rtl92ee_init_mac()
854 (u64)rtlpci->tx_ring[VO_QUEUE].buffer_desc_dma & in _rtl92ee_init_mac()
857 (u64)rtlpci->tx_ring[VI_QUEUE].buffer_desc_dma & in _rtl92ee_init_mac()
861 (u64)rtlpci->tx_ring[BE_QUEUE].buffer_desc_dma & in _rtl92ee_init_mac()
867 (u64)rtlpci->tx_ring[BK_QUEUE].buffer_desc_dma & in _rtl92ee_init_mac()
870 (u64)rtlpci->tx_ring[HIGH_QUEUE].buffer_desc_dma & in _rtl92ee_init_mac()
874 (u64)rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl92ee_init_mac()
932 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ee_hw_configure() local
969 rtlpci->reg_bcn_ctrl_val = 0x1d; in _rtl92ee_hw_configure()
970 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl92ee_hw_configure()
1523 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_set_check_bssid() local
1524 u32 reg_rcr = rtlpci->receive_config; in rtl92ee_set_check_bssid()
1588 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_enable_interrupt() local
1590 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl92ee_enable_interrupt()
1591 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl92ee_enable_interrupt()
1592 rtlpci->irq_enabled = true; in rtl92ee_enable_interrupt()
1598 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_disable_interrupt() local
1602 rtlpci->irq_enabled = false; in rtl92ee_disable_interrupt()
1678 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_interrupt_recognized() local
1680 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl92ee_interrupt_recognized()
1683 intvec->intb = rtl_read_dword(rtlpriv, REG_HISRE) & rtlpci->irq_mask[1]; in rtl92ee_interrupt_recognized()
1691 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_set_beacon_related_registers() local
1703 rtlpci->reg_bcn_ctrl_val |= BIT(3); in rtl92ee_set_beacon_related_registers()
1704 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in rtl92ee_set_beacon_related_registers()
1722 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_update_interrupt_mask() local
1728 rtlpci->irq_mask[0] |= add_msr; in rtl92ee_update_interrupt_mask()
1730 rtlpci->irq_mask[0] &= (~rm_msr); in rtl92ee_update_interrupt_mask()
2596 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ee_allow_all_destaddr() local
2599 rtlpci->receive_config |= RCR_AAP; in rtl92ee_allow_all_destaddr()
2601 rtlpci->receive_config &= ~RCR_AAP; in rtl92ee_allow_all_destaddr()
2604 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl92ee_allow_all_destaddr()
2608 rtlpci->receive_config, write_into_reg); in rtl92ee_allow_all_destaddr()