Lines Matching refs:from
268 " deduced %s from Device ID\n", map->name, major, minor,
397 pr_warn("%s: Bad 38VF640x CFI data; adjusting sector size from 64 to 8KiB\n",
408 pr_warn("%s: Bad S29GL064N CFI data; adjust from 64 to 128 sectors\n",
420 pr_warn("%s: Bad S29GL032N CFI data; adjust from 127 to 63 sectors\n",
546 * Some revisions of the M29EW suffer from erase suspend hang ups. In
733 * of struct cfi_ident that probed from chip's CFI aera, if
930 * routine to recover from it) or we trying to
1045 * point. The CPU eventually returns from the interrupt or the call to
1151 * and stub it out from INVALIDATE_CACHE_UDELAY.
1153 #define XIP_INVAL_CACHED_RANGE(map, from, size) \
1154 INVALIDATE_CACHED_RANGE(map, from, size)
1166 * the presence of add_wait_queue() or schedule() calls from within a couple
1231 static int cfi_amdstd_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
1240 chipnum = (from >> cfi->chipshift);
1241 ofs = from - (chipnum << cfi->chipshift);
1339 static int cfi_amdstd_secsi_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
1349 chipnum=from>>3;
1350 ofs=from & 7;
1476 static int cfi_amdstd_otp_walk(struct mtd_info *mtd, loff_t from, size_t len,
1569 otpinfo->start = from;
1574 from += otpsize;
1575 } else if ((from < otpsize) && (len > 0)) {
1577 size = (len < otpsize - from) ? len : otpsize - from;
1578 ret = action(map, chip, otpoffset + from, size, buf,
1586 from = 0;
1588 from -= otpsize;
1608 static int cfi_amdstd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from,
1612 return cfi_amdstd_otp_walk(mtd, from, len, retlen,
1616 static int cfi_amdstd_read_user_prot_reg(struct mtd_info *mtd, loff_t from,
1620 return cfi_amdstd_otp_walk(mtd, from, len, retlen,
1624 static int cfi_amdstd_write_user_prot_reg(struct mtd_info *mtd, loff_t from,
1628 return cfi_amdstd_otp_walk(mtd, from, len, retlen, buf,
1632 static int cfi_amdstd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from,
1636 return cfi_amdstd_otp_walk(mtd, from, len, &retlen, NULL,
1851 /* Number of bytes to copy from buffer */
1995 * Recovery from write-buffer programming failures requires
2293 * This is used by the mtdoops driver to save the dying messages from a
2330 /* Number of bytes to copy from buffer */
3051 * the flash is in query/program/erase mode will prevent the CPU from