Lines Matching refs:rtlpci

49 	struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));  in _rtl92de_set_bcn_ctrl_reg()  local
52 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92de_set_bcn_ctrl_reg()
53 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92de_set_bcn_ctrl_reg()
54 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl92de_set_bcn_ctrl_reg()
69 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_get_hw_reg() local
73 *((u32 *) (val)) = rtlpci->receive_config; in rtl92de_get_hw_reg()
84 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_set_hw_reg() local
91 if (rtlpci->acm_method != EACMWAY2_SW) in rtl92de_set_hw_reg()
103 acm_ctrl = acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl92de_set_hw_reg()
146 rtlpci->receive_config = ((u32 *) (val))[0]; in rtl92de_set_hw_reg()
329 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_gen_refresh_led_state() local
333 if (rtlpci->up_first_time) in _rtl92de_gen_refresh_led_state()
346 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_init_mac() local
456 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl92de_init_mac()
460 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl92de_init_mac()
467 rtlpci->tx_ring[BEACON_QUEUE].dma); in _rtl92de_init_mac()
468 rtl_write_dword(rtlpriv, REG_MGQ_DESA, rtlpci->tx_ring[MGNT_QUEUE].dma); in _rtl92de_init_mac()
469 rtl_write_dword(rtlpriv, REG_VOQ_DESA, rtlpci->tx_ring[VO_QUEUE].dma); in _rtl92de_init_mac()
470 rtl_write_dword(rtlpriv, REG_VIQ_DESA, rtlpci->tx_ring[VI_QUEUE].dma); in _rtl92de_init_mac()
471 rtl_write_dword(rtlpriv, REG_BEQ_DESA, rtlpci->tx_ring[BE_QUEUE].dma); in _rtl92de_init_mac()
472 rtl_write_dword(rtlpriv, REG_BKQ_DESA, rtlpci->tx_ring[BK_QUEUE].dma); in _rtl92de_init_mac()
473 rtl_write_dword(rtlpriv, REG_HQ_DESA, rtlpci->tx_ring[HIGH_QUEUE].dma); in _rtl92de_init_mac()
476 rtlpci->rx_ring[RX_MPDU_QUEUE].dma); in _rtl92de_init_mac()
505 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_hw_configure() local
534 rtlpci->reg_bcn_ctrl_val = 0x1f; in _rtl92de_hw_configure()
535 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl92de_hw_configure()
588 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_hw_init() local
596 rtlpci->being_init_adapter = true; in rtl92de_hw_init()
597 rtlpci->init_ready = false; in rtl92de_hw_init()
649 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl92de_hw_init()
650 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl92de_hw_init()
706 rtlpci->being_init_adapter = false; in rtl92de_hw_init()
725 rtlpci->init_ready = false; in rtl92de_hw_init()
730 rtlpci->init_ready = true; in rtl92de_hw_init()
852 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_enable_interrupt() local
854 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl92de_enable_interrupt()
855 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl92de_enable_interrupt()
856 rtlpci->irq_enabled = true; in rtl92de_enable_interrupt()
862 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_disable_interrupt() local
866 rtlpci->irq_enabled = false; in rtl92de_disable_interrupt()
957 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_card_disable() local
965 if (rtlpci->driver_is_goingto_unload || in rtl92de_card_disable()
1018 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_interrupt_recognized() local
1020 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl92de_interrupt_recognized()
1061 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_update_interrupt_mask() local
1066 rtlpci->irq_mask[0] |= add_msr; in rtl92de_update_interrupt_mask()
1068 rtlpci->irq_mask[0] &= (~rm_msr); in rtl92de_update_interrupt_mask()