Lines Matching refs:addr
76 int addr; /* PE configuration address */
224 unsigned long addr, unsigned long mask);
310 unsigned long addr, unsigned long mask);
362 static inline u8 eeh_readb(const volatile void __iomem *addr)
364 u8 val = in_8(addr);
366 eeh_check_failure(addr);
370 static inline u16 eeh_readw(const volatile void __iomem *addr)
372 u16 val = in_le16(addr);
374 eeh_check_failure(addr);
378 static inline u32 eeh_readl(const volatile void __iomem *addr)
380 u32 val = in_le32(addr);
382 eeh_check_failure(addr);
386 static inline u64 eeh_readq(const volatile void __iomem *addr)
388 u64 val = in_le64(addr);
390 eeh_check_failure(addr);
394 static inline u16 eeh_readw_be(const volatile void __iomem *addr)
396 u16 val = in_be16(addr);
398 eeh_check_failure(addr);
402 static inline u32 eeh_readl_be(const volatile void __iomem *addr)
404 u32 val = in_be32(addr);
406 eeh_check_failure(addr);
410 static inline u64 eeh_readq_be(const volatile void __iomem *addr)
412 u64 val = in_be64(addr);
414 eeh_check_failure(addr);
432 static inline void eeh_readsb(const volatile void __iomem *addr, void * buf,
435 _insb(addr, buf, ns);
437 eeh_check_failure(addr);
440 static inline void eeh_readsw(const volatile void __iomem *addr, void * buf,
443 _insw(addr, buf, ns);
445 eeh_check_failure(addr);
448 static inline void eeh_readsl(const volatile void __iomem *addr, void * buf,
451 _insl(addr, buf, nl);
453 eeh_check_failure(addr);