Home
last modified time | relevance | path

Searched refs:onenand_otp_walk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c3038 static int onenand_otp_walk(struct mtd_info *mtd, loff_t from, size_t len, in onenand_otp_walk() function
3119 return onenand_otp_walk(mtd, 0, len, retlen, (u_char *) buf, NULL, in onenand_get_fact_prot_info()
3136 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_read, MTD_OTP_FACTORY); in onenand_read_fact_prot_reg()
3151 return onenand_otp_walk(mtd, 0, len, retlen, (u_char *) buf, NULL, in onenand_get_user_prot_info()
3168 return onenand_otp_walk(mtd, from, len, retlen, buf, do_otp_read, MTD_OTP_USER); in onenand_read_user_prot_reg()
3184 return onenand_otp_walk(mtd, from, len, retlen, (u_char *)buf, in onenand_write_user_prot_reg()
3236 ret = onenand_otp_walk(mtd, from, len, &retlen, buf, do_otp_lock, MTD_OTP_USER); in onenand_lock_user_prot_reg()