Searched refs:otpinfo (Results 1 – 3 of 3) sorted by relevance
1568 struct otp_info *otpinfo; in cfi_amdstd_otp_walk() local1569 len -= sizeof(*otpinfo); in cfi_amdstd_otp_walk()1572 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk()1573 otpinfo->start = from; in cfi_amdstd_otp_walk()1574 otpinfo->length = otpsize; in cfi_amdstd_otp_walk()1575 otpinfo->locked = otplocked; in cfi_amdstd_otp_walk()1576 buf += sizeof(*otpinfo); in cfi_amdstd_otp_walk()1577 *retlen += sizeof(*otpinfo); in cfi_amdstd_otp_walk()
2390 struct otp_info *otpinfo; in cfi_intelext_otp_walk() local2402 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk()2403 otpinfo->start = from; in cfi_intelext_otp_walk()2404 otpinfo->length = groupsize; in cfi_intelext_otp_walk()2405 otpinfo->locked = in cfi_intelext_otp_walk()2409 buf += sizeof(*otpinfo); in cfi_intelext_otp_walk()2410 *retlen += sizeof(*otpinfo); in cfi_intelext_otp_walk()
3072 struct otp_info *otpinfo; in onenand_otp_walk() local3080 otpinfo = (struct otp_info *) buf; in onenand_otp_walk()3081 otpinfo->start = from; in onenand_otp_walk()3082 otpinfo->length = mtd->writesize; in onenand_otp_walk()3083 otpinfo->locked = 0; in onenand_otp_walk()