• Home
  • Raw
  • Download

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()
80 dma_unmap_single(&rtlpci->pdev->dev, in _rtl88ee_return_beacon_queue_skb()
172 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_set_fw_clock_off() local
189 ring = &rtlpci->tx_ring[queue]; in _rtl88ee_set_fw_clock_off()
303 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_get_hw_reg() local
307 *((u32 *)(val)) = rtlpci->receive_config; in rtl88ee_get_hw_reg()
354 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_hw_reg() local
515 if (rtlpci->acm_method != EACMWAY2_SW) in rtl88ee_set_hw_reg()
528 ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl88ee_set_hw_reg()
572 rtlpci->receive_config = ((u32 *)(val))[0]; in rtl88ee_set_hw_reg()
822 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl88ee_init_mac() local
889 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in _rtl88ee_init_mac()
891 rtl_write_dword(rtlpriv, REG_TCR, rtlpci->transmit_config); in _rtl88ee_init_mac()
894 ((u64) rtlpci->tx_ring[BEACON_QUEUE].dma) & in _rtl88ee_init_mac()
897 (u64) rtlpci->tx_ring[MGNT_QUEUE].dma & in _rtl88ee_init_mac()
900 (u64) rtlpci->tx_ring[VO_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
902 (u64) rtlpci->tx_ring[VI_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
904 (u64) rtlpci->tx_ring[BE_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
906 (u64) rtlpci->tx_ring[BK_QUEUE].dma & DMA_BIT_MASK(32)); in _rtl88ee_init_mac()
908 (u64) rtlpci->tx_ring[HIGH_QUEUE].dma & in _rtl88ee_init_mac()
911 (u64) rtlpci->rx_ring[RX_MPDU_QUEUE].dma & in _rtl88ee_init_mac()
1043 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_hw_init() local
1101 rtlpci->receive_config &= ~(RCR_ACRC32 | RCR_AICV); in rtl88ee_hw_init()
1102 rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config); in rtl88ee_hw_init()
1270 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_check_bssid() local
1271 u32 reg_rcr = rtlpci->receive_config; in rtl88ee_set_check_bssid()
1337 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_enable_interrupt() local
1340 rtlpci->irq_mask[0] & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1342 rtlpci->irq_mask[1] & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1343 rtlpci->irq_enabled = true; in rtl88ee_enable_interrupt()
1352 rtlpci->sys_irq_mask & 0xFFFFFFFF); in rtl88ee_enable_interrupt()
1358 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_disable_interrupt() local
1362 rtlpci->irq_enabled = false; in rtl88ee_disable_interrupt()
1454 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_interrupt_recognized() local
1456 intvec->inta = rtl_read_dword(rtlpriv, ISR) & rtlpci->irq_mask[0]; in rtl88ee_interrupt_recognized()
1459 intvec->intb = rtl_read_dword(rtlpriv, REG_HISRE) & rtlpci->irq_mask[1]; in rtl88ee_interrupt_recognized()
1468 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_set_beacon_related_registers() local
1480 rtlpci->reg_bcn_ctrl_val |= BIT(3); in rtl88ee_set_beacon_related_registers()
1481 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in rtl88ee_set_beacon_related_registers()
1502 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl88ee_update_interrupt_mask() local
1508 rtlpci->irq_mask[0] |= add_msr; in rtl88ee_update_interrupt_mask()
1510 rtlpci->irq_mask[0] &= (~rm_msr); in rtl88ee_update_interrupt_mask()