Lines Matching refs:rtlpriv
245 static inline u8 pci_read8_sync(struct rtl_priv *rtlpriv, u32 addr) in pci_read8_sync() argument
247 return readb((u8 __iomem *) rtlpriv->io.pci_mem_start + addr); in pci_read8_sync()
250 static inline u16 pci_read16_sync(struct rtl_priv *rtlpriv, u32 addr) in pci_read16_sync() argument
252 return readw((u8 __iomem *) rtlpriv->io.pci_mem_start + addr); in pci_read16_sync()
255 static inline u32 pci_read32_sync(struct rtl_priv *rtlpriv, u32 addr) in pci_read32_sync() argument
257 return readl((u8 __iomem *) rtlpriv->io.pci_mem_start + addr); in pci_read32_sync()
260 static inline void pci_write8_async(struct rtl_priv *rtlpriv, u32 addr, u8 val) in pci_write8_async() argument
262 writeb(val, (u8 __iomem *) rtlpriv->io.pci_mem_start + addr); in pci_write8_async()
265 static inline void pci_write16_async(struct rtl_priv *rtlpriv, in pci_write16_async() argument
268 writew(val, (u8 __iomem *) rtlpriv->io.pci_mem_start + addr); in pci_write16_async()
271 static inline void pci_write32_async(struct rtl_priv *rtlpriv, in pci_write32_async() argument
274 writel(val, (u8 __iomem *) rtlpriv->io.pci_mem_start + addr); in pci_write32_async()