Lines Matching refs:from
267 " deduced %s from Device ID\n", map->name, major, minor,
400 pr_warn("%s: Bad 38VF640x CFI data; adjusting sector size from 64 to 8KiB\n",
411 pr_warn("%s: Bad S29GL064N CFI data; adjust from 64 to 128 sectors\n",
423 pr_warn("%s: Bad S29GL032N CFI data; adjust from 127 to 63 sectors\n",
549 * Some revisions of the M29EW suffer from erase suspend hang ups. In
736 * of struct cfi_ident that probed from chip's CFI aera, if
934 * routine to recover from it) or we trying to
1049 * point. The CPU eventually returns from the interrupt or the call to
1155 * and stub it out from INVALIDATE_CACHE_UDELAY.
1157 #define XIP_INVAL_CACHED_RANGE(map, from, size) \
1158 INVALIDATE_CACHED_RANGE(map, from, size)
1170 * the presence of add_wait_queue() or schedule() calls from within a couple
1235 static int cfi_amdstd_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
1244 chipnum = (from >> cfi->chipshift);
1245 ofs = from - (chipnum << cfi->chipshift);
1343 static int cfi_amdstd_secsi_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
1353 chipnum=from>>3;
1354 ofs=from & 7;
1480 static int cfi_amdstd_otp_walk(struct mtd_info *mtd, loff_t from, size_t len,
1573 otpinfo->start = from;
1578 from += otpsize;
1579 } else if ((from < otpsize) && (len > 0)) {
1581 size = (len < otpsize - from) ? len : otpsize - from;
1582 ret = action(map, chip, otpoffset + from, size, buf,
1590 from = 0;
1592 from -= otpsize;
1612 static int cfi_amdstd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from,
1616 return cfi_amdstd_otp_walk(mtd, from, len, retlen,
1620 static int cfi_amdstd_read_user_prot_reg(struct mtd_info *mtd, loff_t from,
1624 return cfi_amdstd_otp_walk(mtd, from, len, retlen,
1628 static int cfi_amdstd_write_user_prot_reg(struct mtd_info *mtd, loff_t from,
1632 return cfi_amdstd_otp_walk(mtd, from, len, retlen, (u_char *)buf,
1636 static int cfi_amdstd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from,
1640 return cfi_amdstd_otp_walk(mtd, from, len, &retlen, NULL,
1855 /* Number of bytes to copy from buffer */
1999 * Recovery from write-buffer programming failures requires
2297 * This is used by the mtdoops driver to save the dying messages from a
2334 /* Number of bytes to copy from buffer */
3056 * the flash is in query/program/erase mode will prevent the CPU from