Home
last modified time | relevance | path

Searched refs:erase_info (Results 1 – 25 of 82) sorted by relevance

1234

/openbmc/phosphor-mboxd/
H A Dmboxd_flash.c177 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 Dbackend.c209 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 Donenand_uboot.h22 struct erase_info;
38 extern int onenand_erase(struct mtd_info *mtd, struct erase_info *instr);
H A Dnand.h66 struct erase_info instr; in nand_erase()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h45 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 Dmap_absent.c32 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 Dmap_rom.c23 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 Dmap_ram.c21 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 Dmtd_test.c13 struct erase_info ei; in mtdtest_erase_eraseblock()
16 memset(&ei, 0, sizeof(struct erase_info)); in mtdtest_erase_eraseblock()
H A Dspeedtest.c46 struct erase_info ei; in multiblock_erase()
49 memset(&ei, 0, sizeof(struct erase_info)); in multiblock_erase()
/openbmc/hiomapd/file/
H A Dbackend.c127 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 Dnftl.h38 struct erase_info instr;
H A Dinftl.h47 struct erase_info instr;
H A Dmtd.h30 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 Donenand.c75 struct erase_info instr = { in env_onenand_save()
/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c338 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 Dslram.c76 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 Dmtdram.c56 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) in ram_erase()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf_mtd.c16 static int spi_flash_mtd_erase(struct mtd_info *mtd, struct erase_info *instr) in spi_flash_mtd_erase()
H A Dsf_probe.c119 struct erase_info instr; in spi_flash_std_erase()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dmtd.c21 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 Dmtd.c21 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 Dmtd.c21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in efx_mtd_erase()
/openbmc/linux/drivers/mtd/
H A Dinftlmount.c196 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 Dinternals.h86 int nand_erase_nand(struct nand_chip *chip, struct erase_info *instr,

1234