Lines Matching refs:to
9 to the lower 8k of the device the second is paged. Writing a 16 bit page
10 value to anywhere in the first 8k will cause the second 8k to page around.
13 of flash that is smart enough to copy itself down, page in the rest of
33 /* Actually we could use two spinlocks, but we'd have to have
37 fields pointing to yet another private struct.
65 static void vmax301_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
73 memcpy_fromio(to, map->map_priv_2 + from, thislen);
75 to += thislen;
89 static void vmax301_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)
93 if (len > (WINDOW_LENGTH - (to & WINDOW_MASK)))
94 thislen = WINDOW_LENGTH-(to & WINDOW_MASK);
97 vmax301_page(map, to);
98 memcpy_toio(map->map_priv_2 + to, from, thislen);
100 to += thislen;
158 printk("Failed to ioremap memory region\n");