Lines Matching refs:from
179 * memcpy_{to,from}io doesn't gurantee 32b accesses - which we require for the
181 * trailing bytes, copy them byte-by-byte from the DATABUF register, as we
190 void __iomem *from;
193 from = host->regbase + HISI_SFC_V3XX_CMD_DATABUF0;
198 __ioread32_copy(to, from, words);
205 from += words * 4;
207 val = __raw_readl(from);
213 for (i = 0; i < DIV_ROUND_UP(len, 4); i++, from += 4) {
214 u32 val = __raw_readl(from);
225 const u8 *from, unsigned int len)
232 if (IS_ALIGNED((uintptr_t)from, 4)) {
235 __iowrite32_copy(to, from, words);
242 from += words * 4;
244 for (i = 0; i < len; i++, from++)
245 val |= *from << i * 8;
255 from++, j++)
256 val |= *from << j * 8;