Lines Matching refs:from
190 * memcpy_{to,from}io doesn't gurantee 32b accesses - which we require for the
192 * trailing bytes, copy them byte-by-byte from the DATABUF register, as we
201 void __iomem *from;
204 from = host->regbase + HISI_SFC_V3XX_CMD_DATABUF0;
209 __ioread32_copy(to, from, words);
216 from += words * 4;
218 val = __raw_readl(from);
224 for (i = 0; i < DIV_ROUND_UP(len, 4); i++, from += 4) {
225 u32 val = __raw_readl(from);
236 const u8 *from, unsigned int len)
243 if (IS_ALIGNED((uintptr_t)from, 4)) {
246 __iowrite32_copy(to, from, words);
253 from += words * 4;
255 for (i = 0; i < len; i++, from++)
256 val |= *from << i * 8;
266 from++, j++)
267 val |= *from << j * 8;