Searched refs:otpinfo (Results 1 – 3 of 3) sorted by relevance
1571 struct otp_info *otpinfo; in cfi_amdstd_otp_walk() local1572 len -= sizeof(*otpinfo); in cfi_amdstd_otp_walk()1575 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk()1576 otpinfo->start = from; in cfi_amdstd_otp_walk()1577 otpinfo->length = otpsize; in cfi_amdstd_otp_walk()1578 otpinfo->locked = otplocked; in cfi_amdstd_otp_walk()1579 buf += sizeof(*otpinfo); in cfi_amdstd_otp_walk()1580 *retlen += sizeof(*otpinfo); in cfi_amdstd_otp_walk()
2372 struct otp_info *otpinfo; in cfi_intelext_otp_walk() local2384 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk()2385 otpinfo->start = from; in cfi_intelext_otp_walk()2386 otpinfo->length = groupsize; in cfi_intelext_otp_walk()2387 otpinfo->locked = in cfi_intelext_otp_walk()2391 buf += sizeof(*otpinfo); in cfi_intelext_otp_walk()2392 *retlen += sizeof(*otpinfo); in cfi_intelext_otp_walk()
3065 struct otp_info *otpinfo; in onenand_otp_walk() local3073 otpinfo = (struct otp_info *) buf; in onenand_otp_walk()3074 otpinfo->start = from; in onenand_otp_walk()3075 otpinfo->length = mtd->writesize; in onenand_otp_walk()3076 otpinfo->locked = 0; in onenand_otp_walk()