Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/mtd/
Dmtd-abi.h193 struct otp_info { struct
232 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info)
234 #define OTPLOCK _IOR('M', 16, struct otp_info)
256 #define OTPERASE _IOW('M', 25, struct otp_info)
/linux-6.6.21/include/linux/mtd/
Dmtd.h331 size_t *retlen, struct otp_info *buf);
335 size_t *retlen, struct otp_info *buf);
516 struct otp_info *buf);
520 struct otp_info *buf);
/linux-6.6.21/drivers/mtd/chips/
Dcfi_cmdset_0001.c80 size_t *, struct otp_info *);
82 size_t *, struct otp_info *);
2390 struct otp_info *otpinfo; in cfi_intelext_otp_walk()
2392 len -= sizeof(struct otp_info); in cfi_intelext_otp_walk()
2402 otpinfo = (struct otp_info *)buf; in cfi_intelext_otp_walk()
2483 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_fact_prot_info()
2491 size_t *retlen, struct otp_info *buf) in cfi_intelext_get_user_prot_info()
Dcfi_cmdset_0002.c77 size_t *, struct otp_info *);
79 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-6.6.21/drivers/mtd/
Dmtdchar.c1111 struct otp_info *buf = kmalloc(4096, GFP_KERNEL); in mtdchar_ioctl()
1128 int nbr = retlen / sizeof(struct otp_info); in mtdchar_ioctl()
1142 struct otp_info oinfo; in mtdchar_ioctl()
Dmtdcore.c854 struct otp_info *info; in mtd_otp_size()
2127 struct otp_info *buf) in mtd_get_fact_prot_info()
2154 struct otp_info *buf) in mtd_get_user_prot_info()
/linux-6.6.21/drivers/mtd/nand/onenand/
Donenand_base.c3072 struct otp_info *otpinfo; in onenand_otp_walk()
3074 len -= sizeof(struct otp_info); in onenand_otp_walk()
3080 otpinfo = (struct otp_info *) buf; in onenand_otp_walk()
3086 buf += sizeof(struct otp_info); in onenand_otp_walk()
3087 *retlen += sizeof(struct otp_info); in onenand_otp_walk()
3117 size_t *retlen, struct otp_info *buf) in onenand_get_fact_prot_info()
3149 size_t *retlen, struct otp_info *buf) in onenand_get_user_prot_info()
/linux-6.6.21/drivers/mtd/nand/raw/
Dnand_macronix.c331 struct otp_info *buf) in macronix_30lfxg18ac_get_otp_info()
/linux-6.6.21/drivers/mtd/spi-nor/
Dotp.c247 size_t *retlen, struct otp_info *buf) in spi_nor_mtd_otp_info()
/linux-6.6.21/drivers/mtd/devices/
Dmtd_dataflash.c443 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info()