Lines Matching refs:rtlpci
26 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_set_bcn_ctrl_reg() local
29 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92ce_set_bcn_ctrl_reg()
30 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92ce_set_bcn_ctrl_reg()
32 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl92ce_set_bcn_ctrl_reg()
75 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_get_hw_reg() local
79 *((u32 *) (val)) = rtlpci->receive_config; in rtl92ce_get_hw_reg()
129 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_set_hw_reg() local
296 if (rtlpci->acm_method != EACMWAY2_SW) in rtl92ce_set_hw_reg()
310 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl92ce_set_hw_reg()
355 rtlpci->receive_config = ((u32 *) (val))[0]; in rtl92ce_set_hw_reg()
635 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_gen_refresh_led_state() local
639 if (rtlpci->up_first_time) in _rtl92ce_gen_refresh_led_state()
653 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_init_mac() local
726 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl92ce_init_mac()
727 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl92ce_init_mac()
732 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl92ce_init_mac()
735 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl92ce_init_mac()
738 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
740 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
742 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
744 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
746 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl92ce_init_mac()
749 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl92ce_init_mac()
775 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_hw_configure() local
816 rtlpci->reg_bcn_ctrl_val = 0x1f; in _rtl92ce_hw_configure()
817 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl92ce_hw_configure()
913 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_hw_init() local
921 rtlpci->being_init_adapter = true; in rtl92ce_hw_init()
957 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl92ce_hw_init()
958 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl92ce_hw_init()
959 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl92ce_hw_init()
1030 rtlpci->being_init_adapter = false; in rtl92ce_hw_init()
1272 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_enable_interrupt() local
1274 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl92ce_enable_interrupt()
1275 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl92ce_enable_interrupt()
1276 rtlpci->irq_enabled = true; in rtl92ce_enable_interrupt()
1282 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_disable_interrupt() local
1286 rtlpci->irq_enabled = false; in rtl92ce_disable_interrupt()
1339 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_card_disable() local
1346 if (rtlpci->driver_is_goingto_unload || in rtl92ce_card_disable()
1360 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_interrupt_recognized() local
1362 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl92ce_interrupt_recognized()
1402 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_update_interrupt_mask() local
1408 rtlpci->irq_mask[0] |= add_msr; in rtl92ce_update_interrupt_mask()
1410 rtlpci->irq_mask[0] &= (~rm_msr); in rtl92ce_update_interrupt_mask()
2010 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_gpio_radio_on_off_checking() local
2016 if (rtlpci->being_init_adapter) in rtl92ce_gpio_radio_on_off_checking()