Lines Matching refs:src
122 static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max) in zpci_get_max_write_size() argument
126 while (!(src & 0x1) && !(dst & 0x1) && ((size << 1) <= count)) { in zpci_get_max_write_size()
128 src = src >> 1; in zpci_get_max_write_size()
135 const volatile void __iomem *src, in zpci_memcpy_fromio() argument
138 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(src)]; in zpci_memcpy_fromio()
139 u64 req, offset = ZPCI_OFFSET(src); in zpci_memcpy_fromio()
143 size = zpci_get_max_write_size((u64 __force) src, in zpci_memcpy_fromio()
157 const void *src, unsigned long n) in zpci_memcpy_toio() argument
163 if (!src) in zpci_memcpy_toio()
168 (u64) src, n, 128); in zpci_memcpy_toio()
172 rc = zpci_write_block(req, src, offset); in zpci_memcpy_toio()
174 rc = zpci_write_single(req, src, offset, size); in zpci_memcpy_toio()
178 src += size; in zpci_memcpy_toio()
187 u8 *src = kmalloc(count, GFP_KERNEL); in zpci_memset_io() local
190 if (src == NULL) in zpci_memset_io()
192 memset(src, val, count); in zpci_memset_io()
194 rc = zpci_memcpy_toio(dst, src, count); in zpci_memset_io()
195 kfree(src); in zpci_memset_io()