Lines Matching refs:from
85 printf("\nDump %d data bytes from 0x%08llx:\n",
93 printf("Dump %d OOB bytes from page at 0x%08llx:\n",
100 printf("\nDump %lld data bytes from 0x%llx:\n",
192 /* Logic taken from fs/ubifs/recovery.c:is_empty() */
214 off_t from;
234 from = simple_strtoul(argv[3], NULL, 0);
243 printf("Reading %s OTP from 0x%lx, %zu bytes\n",
244 user ? "user" : "factory", from, len);
247 ret = mtd_read_user_prot_reg(mtd, from, len, &retlen, buf);
249 ret = mtd_read_fact_prot_reg(mtd, from, len, &retlen, buf);
277 off_t from;
288 from = simple_strtoul(argv[2], NULL, 0);
291 ret = mtd_lock_user_prot_reg(mtd, from, len);
313 off_t from;
323 from = simple_strtoul(argv[2], NULL, 0);
337 printf("to 0x%lx\n", from);
347 ret = mtd_write_user_prot_reg(mtd, from, binlen, &retlen, binbuf);
781 "\t<addr>: user address from/to which data will be retrieved/stored\n"