Lines Matching defs:retlen
1138 ops->retlen = 0;
1192 * retlen == desired len and result == -EBADMSG
1194 ops->retlen = read;
1239 ops->retlen = 0;
1321 * retlen == desired len and result == -EBADMSG
1323 ops->retlen = read;
1690 * @param retlen pointer to variable to store the number of written bytes
1696 size_t *retlen, const u_char *buf)
1759 *retlen = written;
1802 /* Initialize retlen, in case of early exit */
1803 ops->retlen = 0;
1951 ops->retlen = written;
1963 * @param retlen pointer to variable to store the number of written bytes
1985 /* Initialize retlen, in case of early exit */
2764 * @param retlen pointer to variable to store the number of written bytes
2782 /* Initialize retlen, in case of early exit */
2888 size_t *retlen, u_char *buf);
2895 * @param retlen pointer to variable to store the number of readbytes
2901 size_t *retlen, u_char *buf)
2932 * @param retlen pointer to variable to store the number of write bytes
2938 size_t *retlen, u_char *buf)
2962 *retlen = ops.retlen;
2976 * @param retlen pointer to variable to store the number of lock bytes
2982 size_t *retlen, u_char *buf)
3002 *retlen = ops.retlen;
3013 *retlen = ops.oobretlen;
3024 * @param retlen pointer to variable to store the number of read bytes
3032 size_t *retlen, u_char *buf,
3040 *retlen = 0;
3080 *retlen += sizeof(struct otp_info);
3090 *retlen += tmp_retlen;
3104 * @param retlen pointer to variable to store the number of read bytes
3110 size_t *retlen, struct otp_info *buf)
3112 return onenand_otp_walk(mtd, 0, len, retlen, (u_char *) buf, NULL,
3121 * @param retlen pointer to variable to store the number of read bytes
3127 size_t len, size_t *retlen, u_char *buf)
3129 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_read, MTD_OTP_FACTORY);
3135 * @param retlen pointer to variable to store the number of read bytes
3142 size_t *retlen, struct otp_info *buf)
3144 return onenand_otp_walk(mtd, 0, len, retlen, (u_char *) buf, NULL,
3153 * @param retlen pointer to variable to store the number of read bytes
3159 size_t len, size_t *retlen, u_char *buf)
3161 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_read, MTD_OTP_USER);
3169 * @param retlen pointer to variable to store the number of write bytes
3175 size_t len, size_t *retlen, u_char *buf)
3177 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_write, MTD_OTP_USER);
3193 size_t retlen;
3228 ret = onenand_otp_walk(mtd, from, len, &retlen, buf, do_otp_lock, MTD_OTP_USER);
3230 return ret ? : retlen;