Lines Matching refs:to
54 /* Define max times to check status register before we give up. */
121 * Service routine to read status register until ready, or timeout occurs.
290 * Write an address range to the flash chip. Data must be written in
294 static int m25p80_write(struct mtd_info *mtd, loff_t to, size_t len,
303 flash->spi->dev.bus_id, __FUNCTION__, "to",
304 (u32)to, len);
313 if (to + len > flash->mtd.size)
336 flash->command[1] = to >> 16;
337 flash->command[2] = to >> 8;
338 flash->command[3] = to;
341 page_offset = to % FLASH_PAGESIZE;
367 /* write the next page to flash */
368 flash->command[1] = (to + i) >> 16;
369 flash->command[2] = (to + i) >> 8;
370 flash->command[3] = (to + i);
496 /* partitions should match sector boundaries; and it may be good to