Lines Matching refs:u8
31 const MAX_SLOTS: u8 = 4;
62 const DEFAULT_PRIORITY: u8 = 7;
63 const DEFAULT_RETRIES: u8 = 7;
86 fn priority(&self) -> u8 { in priority() argument
89 fn set_priority(&mut self, priority: u8) { in set_priority() argument
93 fn tries(&self) -> u8 { in tries() argument
96 fn set_tries(&mut self, tries: u8) { in set_tries() argument
101 get_field::<_, u8>(self.0, Self::SUCCESSFUL_OFFSET, Self::SUCCESSFUL_MASK) != 0 in successful()
108 get_field::<_, u8>(self.0, Self::VERITY_CORRUPTED_OFFSET, Self::VERITY_CORRUPTED_MASK) != 0 in verity_corrupted()
148 fn nb_slots(&self) -> u8 { in nb_slots() argument
151 fn set_nb_slots(&mut self, nb_slots: u8) { in set_nb_slots() argument
160 fn recovery_tries(&self) -> u8 { in recovery_tries() argument
163 fn set_recovery_tries(&mut self, recovery_tries: u8) { in set_recovery_tries() argument
172 fn merge_status(&self) -> u8 { in merge_status() argument
175 fn set_merge_status(&mut self, merge_status: u8) { in set_merge_status() argument
182 const BOOT_CTRL_VERSION: u8 = 1;
196 slot_suffix: [u8; 4],
198 version: u8,
200 reserved0: [u8; 1],
202 reserved1: [u8; 8],
446 let buffer: [u8; 0] = Default::default(); in test_slot_block_parse_buffer_too_small()