diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-06-25 08:52:23 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-08-22 06:20:03 -0400 |
commit | 9389339f28c2f0a32ad5043a1fe05444a7f3e677 (patch) | |
tree | 34d74f497b6aa222fbf0ba3ba18707b53bab18fa /arch/s390/include/asm/pci_io.h | |
parent | a9a6f0341df9a634a98aaf252c89962af77d1376 (diff) |
s390/pci: cleanup function names
Rename s390pci_xyz to zpci_xxz and set_irq_ctrl to zpci_set_irq_ctrl.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci_io.h')
-rw-r--r-- | arch/s390/include/asm/pci_io.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/s390/include/asm/pci_io.h b/arch/s390/include/asm/pci_io.h index 83a9caa6ae53..d194d544d694 100644 --- a/arch/s390/include/asm/pci_io.h +++ b/arch/s390/include/asm/pci_io.h | |||
@@ -36,7 +36,7 @@ static inline RETTYPE zpci_read_##RETTYPE(const volatile void __iomem *addr) \ | |||
36 | u64 data; \ | 36 | u64 data; \ |
37 | int rc; \ | 37 | int rc; \ |
38 | \ | 38 | \ |
39 | rc = s390pci_load(&data, req, ZPCI_OFFSET(addr)); \ | 39 | rc = zpci_load(&data, req, ZPCI_OFFSET(addr)); \ |
40 | if (rc) \ | 40 | if (rc) \ |
41 | data = -1ULL; \ | 41 | data = -1ULL; \ |
42 | return (RETTYPE) data; \ | 42 | return (RETTYPE) data; \ |
@@ -50,7 +50,7 @@ static inline void zpci_write_##VALTYPE(VALTYPE val, \ | |||
50 | u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \ | 50 | u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \ |
51 | u64 data = (VALTYPE) val; \ | 51 | u64 data = (VALTYPE) val; \ |
52 | \ | 52 | \ |
53 | s390pci_store(data, req, ZPCI_OFFSET(addr)); \ | 53 | zpci_store(data, req, ZPCI_OFFSET(addr)); \ |
54 | } | 54 | } |
55 | 55 | ||
56 | zpci_read(8, u64) | 56 | zpci_read(8, u64) |
@@ -83,7 +83,7 @@ static inline int zpci_write_single(u64 req, const u64 *data, u64 offset, u8 len | |||
83 | val = 0; /* let FW report error */ | 83 | val = 0; /* let FW report error */ |
84 | break; | 84 | break; |
85 | } | 85 | } |
86 | return s390pci_store(val, req, offset); | 86 | return zpci_store(val, req, offset); |
87 | } | 87 | } |
88 | 88 | ||
89 | static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) | 89 | static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) |
@@ -91,7 +91,7 @@ static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) | |||
91 | u64 data; | 91 | u64 data; |
92 | int cc; | 92 | int cc; |
93 | 93 | ||
94 | cc = s390pci_load(&data, req, offset); | 94 | cc = zpci_load(&data, req, offset); |
95 | if (cc) | 95 | if (cc) |
96 | goto out; | 96 | goto out; |
97 | 97 | ||
@@ -115,7 +115,7 @@ out: | |||
115 | 115 | ||
116 | static inline int zpci_write_block(u64 req, const u64 *data, u64 offset) | 116 | static inline int zpci_write_block(u64 req, const u64 *data, u64 offset) |
117 | { | 117 | { |
118 | return s390pci_store_block(data, req, offset); | 118 | return zpci_store_block(data, req, offset); |
119 | } | 119 | } |
120 | 120 | ||
121 | static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max) | 121 | static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max) |