Lines Matching refs:offset
16 static inline void zpci_err_insn(u8 cc, u8 status, u64 req, u64 offset) in zpci_err_insn() argument
20 u64 offset; in zpci_err_insn() member
23 } __packed data = {req, offset, cc, status}; in zpci_err_insn()
102 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg() argument
105 register u64 __offset asm("3") = offset; in __pcilg()
125 int zpci_load(u64 *data, u64 req, u64 offset) in zpci_load() argument
131 cc = __pcilg(data, req, offset, &status); in zpci_load()
137 zpci_err_insn(cc, status, req, offset); in zpci_load()
144 static inline int __pcistg(u64 data, u64 req, u64 offset, u8 *status) in __pcistg() argument
147 register u64 __offset asm("3") = offset; in __pcistg()
163 int zpci_store(u64 data, u64 req, u64 offset) in zpci_store() argument
169 cc = __pcistg(data, req, offset, &status); in zpci_store()
175 zpci_err_insn(cc, status, req, offset); in zpci_store()
182 static inline int __pcistb(const u64 *data, u64 req, u64 offset, u8 *status) in __pcistb() argument
193 : [offset] "d" (offset), [data] "Q" (*data) in __pcistb()
199 int zpci_store_block(const u64 *data, u64 req, u64 offset) in zpci_store_block() argument
205 cc = __pcistb(data, req, offset, &status); in zpci_store_block()
211 zpci_err_insn(cc, status, req, offset); in zpci_store_block()