Searched refs:otp_info (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/include/uapi/mtd/ |
| D | mtd-abi.h | 145 struct otp_info { struct 184 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info) 186 #define OTPLOCK _IOR('M', 16, struct otp_info)
|
| /Linux-v5.4/include/linux/mtd/ |
| D | mtd.h | 291 size_t *retlen, struct otp_info *buf); 295 size_t *retlen, struct otp_info *buf); 426 struct otp_info *buf); 430 struct otp_info *buf);
|
| /Linux-v5.4/drivers/mtd/ |
| D | mtdchar.c | 876 struct otp_info *buf = kmalloc(4096, GFP_KERNEL); in mtdchar_ioctl() 893 int nbr = retlen / sizeof(struct otp_info); in mtdchar_ioctl() 906 struct otp_info oinfo; in mtdchar_ioctl()
|
| D | mtdpart.c | 127 size_t *retlen, struct otp_info *buf) in part_get_user_prot_info() 143 size_t *retlen, struct otp_info *buf) in part_get_fact_prot_info()
|
| D | mtdcore.c | 1664 struct otp_info *buf) in mtd_get_fact_prot_info() 1687 struct otp_info *buf) in mtd_get_user_prot_info()
|
| /Linux-v5.4/drivers/mtd/chips/ |
| D | cfi_cmdset_0001.c | 78 size_t *, struct otp_info *); 80 size_t *, struct otp_info *); 2369 struct otp_info *otpinfo; in cfi_intelext_otp_walk() 2371 len -= sizeof(struct otp_info); in cfi_intelext_otp_walk() 2381 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk() 2462 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_fact_prot_info() 2470 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 *); 1568 struct otp_info *otpinfo; in cfi_amdstd_otp_walk() 1572 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk() 1599 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_fact_prot_info() 1606 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_user_prot_info()
|
| /Linux-v5.4/drivers/mtd/nand/onenand/ |
| D | onenand_base.c | 3070 struct otp_info *otpinfo; in onenand_otp_walk() 3072 len -= sizeof(struct otp_info); in onenand_otp_walk() 3078 otpinfo = (struct otp_info *) buf; in onenand_otp_walk() 3084 buf += sizeof(struct otp_info); in onenand_otp_walk() 3085 *retlen += sizeof(struct otp_info); in onenand_otp_walk() 3115 size_t *retlen, struct otp_info *buf) in onenand_get_fact_prot_info() 3147 size_t *retlen, struct otp_info *buf) in onenand_get_user_prot_info()
|
| /Linux-v5.4/drivers/mtd/devices/ |
| D | mtd_dataflash.c | 437 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info()
|