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
301 if (rtlpci->acm_method != EACMWAY2_SW) in rtl92ce_set_hw_reg()
315 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl92ce_set_hw_reg()
360 rtlpci->receive_config = ((u32 *) (val))[0]; in rtl92ce_set_hw_reg()
640 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_gen_refresh_led_state() local
644 if (rtlpci->up_first_time) in _rtl92ce_gen_refresh_led_state()
658 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_init_mac() local
731 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl92ce_init_mac()
732 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl92ce_init_mac()
737 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl92ce_init_mac()
740 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl92ce_init_mac()
743 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
745 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
747 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
749 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl92ce_init_mac()
751 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl92ce_init_mac()
754 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl92ce_init_mac()
780 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_hw_configure() local
821 rtlpci->reg_bcn_ctrl_val = 0x1f; in _rtl92ce_hw_configure()
822 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl92ce_hw_configure()
918 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_hw_init() local
926 rtlpci->being_init_adapter = true; in rtl92ce_hw_init()
962 rtlpci->receive_config = rtl_read_dword(rtlpriv, REG_RCR); in rtl92ce_hw_init()
963 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl92ce_hw_init()
964 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl92ce_hw_init()
1035 rtlpci->being_init_adapter = false; in rtl92ce_hw_init()
1277 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_enable_interrupt() local
1279 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl92ce_enable_interrupt()
1280 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl92ce_enable_interrupt()
1281 rtlpci->irq_enabled = true; in rtl92ce_enable_interrupt()
1287 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_disable_interrupt() local
1291 rtlpci->irq_enabled = false; in rtl92ce_disable_interrupt()
1344 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_card_disable() local
1351 if (rtlpci->driver_is_goingto_unload || in rtl92ce_card_disable()
1365 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_interrupt_recognized() local
1367 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl92ce_interrupt_recognized()
1407 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_update_interrupt_mask() local
1413 rtlpci->irq_mask[0] |= add_msr; in rtl92ce_update_interrupt_mask()
1415 rtlpci->irq_mask[0] &= (~rm_msr); in rtl92ce_update_interrupt_mask()
2006 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_gpio_radio_on_off_checking() local
2012 if (rtlpci->being_init_adapter) in rtl92ce_gpio_radio_on_off_checking()