Searched refs:bootloader_control (Results 1 – 5 of 5) sorted by relevance
/hardware/ti/am57x/bootctrl/ |
D | boot_control.cc | 46 sizeof(bootloader_control::slot_info) / 47 sizeof(bootloader_control::slot_info[0]); 53 static uint32_t GetBootloaderControlCRC(const bootloader_control* boot_ctrl) { in GetBootloaderControlCRC() 55 offsetof(bootloader_control, crc32_le)); in GetBootloaderControlCRC() 59 bootloader_control* boot_ctrl) { in LoadBootloaderControl() 70 bootloader_control* boot_ctrl) { in SaveBootloaderControl() 123 bootloader_control boot_ctrl; in BootControlInit() 184 bootloader_control bootctrl; in IsSlotMarkedSuccessful() 198 bootloader_control bootctrl; in MarkBootSuccessful() 228 bootloader_control bootctrl; in SetActiveBootSlot() [all …]
|
D | bootloader_message.h | 154 struct bootloader_control { struct 177 static_assert(sizeof(struct bootloader_control) == argument 200 bool read_bootloader_control_from(bootloader_control* boot_ctrl, const std::string& misc_blk_device, 215 bool write_bootloader_control_to(const bootloader_control* boot_ctrl, const std::string& misc_blk_d…
|
D | bootloader_message.cpp | 146 bool read_bootloader_control_from(bootloader_control* boot_ctrl, const std::string& misc_blk_device, in read_bootloader_control_from() 148 return read_misc_partition(boot_ctrl, sizeof(bootloader_control), misc_blk_device, in read_bootloader_control_from() 166 bool write_bootloader_control_to(const bootloader_control* boot_ctrl, const std::string& misc_blk_d… in write_bootloader_control_to() 168 return write_misc_partition(boot_ctrl, sizeof(bootloader_control), misc_blk_device, in write_bootloader_control_to()
|
/hardware/interfaces/boot/1.1/default/boot_control/ |
D | libboot_control.cpp | 46 sizeof(bootloader_control::slot_info) / sizeof(bootloader_control::slot_info[0]); 75 uint32_t BootloaderControlLECRC(const bootloader_control* boot_ctrl) { in BootloaderControlLECRC() 77 CRC32(reinterpret_cast<const uint8_t*>(boot_ctrl), offsetof(bootloader_control, crc32_le))); in BootloaderControlLECRC() 80 bool LoadBootloaderControl(const std::string& misc_device, bootloader_control* buffer) { in LoadBootloaderControl() 90 if (!android::base::ReadFully(fd.get(), buffer, sizeof(bootloader_control))) { in LoadBootloaderControl() 97 bool UpdateAndSaveBootloaderControl(const std::string& misc_device, bootloader_control* buffer) { in UpdateAndSaveBootloaderControl() 108 if (!android::base::WriteFully(fd.get(), buffer, sizeof(bootloader_control))) { in UpdateAndSaveBootloaderControl() 115 void InitDefaultBootloaderControl(BootControl* control, bootloader_control* boot_ctrl) { in InitDefaultBootloaderControl() 215 bootloader_control boot_ctrl; in Init() 253 bootloader_control bootctrl; in MarkBootSuccessful() [all …]
|
/hardware/interfaces/boot/1.1/default/boot_control/include/private/ |
D | boot_control_definition.h | 82 struct bootloader_control { struct 107 static_assert(sizeof(struct bootloader_control) == argument
|