Lines Matching refs:u64
20 static inline void zpci_err_insn(u8 cc, u8 status, u64 req, u64 offset) in zpci_err_insn()
23 u64 req; in zpci_err_insn()
24 u64 offset; in zpci_err_insn()
33 static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) in __mpcifc()
47 u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status) in zpci_mod_fc()
64 static inline u8 __rpcit(u64 fn, u64 addr, u64 range, u8 *status) in __rpcit()
66 register u64 __addr asm("2") = addr; in __rpcit()
67 register u64 __range asm("3") = range; in __rpcit()
81 int zpci_refresh_trans(u64 fn, u64 addr, u64 range) in zpci_refresh_trans()
114 static inline int ____pcilg(u64 *data, u64 req, u64 offset, u8 *status) in ____pcilg()
116 register u64 __req asm("2") = req; in ____pcilg()
117 register u64 __offset asm("3") = offset; in ____pcilg()
119 u64 __data; in ____pcilg()
135 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg()
137 u64 __data; in __pcilg()
147 int __zpci_load(u64 *data, u64 req, u64 offset) in __zpci_load()
165 static inline int zpci_load_fh(u64 *data, const volatile void __iomem *addr, in zpci_load_fh()
169 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, len); in zpci_load_fh()
174 static inline int __pcilg_mio(u64 *data, u64 ioaddr, u64 len, u8 *status) in __pcilg_mio()
176 register u64 addr asm("2") = ioaddr; in __pcilg_mio()
177 register u64 r3 asm("3") = len; in __pcilg_mio()
179 u64 __data; in __pcilg_mio()
195 int zpci_load(u64 *data, const volatile void __iomem *addr, unsigned long len) in zpci_load()
203 cc = __pcilg_mio(data, (__force u64) addr, len, &status); in zpci_load()
205 zpci_err_insn(cc, status, 0, (__force u64) addr); in zpci_load()
212 static inline int __pcistg(u64 data, u64 req, u64 offset, u8 *status) in __pcistg()
214 register u64 __req asm("2") = req; in __pcistg()
215 register u64 __offset asm("3") = offset; in __pcistg()
231 int __zpci_store(u64 data, u64 req, u64 offset) in __zpci_store()
249 static inline int zpci_store_fh(const volatile void __iomem *addr, u64 data, in zpci_store_fh()
253 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, len); in zpci_store_fh()
258 static inline int __pcistg_mio(u64 data, u64 ioaddr, u64 len, u8 *status) in __pcistg_mio()
260 register u64 addr asm("2") = ioaddr; in __pcistg_mio()
261 register u64 r3 asm("3") = len; in __pcistg_mio()
277 int zpci_store(const volatile void __iomem *addr, u64 data, unsigned long len) in zpci_store()
285 cc = __pcistg_mio(data, (__force u64) addr, len, &status); in zpci_store()
287 zpci_err_insn(cc, status, 0, (__force u64) addr); in zpci_store()
294 static inline int __pcistb(const u64 *data, u64 req, u64 offset, u8 *status) in __pcistb()
311 int __zpci_store_block(const u64 *data, u64 req, u64 offset) in __zpci_store_block()
333 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, len); in zpci_write_block_fh()
334 u64 offset = ZPCI_OFFSET(dst); in zpci_write_block_fh()
339 static inline int __pcistb_mio(const u64 *data, u64 ioaddr, u64 len, u8 *status) in __pcistb_mio()
365 cc = __pcistb_mio(src, (__force u64) dst, len, &status); in zpci_write_block()
367 zpci_err_insn(cc, status, 0, (__force u64) dst); in zpci_write_block()