Home
last modified time | relevance | path

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

/drivers/mtd/chips/
Dcfi_cmdset_0002.c1472 struct otp_info *otpinfo; in cfi_amdstd_otp_walk() local
1473 len -= sizeof(*otpinfo); in cfi_amdstd_otp_walk()
1476 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk()
1477 otpinfo->start = from; in cfi_amdstd_otp_walk()
1478 otpinfo->length = otpsize; in cfi_amdstd_otp_walk()
1479 otpinfo->locked = otplocked; in cfi_amdstd_otp_walk()
1480 buf += sizeof(*otpinfo); in cfi_amdstd_otp_walk()
1481 *retlen += sizeof(*otpinfo); in cfi_amdstd_otp_walk()
Dcfi_cmdset_0001.c2371 struct otp_info *otpinfo; in cfi_intelext_otp_walk() local
2383 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk()
2384 otpinfo->start = from; in cfi_intelext_otp_walk()
2385 otpinfo->length = groupsize; in cfi_intelext_otp_walk()
2386 otpinfo->locked = in cfi_intelext_otp_walk()
2390 buf += sizeof(*otpinfo); in cfi_intelext_otp_walk()
2391 *retlen += sizeof(*otpinfo); in cfi_intelext_otp_walk()
/drivers/mtd/onenand/
Donenand_base.c3197 struct otp_info *otpinfo; in onenand_otp_walk() local
3205 otpinfo = (struct otp_info *) buf; in onenand_otp_walk()
3206 otpinfo->start = from; in onenand_otp_walk()
3207 otpinfo->length = mtd->writesize; in onenand_otp_walk()
3208 otpinfo->locked = 0; in onenand_otp_walk()