/openbmc/phosphor-mboxd/ |
H A D | mboxd_flash.c | 177 erase_info.start = offset; in erase_flash() 179 erase_info.length += erase_size; in erase_flash() 183 erase_info.start, erase_info.length); in erase_flash() 185 &erase_info); in erase_flash() 188 erase_info.start); in erase_flash() 194 erase_info.start = 0; in erase_flash() 195 erase_info.length = 0; in erase_flash() 202 if (erase_info.length) { in erase_flash() 204 erase_info.start, erase_info.length); in erase_flash() 208 erase_info.start); in erase_flash() [all …]
|
/openbmc/hiomapd/mtd/ |
H A D | backend.c | 209 erase_info.start = offset; in mtd_erase() 211 erase_info.length += erase_size; in mtd_erase() 215 erase_info.start, erase_info.length); in mtd_erase() 219 erase_info.start); in mtd_erase() 224 erase_info.length, FLASH_ERASED); in mtd_erase() 225 erase_info.start = 0; in mtd_erase() 226 erase_info.length = 0; in mtd_erase() 233 if (erase_info.length) { in mtd_erase() 235 erase_info.length); in mtd_erase() 239 erase_info.start); in mtd_erase() [all …]
|
/openbmc/u-boot/include/ |
H A D | onenand_uboot.h | 22 struct erase_info; 38 extern int onenand_erase(struct mtd_info *mtd, struct erase_info *instr);
|
H A D | nand.h | 66 struct erase_info instr; in nand_erase()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | mtd.h | 45 struct erase_info { struct 54 void (*callback) (struct erase_info *self); argument 57 struct erase_info *next; argument 233 int (*_erase) (struct mtd_info *mtd, struct erase_info *instr); 400 int mtd_erase(struct mtd_info *mtd, struct erase_info *instr); 540 void mtd_erase_callback(struct erase_info *instr); 542 static inline void mtd_erase_callback(struct erase_info *instr) in mtd_erase_callback()
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | map_absent.c | 32 static int map_absent_erase (struct mtd_info *, struct erase_info *); 82 static int map_absent_erase(struct mtd_info *mtd, struct erase_info *instr) in map_absent_erase()
|
H A D | map_rom.c | 23 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info); 111 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info) in maprom_erase()
|
H A D | map_ram.c | 21 static int mapram_erase (struct mtd_info *, struct erase_info *); 124 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase()
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | mtd_test.c | 13 struct erase_info ei; in mtdtest_erase_eraseblock() 16 memset(&ei, 0, sizeof(struct erase_info)); in mtdtest_erase_eraseblock()
|
H A D | speedtest.c | 46 struct erase_info ei; in multiblock_erase() 49 memset(&ei, 0, sizeof(struct erase_info)); in multiblock_erase()
|
/openbmc/hiomapd/file/ |
H A D | backend.c | 127 struct erase_info_user erase_info = {0}; in file_erase() local 142 MSG_ERR("Couldn't erase flash at 0x%.8x\n", erase_info.start); in file_erase()
|
/openbmc/linux/include/linux/mtd/ |
H A D | nftl.h | 38 struct erase_info instr;
|
H A D | inftl.h | 47 struct erase_info instr;
|
H A D | mtd.h | 30 struct erase_info { struct 316 int (*_erase) (struct mtd_info *mtd, struct erase_info *instr); 499 int mtd_erase(struct mtd_info *mtd, struct erase_info *instr); 600 struct erase_info *req) in mtd_align_erase_req()
|
/openbmc/u-boot/env/ |
H A D | onenand.c | 75 struct erase_info instr = { in env_onenand_save()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdconcat.c | 338 static void concat_erase_callback(struct erase_info *instr) in concat_erase_callback() 346 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) in concat_dev_erase() 380 static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) in concat_erase() 386 struct erase_info *erase; in concat_erase() 436 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase()
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | slram.c | 76 static int slram_erase(struct mtd_info *, struct erase_info *); 83 static int slram_erase(struct mtd_info *mtd, struct erase_info *instr) in slram_erase()
|
H A D | mtdram.c | 56 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) in ram_erase()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sf_mtd.c | 16 static int spi_flash_mtd_erase(struct mtd_info *mtd, struct erase_info *instr) in spi_flash_mtd_erase()
|
H A D | sf_probe.c | 119 struct erase_info instr; in spi_flash_std_erase()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | mtd.c | 21 static int ef4_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in ef4_mtd_erase()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mtd.c | 21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in efx_mtd_erase()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mtd.c | 21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in efx_mtd_erase()
|
/openbmc/linux/drivers/mtd/ |
H A D | inftlmount.c | 196 struct erase_info *instr = &inftl->instr; in find_boot_record() 365 struct erase_info *instr = &inftl->instr; in INFTL_formatblock() 371 memset(instr, 0, sizeof(struct erase_info)); in INFTL_formatblock()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | internals.h | 86 int nand_erase_nand(struct nand_chip *chip, struct erase_info *instr,
|