• Home
  • Raw
  • Download

Lines Matching refs:part

19 	struct part_info	*part;  member
34 struct part_info **part, in fb_nand_lookup() argument
48 ret = find_dev_and_part(partname, &dev, &pnum, part); in fb_nand_lookup()
67 static int _fb_nand_erase(struct mtd_info *mtd, struct part_info *part) in _fb_nand_erase() argument
73 opts.offset = part->offset; in _fb_nand_erase()
74 opts.length = part->size; in _fb_nand_erase()
78 part->offset, part->offset + part->size); in _fb_nand_erase()
85 part->size, part->name); in _fb_nand_erase()
90 static int _fb_nand_write(struct mtd_info *mtd, struct part_info *part, in _fb_nand_write() argument
101 part->size - (offset - part->offset), in _fb_nand_write()
112 ret = _fb_nand_write(sparse->mtd, sparse->part, (void *)buffer, in fb_nand_sparse_write()
174 struct part_info *part; in fastboot_nand_flash_write() local
178 ret = fb_nand_lookup(cmd, &mtd, &part, response); in fastboot_nand_flash_write()
185 ret = board_fastboot_write_partition_setup(part->name); in fastboot_nand_flash_write()
194 sparse_priv.part = part; in fastboot_nand_flash_write()
197 sparse.start = part->offset / sparse.blksz; in fastboot_nand_flash_write()
198 sparse.size = part->size / sparse.blksz; in fastboot_nand_flash_write()
213 part->offset); in fastboot_nand_flash_write()
215 ret = _fb_nand_write(mtd, part, download_buffer, part->offset, in fastboot_nand_flash_write()
219 download_bytes, part->name); in fastboot_nand_flash_write()
238 struct part_info *part; in fastboot_nand_erase() local
242 ret = fb_nand_lookup(cmd, &mtd, &part, response); in fastboot_nand_erase()
249 ret = board_fastboot_erase_partition_setup(part->name); in fastboot_nand_erase()
253 ret = _fb_nand_erase(mtd, part); in fastboot_nand_erase()