/aosp_15_r20/external/flashrom/tests/ |
H A D | spi25.c | 70 static void spi_read_progress_cb(struct flashrom_flashctx *flashctx) in spi_read_progress_cb() 110 struct flashctx flashctx = { in spi_read_chunked_test_success() local 134 struct flashctx flashctx = { .chip = &mock_chip }; in spi_write_enable_test_success() local 149 struct flashctx flashctx = { .chip = &mock_chip }; in spi_write_disable_test_success() local 164 struct flashctx flashctx = { .chip = &mock_chip }; in probe_spi_rdid_test_success() local 179 struct flashctx flashctx = { .chip = &mock_chip }; in probe_spi_rdid4_test_success() local 194 struct flashctx flashctx = { .chip = &mock_chip }; in probe_spi_rems_test_success() local 209 struct flashctx flashctx = { .chip = &mock_chip }; in probe_spi_res1_test_success() local 225 struct flashctx flashctx = { .chip = &mock_chip }; in probe_spi_res2_test_success() local 240 struct flashctx flashctx = { .chip = &mock_chip }; in probe_spi_res3_test_success() local [all …]
|
H A D | chip.c | 79 static void setup_chip(struct flashrom_flashctx *flashctx, struct flashrom_layout **layout, in setup_chip() 203 struct flashrom_flashctx flashctx = { 0 }; in erase_chip_test_success() local 229 struct flashrom_flashctx flashctx = { 0 }; in erase_chip_with_dummyflasher_test_success() local 262 struct flashrom_flashctx flashctx = { 0 }; in read_chip_test_success() local 296 struct flashrom_flashctx flashctx = { 0 }; in read_chip_with_dummyflasher_test_success() local 337 struct flashrom_flashctx flashctx = { 0 }; in write_chip_test_success() local 384 struct flashrom_flashctx flashctx = { 0 }; in write_chip_with_dummyflasher_test_success() local 423 struct flashrom_flashctx flashctx = { 0 }; in write_chip_feature_no_erase() local 465 struct flashrom_flashctx flashctx = { 0 }; in write_nonaligned_region_with_dummyflasher_test_success() local 570 struct flashrom_flashctx flashctx = { 0 }; in verify_chip_test_success() local [all …]
|
H A D | lifecycle.c | 22 struct flashrom_flashctx *flashctx; in probe_chip() local
|
/aosp_15_r20/external/flashrom/ |
H A D | libflashrom.c | 67 void flashrom_set_progress_callback(struct flashrom_flashctx *flashctx, flashrom_progress_callback … in flashrom_set_progress_callback() 73 void update_progress(struct flashrom_flashctx *flashctx, enum flashrom_progress_stage stage, size_t… in update_progress() 218 int flashrom_flash_probe(struct flashrom_flashctx **const flashctx, in flashrom_flash_probe() 250 size_t flashrom_flash_getsize(const struct flashrom_flashctx *const flashctx) in flashrom_flash_getsize() 255 void flashrom_flash_getinfo(const struct flashrom_flashctx *const flashctx, struct flashrom_flashch… in flashrom_flash_getinfo() 272 void flashrom_flash_release(struct flashrom_flashctx *const flashctx) in flashrom_flash_release() 282 void flashrom_flag_set(struct flashrom_flashctx *const flashctx, in flashrom_flag_set() 295 bool flashrom_flag_get(const struct flashrom_flashctx *const flashctx, const enum flashrom_flag fla… in flashrom_flag_get() 308 …ashrom_layout_read_from_ifd(struct flashrom_layout **const layout, struct flashctx *const flashctx, in flashrom_layout_read_from_ifd() 372 struct flashctx *const flashctx, const struct fmap *const fmap) in flashrom_layout_parse_fmap() [all …]
|
H A D | flashrom.c | 1330 static int read_by_layout(struct flashctx *const flashctx, uint8_t *const buffer, in read_by_layout() 1453 static int walk_eraseblocks(struct flashctx *const flashctx, in walk_eraseblocks() 1495 static int walk_by_layout(struct flashctx *const flashctx, struct walk_info *const info, in walk_by_layout() 1548 static int erase_block(struct flashctx *const flashctx, in erase_block() 1665 static int erase_by_layout_legacy(struct flashctx *const flashctx) in erase_by_layout_legacy() 1672 static int erase_by_layout_new(struct flashctx *const flashctx) in erase_by_layout_new() 1715 static int erase_by_layout(struct flashctx *const flashctx) in erase_by_layout() 1722 static int read_erase_write_block(struct flashctx *const flashctx, in read_erase_write_block() 1830 static int write_by_layout_legacy(struct flashctx *const flashctx, in write_by_layout_legacy() 2004 static int write_by_layout_new(struct flashctx *const flashctx, in write_by_layout_new() [all …]
|
H A D | erasure_layout.c | 92 int create_erase_layout(struct flashctx *const flashctx, struct erase_layout **e_layout) in create_erase_layout() 159 static void align_region(const struct erase_layout *layout, struct flashctx *const flashctx, in align_region() 225 static void select_erase_functions(struct flashctx *flashctx, const struct erase_layout *layout, in select_erase_functions() 281 int erase_write(struct flashctx *const flashctx, chipoff_t region_start, chipoff_t region_end, in erase_write()
|
H A D | fmap.c | 153 struct flashctx *const flashctx, size_t rom_offset, size_t len) in fmap_lsearch_rom() 183 static int fmap_bsearch_rom(struct fmap **fmap_out, struct flashctx *const flashctx, in fmap_bsearch_rom() 312 struct flashctx *const flashctx, size_t rom_offset, size_t len) in fmap_read_from_rom()
|
H A D | layout.c | 38 const struct flashrom_layout *get_default_layout(const struct flashrom_flashctx *const flashctx) in get_default_layout() 43 const struct flashrom_layout *get_layout(const struct flashrom_flashctx *const flashctx) in get_layout()
|
H A D | action_descriptor.h | 35 #define flashctx flashrom_flashctx /* TODO: Agree on a name and convert all occurences. */ macro
|
H A D | cli_output.c | 78 void flashrom_progress_cb(struct flashrom_flashctx *flashctx) in flashrom_progress_cb()
|
H A D | cli_classic.c | 429 struct flashrom_flashctx *flashctx, const char *fmapfile) in flashrom_layout_read_fmap_from_file()
|
/aosp_15_r20/external/vboot_reference/host/lib/ |
H A D | flashrom_drv.c | 70 struct flashrom_flashctx *flashctx = NULL; in flashrom_read_image_impl() local 178 struct flashrom_flashctx *flashctx = NULL; in flashrom_write_image() local 272 struct flashrom_flashctx *flashctx = NULL; in flashrom_get_wp() local 332 struct flashrom_flashctx *flashctx = NULL; in flashrom_set_wp() local 392 struct flashrom_flashctx *flashctx = NULL; in flashrom_get_info() local 437 struct flashrom_flashctx *flashctx = NULL; in flashrom_get_size() local
|
/aosp_15_r20/external/flashrom/include/ |
H A D | flash.h | 201 #define flashctx flashrom_flashctx /* TODO: Agree on a name and convert all occurrences. */ macro
|