Searched refs:onenand_otp_walk (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/mtd/nand/onenand/ |
| D | onenand_base.c | 3036 static int onenand_otp_walk(struct mtd_info *mtd, loff_t from, size_t len, in onenand_otp_walk() function 3117 return onenand_otp_walk(mtd, 0, len, retlen, (u_char *) buf, NULL, in onenand_get_fact_prot_info() 3134 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_read, MTD_OTP_FACTORY); in onenand_read_fact_prot_reg() 3149 return onenand_otp_walk(mtd, 0, len, retlen, (u_char *) buf, NULL, in onenand_get_user_prot_info() 3166 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_read, MTD_OTP_USER); in onenand_read_user_prot_reg() 3182 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_write, MTD_OTP_USER); in onenand_write_user_prot_reg() 3233 ret = onenand_otp_walk(mtd, from, len, &retlen, buf, do_otp_lock, MTD_OTP_USER); in onenand_lock_user_prot_reg()
|