Searched refs:boot_control_module (Results 1 – 3 of 3) sorted by relevance
/hardware/libhardware/include/hardware/ |
D | boot_control.h | 50 typedef struct boot_control_module { struct 57 void (*init)(struct boot_control_module *module); argument 64 unsigned (*getNumberSlots)(struct boot_control_module *module); argument 76 unsigned (*getCurrentSlot)(struct boot_control_module *module); argument 84 int (*markBootSuccessful)(struct boot_control_module *module); argument 93 int (*setActiveBootSlot)(struct boot_control_module *module, unsigned slot); argument 101 int (*setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot); argument 110 int (*isSlotBootable)(struct boot_control_module *module, unsigned slot); argument 118 const char* (*getSuffix)(struct boot_control_module *module, unsigned slot); argument 126 int (*isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot); argument
|
/hardware/qcom/bootctrl/ |
D | boot_control.cpp | 79 void boot_control_init(struct boot_control_module *module) in boot_control_init() 250 unsigned get_number_slots(struct boot_control_module *module) in get_number_slots() 283 unsigned get_current_slot(struct boot_control_module *module) in get_current_slot() 318 static int boot_control_check_slot_sanity(struct boot_control_module *module, in boot_control_check_slot_sanity() 332 int mark_boot_successful(struct boot_control_module *module) in mark_boot_successful() 350 const char *get_suffix(struct boot_control_module *module, unsigned slot) in get_suffix() 521 int set_active_boot_slot(struct boot_control_module *module, unsigned slot) in set_active_boot_slot() 594 int set_slot_as_unbootable(struct boot_control_module *module, unsigned slot) in set_slot_as_unbootable() 610 int is_slot_bootable(struct boot_control_module *module, unsigned slot) in is_slot_bootable() 629 int is_slot_marked_successful(struct boot_control_module *module, unsigned slot) in is_slot_marked_successful()
|
/hardware/ti/am57x/bootctrl/ |
D | boot_control.cc | 291 int IsSlotBootable(struct boot_control_module* module, unsigned int slot) { in IsSlotBootable()
|