Home
last modified time | relevance | path

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

/device/amlogic/yukawa/hal/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 …]