Home
last modified time | relevance | path

Searched refs:abc_offset (Results 1 – 1 of 1) sorted by relevance

/u-boot/common/
A Dandroid_ab.c90 ulong abc_offset, abc_blocks, ret; in ab_control_create_from_disk() local
92 abc_offset = offsetof(struct bootloader_message_ab, slot_suffix); in ab_control_create_from_disk()
93 if (abc_offset % part_info->blksz) { in ab_control_create_from_disk()
97 abc_offset /= part_info->blksz; in ab_control_create_from_disk()
101 if (abc_offset + abc_blocks > part_info->size) { in ab_control_create_from_disk()
104 abc_offset + abc_blocks, part_info->size); in ab_control_create_from_disk()
111 ret = blk_dread(dev_desc, part_info->start + abc_offset, abc_blocks, in ab_control_create_from_disk()
140 ulong abc_offset, abc_blocks, ret; in ab_control_store() local
142 abc_offset = offsetof(struct bootloader_message_ab, slot_suffix) / in ab_control_store()
146 ret = blk_dwrite(dev_desc, part_info->start + abc_offset, abc_blocks, in ab_control_store()

Completed in 2 milliseconds