HomeSort by relevance Sort by last modified time
    Searched refs:flash_device (Results 1 - 9 of 9) sorted by null

  /device/google/dragon/recovery/updater/
vboot_interface.h 30 off_t fmap_scan_offset(struct flash_device *dev, off_t end);
31 struct fmap *fmap_load(struct flash_device *dev, off_t offset);
32 void *fmap_read_section(struct flash_device *dev,
34 int fmap_get_section_offset(struct flash_device *dev, const char *name,
37 uint8_t *gbb_get_rootkey(struct flash_device *dev, size_t *size);
54 int vbnv_set_flag(struct flash_device *spi, const char *param, uint8_t value);
55 int vbnv_get_flag(struct flash_device *spi, const char *param, uint8_t *value);
flash_device.h 40 struct flash_device;
42 struct flash_device *flash_open(const char *name, const void *params);
43 void flash_close(struct flash_device *dev);
44 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len);
45 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len);
46 int flash_erase(struct flash_device *dev, off_t off, size_t len);
47 size_t flash_get_size(struct flash_device *dev);
48 int flash_cmd(struct flash_device *dev, int cmd, int ver,
51 struct fmap *flash_get_fmap(struct flash_device *dev);
52 uint8_t *flash_get_gbb(struct flash_device *dev, size_t *size)
    [all...]
flash_device.c 26 #include "flash_device.h"
37 struct flash_device { struct
48 struct flash_device *flash_open(const char *name, const void *params)
51 struct flash_device *dev;
63 dev = calloc(1, sizeof(struct flash_device));
87 void flash_close(struct flash_device *dev)
97 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len)
102 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len)
112 int flash_erase(struct flash_device *dev, off_t off, size_t len)
123 size_t flash_get_size(struct flash_device *dev
    [all...]
update_fw.cpp 26 #include "flash_device.h"
31 int check_compatible_keys(struct flash_device *img, struct flash_device *spi)
52 static int update_partition(struct flash_device *src, struct flash_device *dst,
83 static int update_recovery_fw(struct flash_device *spi, struct flash_device *ec,
84 struct flash_device *img, Value *ec_file)
115 static int update_rw_fw(struct flash_device *spi, struct flash_device *img
    [all...]
Android.mk 9 LOCAL_SRC_FILES := flash_ec.c flash_mtd.c flash_device.c vboot_interface.c flash_file.cpp recovery_updater.cpp update_fw.cpp
20 LOCAL_SRC_FILES := flash_ec.c flash_mtd.c flash_device.c vboot_interface.c flash_file.cpp recovery_ui.cpp update_fw.cpp
31 LOCAL_SRC_FILES := flash_ec.c flash_mtd.c flash_device.c vboot_interface.c debug_ec.c flash_file.cpp fwtool.cpp update_fw.cpp
fwtool.cpp 28 #include "flash_device.h"
53 static void dump_fmap(struct flash_device *dev)
74 static void dump_section(struct flash_device *dev, const char *name)
92 struct flash_device* dev = reinterpret_cast<struct flash_device*>(spi);
153 if (vbnv_get_flag(reinterpret_cast<struct flash_device*>(spi), argv[1], &val) == 0)
172 vbnv_set_flag(reinterpret_cast<struct flash_device*>(spi), argv[1], val);
208 struct flash_device* dev = reinterpret_cast<struct flash_device*>(spi);
288 vbnv_set_flag(reinterpret_cast<struct flash_device*>(spi), "boot_result"
    [all...]
recovery_ui.cpp 35 #include "flash_device.h"
51 struct flash_device *spi = flash_open("spi", NULL);
vboot_interface.c 28 #include "flash_device.h"
123 off_t fmap_scan_offset(struct flash_device *dev, off_t end)
145 struct fmap *fmap_load(struct flash_device *dev, off_t offset)
177 int fmap_get_section_offset(struct flash_device *dev, const char *name,
203 void *fmap_read_section(struct flash_device *dev,
247 uint8_t *gbb_get_rootkey(struct flash_device *dev, size_t *size)
404 int vbnv_readwrite(struct flash_device *spi, const vbnv_param_t *param,
493 int vbnv_set_flag(struct flash_device *spi, const char *param, uint8_t value)
510 int vbnv_get_flag(struct flash_device *spi, const char *param, uint8_t *value)
  /development/tools/labpretest/
labpretest.sh 410 flash_device() function
529 flash_device

Completed in 352 milliseconds