Searched refs:otp_info (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/include/uapi/mtd/ |
D | mtd-abi.h | 146 struct otp_info { struct 185 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info) 187 #define OTPLOCK _IOR('M', 16, struct otp_info)
|
/Linux-v5.10/include/linux/mtd/ |
D | mtd.h | 328 size_t *retlen, struct otp_info *buf); 332 size_t *retlen, struct otp_info *buf); 510 struct otp_info *buf); 514 struct otp_info *buf);
|
/Linux-v5.10/drivers/mtd/ |
D | mtdchar.c | 914 struct otp_info *buf = kmalloc(4096, GFP_KERNEL); in mtdchar_ioctl() 931 int nbr = retlen / sizeof(struct otp_info); in mtdchar_ioctl() 944 struct otp_info oinfo; in mtdchar_ioctl()
|
D | mtdcore.c | 1829 struct otp_info *buf) in mtd_get_fact_prot_info() 1856 struct otp_info *buf) in mtd_get_user_prot_info()
|
/Linux-v5.10/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 78 size_t *, struct otp_info *); 80 size_t *, struct otp_info *); 2372 struct otp_info *otpinfo; in cfi_intelext_otp_walk() 2374 len -= sizeof(struct otp_info); in cfi_intelext_otp_walk() 2384 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk() 2465 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_fact_prot_info() 2473 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_user_prot_info()
|
D | cfi_cmdset_0002.c | 74 size_t *, struct otp_info *); 76 size_t *, struct otp_info *); 1571 struct otp_info *otpinfo; in cfi_amdstd_otp_walk() 1575 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk() 1602 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_fact_prot_info() 1609 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_user_prot_info()
|
/Linux-v5.10/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 3065 struct otp_info *otpinfo; in onenand_otp_walk() 3067 len -= sizeof(struct otp_info); in onenand_otp_walk() 3073 otpinfo = (struct otp_info *) buf; in onenand_otp_walk() 3079 buf += sizeof(struct otp_info); in onenand_otp_walk() 3080 *retlen += sizeof(struct otp_info); in onenand_otp_walk() 3110 size_t *retlen, struct otp_info *buf) in onenand_get_fact_prot_info() 3142 size_t *retlen, struct otp_info *buf) in onenand_get_user_prot_info()
|
/Linux-v5.10/drivers/mtd/devices/ |
D | mtd_dataflash.c | 437 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info()
|