Lines Matching defs:len
47 loff_t offset, size_t len, size_t *retlen, u_char *buf)
55 dev_dbg(dev, "%s(op=%d, offset=0x%llx, len=%zu)\n",
56 __func__, op, offset, len);
69 rc = opal_flash_read(info->id, offset, __pa(buf), len, token);
72 rc = opal_flash_write(info->id, offset, __pa(buf), len, token);
75 rc = opal_flash_erase(info->id, offset, len, token);
120 *retlen = len;
132 * @len: the number of bytes to read
138 static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len,
142 len, retlen, buf);
149 * @len: the number of bytes to write
155 static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len,
159 len, retlen, (u_char *)buf);
173 erase->len, NULL, NULL);