Searched refs:boot_control_module (Results 1 – 2 of 2) 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() 281 unsigned get_current_slot(struct boot_control_module *module) in get_current_slot() 316 static int boot_control_check_slot_sanity(struct boot_control_module *module, in boot_control_check_slot_sanity() 330 int mark_boot_successful(struct boot_control_module *module) in mark_boot_successful() 348 const char *get_suffix(struct boot_control_module *module, unsigned slot) in get_suffix() 519 int set_active_boot_slot(struct boot_control_module *module, unsigned slot) in set_active_boot_slot() 590 int set_slot_as_unbootable(struct boot_control_module *module, unsigned slot) in set_slot_as_unbootable() 606 int is_slot_bootable(struct boot_control_module *module, unsigned slot) in is_slot_bootable() 625 int is_slot_marked_successful(struct boot_control_module *module, unsigned slot) in is_slot_marked_successful()
|