Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/mtd/
H A 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)
/openbmc/u-boot/include/mtd/
H A Dmtd-abi.h134 struct otp_info { struct
173 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info)
175 #define OTPLOCK _IOR('M', 16, struct otp_info)
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h254 size_t *retlen, struct otp_info *buf);
258 size_t *retlen, struct otp_info *buf);
419 struct otp_info *buf);
423 struct otp_info *buf);
/openbmc/linux/include/linux/mtd/
H A 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);
/openbmc/linux/drivers/mtd/chips/
H A 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()
H A 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()
/openbmc/linux/drivers/mtd/
H A 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()
H A Dmtdcore.c855 struct otp_info *info; in mtd_otp_size()
2131 struct otp_info *buf) in mtd_get_fact_prot_info()
2158 struct otp_info *buf) in mtd_get_user_prot_info()
/openbmc/linux/drivers/mtd/nand/onenand/
H A 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()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_macronix.c331 struct otp_info *buf) in macronix_30lfxg18ac_get_otp_info()
/openbmc/linux/drivers/mtd/spi-nor/
H A Dotp.c247 size_t *retlen, struct otp_info *buf) in spi_nor_mtd_otp_info()
/openbmc/u-boot/drivers/mtd/
H A Dmtdpart.c375 size_t *retlen, struct otp_info *buf) in part_get_user_prot_info()
389 size_t *retlen, struct otp_info *buf) in part_get_fact_prot_info()
H A Dmtdcore.c1494 struct otp_info *buf) in mtd_get_fact_prot_info()
1517 struct otp_info *buf) in mtd_get_user_prot_info()
/openbmc/linux/drivers/mtd/devices/
H A Dmtd_dataflash.c443 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info()