Lines Matching refs:to
17 along with this program; if not, write to the Free Software
20 The SBC-MediaGX / SBC-GXx has up to 16 MiB of
42 (to support bzImages up to 638KiB-ish)
71 /* bit 7 of 0x259 must be 1 to enable device. */
88 * single flash device into. If the size if zero we use up to the end of the
124 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
133 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen);
135 to += thislen;
149 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)
153 if (len > (WINDOW_LENGTH - (to & WINDOW_MASK)))
154 thislen = WINDOW_LENGTH-(to & WINDOW_MASK);
157 sbc_gxx_page(map, to);
158 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen);
160 to += thislen;
169 .size = MAX_SIZE_KiB*1024, /* this must be set to a maximum possible amount
197 printk( KERN_ERR"%s: failed to ioremap memory region\n",