Lines Matching defs:addr

167 static inline u64 in_le64(const volatile u64 __iomem *addr)  in in_le64()
172 static inline void out_le64(volatile u64 __iomem *addr, u64 val) in out_le64()
181 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64()
186 static inline void out_be64(volatile u64 __iomem *addr, u64 val) in out_be64()
277 #define PCI_FIX_ADDR(addr) \ argument
279 #define PCI_GET_ADDR_TOKEN(addr) \ argument
282 #define PCI_SET_ADDR_TOKEN(addr, token) \ argument
290 #define PCI_FIX_ADDR(addr) (addr) argument
298 static inline unsigned char __raw_readb(const volatile void __iomem *addr) in __raw_readb()
304 static inline unsigned short __raw_readw(const volatile void __iomem *addr) in __raw_readw()
310 static inline unsigned int __raw_readl(const volatile void __iomem *addr) in __raw_readl()
316 static inline void __raw_writeb(unsigned char v, volatile void __iomem *addr) in __raw_writeb()
322 static inline void __raw_writew(unsigned short v, volatile void __iomem *addr) in __raw_writew()
328 static inline void __raw_writel(unsigned int v, volatile void __iomem *addr) in __raw_writel()
335 static inline unsigned long __raw_readq(const volatile void __iomem *addr) in __raw_readq()
341 static inline void __raw_writeq(unsigned long v, volatile void __iomem *addr) in __raw_writeq()
347 static inline void __raw_writeq_be(unsigned long v, volatile void __iomem *addr) in __raw_writeq_be()
522 #define __do_writeb(val, addr) out_8(PCI_FIX_ADDR(addr), val) argument
523 #define __do_writew(val, addr) out_le16(PCI_FIX_ADDR(addr), val) argument
524 #define __do_writel(val, addr) out_le32(PCI_FIX_ADDR(addr), val) argument
525 #define __do_writeq(val, addr) out_le64(PCI_FIX_ADDR(addr), val) argument
526 #define __do_writew_be(val, addr) out_be16(PCI_FIX_ADDR(addr), val) argument
527 #define __do_writel_be(val, addr) out_be32(PCI_FIX_ADDR(addr), val) argument
528 #define __do_writeq_be(val, addr) out_be64(PCI_FIX_ADDR(addr), val) argument
531 #define __do_readb(addr) eeh_readb(PCI_FIX_ADDR(addr)) argument
532 #define __do_readw(addr) eeh_readw(PCI_FIX_ADDR(addr)) argument
533 #define __do_readl(addr) eeh_readl(PCI_FIX_ADDR(addr)) argument
534 #define __do_readq(addr) eeh_readq(PCI_FIX_ADDR(addr)) argument
535 #define __do_readw_be(addr) eeh_readw_be(PCI_FIX_ADDR(addr)) argument
536 #define __do_readl_be(addr) eeh_readl_be(PCI_FIX_ADDR(addr)) argument
537 #define __do_readq_be(addr) eeh_readq_be(PCI_FIX_ADDR(addr)) argument
584 #define __do_memset_io(addr, c, n) \ argument
689 #define readb_relaxed(addr) readb(addr) argument
690 #define readw_relaxed(addr) readw(addr) argument
691 #define readl_relaxed(addr) readl(addr) argument
692 #define readq_relaxed(addr) readq(addr) argument
693 #define writeb_relaxed(v, addr) writeb(v, addr) argument
694 #define writew_relaxed(v, addr) writew(v, addr) argument
695 #define writel_relaxed(v, addr) writel(v, addr) argument
696 #define writeq_relaxed(v, addr) writeq(v, addr) argument
704 static inline unsigned int ioread16be(const void __iomem *addr) in ioread16be()
710 static inline unsigned int ioread32be(const void __iomem *addr) in ioread32be()
717 static inline u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi()
723 static inline u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo()
729 static inline u64 ioread64be(const void __iomem *addr) in ioread64be()
735 static inline u64 ioread64be_lo_hi(const void __iomem *addr) in ioread64be_lo_hi()
741 static inline u64 ioread64be_hi_lo(const void __iomem *addr) in ioread64be_hi_lo()
748 static inline void iowrite16be(u16 val, void __iomem *addr) in iowrite16be()
754 static inline void iowrite32be(u32 val, void __iomem *addr) in iowrite32be()
761 static inline void iowrite64_lo_hi(u64 val, void __iomem *addr) in iowrite64_lo_hi()
767 static inline void iowrite64_hi_lo(u64 val, void __iomem *addr) in iowrite64_hi_lo()
773 static inline void iowrite64be(u64 val, void __iomem *addr) in iowrite64be()
779 static inline void iowrite64be_lo_hi(u64 val, void __iomem *addr) in iowrite64be_lo_hi()
785 static inline void iowrite64be_hi_lo(u64 val, void __iomem *addr) in iowrite64be_hi_lo()
873 #define ioremap_uc(addr, size) ioremap((addr), (size)) argument
874 #define ioremap_cache(addr, size) \ argument
900 #define mmio_read16be(addr) readw_be(addr) argument
901 #define mmio_read32be(addr) readl_be(addr) argument
902 #define mmio_read64be(addr) readq_be(addr) argument
903 #define mmio_write16be(val, addr) writew_be(val, addr) argument
904 #define mmio_write32be(val, addr) writel_be(val, addr) argument
905 #define mmio_write64be(val, addr) writeq_be(val, addr) argument
906 #define mmio_insb(addr, dst, count) readsb(addr, dst, count) argument
907 #define mmio_insw(addr, dst, count) readsw(addr, dst, count) argument
908 #define mmio_insl(addr, dst, count) readsl(addr, dst, count) argument
909 #define mmio_outsb(addr, src, count) writesb(addr, src, count) argument
910 #define mmio_outsw(addr, src, count) writesw(addr, src, count) argument
911 #define mmio_outsl(addr, src, count) writesl(addr, src, count) argument
1006 #define clrsetbits(type, addr, clear, set) \ argument
1010 #define clrsetbits_be64(addr, clear, set) clrsetbits(be64, addr, clear, set) argument
1011 #define clrsetbits_le64(addr, clear, set) clrsetbits(le64, addr, clear, set) argument
1014 #define clrsetbits_be32(addr, clear, set) clrsetbits(be32, addr, clear, set) argument
1015 #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) argument
1017 #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) argument
1018 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) argument
1020 #define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set) argument