Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/mtd/
Dmtd-abi.h145 struct otp_info { struct
184 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info)
186 #define OTPLOCK _IOR('M', 16, struct otp_info)
/Linux-v4.19/include/linux/mtd/
Dmtd.h300 size_t *retlen, struct otp_info *buf);
304 size_t *retlen, struct otp_info *buf);
428 struct otp_info *buf);
432 struct otp_info *buf);
/Linux-v4.19/drivers/mtd/
Dmtdchar.c890 struct otp_info *buf = kmalloc(4096, GFP_KERNEL); in mtdchar_ioctl()
907 int nbr = retlen / sizeof(struct otp_info); in mtdchar_ioctl()
920 struct otp_info oinfo; in mtdchar_ioctl()
Dmtdpart.c132 size_t *retlen, struct otp_info *buf) in part_get_user_prot_info()
148 size_t *retlen, struct otp_info *buf) in part_get_fact_prot_info()
Dmtdcore.c1583 struct otp_info *buf) in mtd_get_fact_prot_info()
1606 struct otp_info *buf) in mtd_get_user_prot_info()
/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0001.c78 size_t *, struct otp_info *);
80 size_t *, struct otp_info *);
2368 struct otp_info *otpinfo; in cfi_intelext_otp_walk()
2370 len -= sizeof(struct otp_info); in cfi_intelext_otp_walk()
2380 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk()
2461 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_fact_prot_info()
2469 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_user_prot_info()
Dcfi_cmdset_0002.c62 size_t *, struct otp_info *);
64 size_t *, struct otp_info *);
1474 struct otp_info *otpinfo; in cfi_amdstd_otp_walk()
1478 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk()
1505 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_fact_prot_info()
1512 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_user_prot_info()
/Linux-v4.19/drivers/mtd/nand/onenand/
Donenand_base.c3073 struct otp_info *otpinfo; in onenand_otp_walk()
3075 len -= sizeof(struct otp_info); in onenand_otp_walk()
3081 otpinfo = (struct otp_info *) buf; in onenand_otp_walk()
3087 buf += sizeof(struct otp_info); in onenand_otp_walk()
3088 *retlen += sizeof(struct otp_info); in onenand_otp_walk()
3118 size_t *retlen, struct otp_info *buf) in onenand_get_fact_prot_info()
3150 size_t *retlen, struct otp_info *buf) in onenand_get_user_prot_info()
/Linux-v4.19/drivers/mtd/devices/
Dmtd_dataflash.c441 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info()