Searched refs:max_bits (Results 1 – 4 of 4) sorted by relevance
17 size_t max_bits; member21 struct bitfield * bitfield_alloc(size_t max_bits) in bitfield_alloc() argument25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc()29 bf->max_bits = max_bits; in bitfield_alloc()42 if (bit >= bf->max_bits) in bitfield_set()50 if (bit >= bf->max_bits) in bitfield_clear()58 if (bit >= bf->max_bits) in bitfield_is_set()79 for (i = 0; i < (bf->max_bits + 7) / 8; i++) { in bitfield_get_first_zero()83 if (i == (bf->max_bits + 7) / 8) in bitfield_get_first_zero()86 if (i >= bf->max_bits) in bitfield_get_first_zero()
14 struct bitfield * bitfield_alloc(size_t max_bits);
418 max_bits = self.get_max_bits_of_block()419 if self.bit_start + self.bit_count > max_bits:420 …'The field is outside the boundaries(max_bits = %d) of the %s block' % (max_bits, self.efuse_block…
215 int max_bits = esp_efuse_get_field_size(ESP_EFUSE_TEST4_LEN_182); in test_write_cnt() local218 for (int i = 0; i < max_bits / 26; ++i) { in test_write_cnt()934 int max_bits = esp_efuse_get_field_size(ESP_EFUSE_SECURE_VERSION);937 for (int i = 0; i < max_bits; ++i) {