Home
last modified time | relevance | path

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

/hardware/ti/am57x/bootctrl/
Dboot_control.cc39 unsigned int num_slots; member
147 bootctrl_module->num_slots = boot_ctrl.nb_slot; in BootControlInit()
150 bootctrl_module->current_slot, bootctrl_module->num_slots); in BootControlInit()
161 return bootctrl_module->num_slots; in GetNumberSlots()
179 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in IsSlotMarkedSuccessful()
223 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in SetActiveBootSlot()
235 for (unsigned int i = 0; i < bootctrl_module->num_slots; ++i) { in SetActiveBootSlot()
270 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in SetSlotAsUnbootable()
297 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) { in IsSlotBootable()
315 if (slot >= kMaxNumSlots || slot >= bootctrl_module->num_slots) return NULL; in GetSuffix()
[all …]
/hardware/qcom/bootctrl/
Dboot_control.cpp304 uint32_t num_slots = 0; in get_current_slot() local
311 num_slots = get_number_slots(module); in get_current_slot()
312 if (num_slots <= 1) { in get_current_slot()
338 uint32_t num_slots = get_number_slots(module); in boot_control_check_slot_sanity() local
339 if ((num_slots < 1) || (slot > num_slots - 1)) { in boot_control_check_slot_sanity()
552 uint32_t num_slots = get_number_slots(module); in get_active_boot_slot() local
553 if (num_slots <= 1) { in get_active_boot_slot()
558 for (uint32_t i = 0; i < num_slots; i++) { in get_active_boot_slot()