Searched refs:otp_info (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/include/uapi/mtd/ |
D | mtd-abi.h | 144 struct otp_info { struct 183 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info) 185 #define OTPLOCK _IOR('M', 16, struct otp_info)
|
/linux-4.4.14/include/linux/mtd/ |
D | mtd.h | 208 size_t *retlen, struct otp_info *buf); 212 size_t *retlen, struct otp_info *buf); 284 struct otp_info *buf); 288 struct otp_info *buf);
|
/linux-4.4.14/drivers/mtd/ |
D | mtdchar.c | 871 struct otp_info *buf = kmalloc(4096, GFP_KERNEL); in mtdchar_ioctl() 888 int nbr = retlen / sizeof(struct otp_info); in mtdchar_ioctl() 901 struct otp_info oinfo; in mtdchar_ioctl()
|
D | mtdpart.c | 155 size_t *retlen, struct otp_info *buf) in part_get_user_prot_info() 171 size_t *retlen, struct otp_info *buf) in part_get_fact_prot_info()
|
D | mtdcore.c | 1000 struct otp_info *buf) in mtd_get_fact_prot_info() 1023 struct otp_info *buf) in mtd_get_user_prot_info()
|
/linux-4.4.14/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 77 size_t *, struct otp_info *); 79 size_t *, struct otp_info *); 2348 struct otp_info *otpinfo; in cfi_intelext_otp_walk() 2350 len -= sizeof(struct otp_info); in cfi_intelext_otp_walk() 2360 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk() 2441 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_fact_prot_info() 2449 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_user_prot_info()
|
D | cfi_cmdset_0002.c | 62 size_t *, struct otp_info *); 64 size_t *, struct otp_info *); 1472 struct otp_info *otpinfo; in cfi_amdstd_otp_walk() 1476 otpinfo = (struct otp_info *)buf; in cfi_amdstd_otp_walk() 1503 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_fact_prot_info() 1510 size_t *retlen, struct otp_info *buf) in cfi_amdstd_get_user_prot_info()
|
/linux-4.4.14/drivers/mtd/onenand/ |
D | onenand_base.c | 3197 struct otp_info *otpinfo; in onenand_otp_walk() 3199 len -= sizeof(struct otp_info); in onenand_otp_walk() 3205 otpinfo = (struct otp_info *) buf; in onenand_otp_walk() 3211 buf += sizeof(struct otp_info); in onenand_otp_walk() 3212 *retlen += sizeof(struct otp_info); in onenand_otp_walk() 3242 size_t *retlen, struct otp_info *buf) in onenand_get_fact_prot_info() 3274 size_t *retlen, struct otp_info *buf) in onenand_get_user_prot_info()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | mtd_dataflash.c | 444 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info()
|