Lines Matching defs:mmio_addr
10 static inline long mmio_writeb(const unsigned long mmio_addr,
13 return syscall(__NR_s390_pci_mmio_write, mmio_addr, &val, sizeof(val));
16 static inline long mmio_writew(const unsigned long mmio_addr,
19 return syscall(__NR_s390_pci_mmio_write, mmio_addr, &val, sizeof(val));
22 static inline long mmio_writel(const unsigned long mmio_addr,
25 return syscall(__NR_s390_pci_mmio_write, mmio_addr, &val, sizeof(val));
28 static inline long mmio_writeq(const unsigned long mmio_addr,
31 return syscall(__NR_s390_pci_mmio_write, mmio_addr, &val, sizeof(val));
34 static inline long mmio_write(const unsigned long mmio_addr,
38 return syscall(__NR_s390_pci_mmio_write, mmio_addr, val, length);
41 static inline long mmio_readb(const unsigned long mmio_addr, uint8_t *val)
43 return syscall(__NR_s390_pci_mmio_read, mmio_addr, val, sizeof(*val));
46 static inline long mmio_readw(const unsigned long mmio_addr, uint16_t *val)
48 return syscall(__NR_s390_pci_mmio_read, mmio_addr, val, sizeof(*val));
51 static inline long mmio_readl(const unsigned long mmio_addr, uint32_t *val)
53 return syscall(__NR_s390_pci_mmio_read, mmio_addr, val, sizeof(*val));
56 static inline long mmio_readq(const unsigned long mmio_addr, uint64_t *val)
58 return syscall(__NR_s390_pci_mmio_read, mmio_addr, val, sizeof(*val));
61 static inline long mmio_read(const unsigned long mmio_addr,
65 return syscall(__NR_s390_pci_mmio_read, mmio_addr, val, length);