Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/wpa_supplicant/src/utils/
Dbitfield.c17 size_t max_bits; member
21 struct bitfield * bitfield_alloc(size_t max_bits) in bitfield_alloc() argument
25 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()
Dbitfield.h14 struct bitfield * bitfield_alloc(size_t max_bits);
/hal_espressif-3.4.0/components/efuse/
Defuse_table_gen.py418 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…
/hal_espressif-3.4.0/components/efuse/test/
Dtest_efuse.c215 int max_bits = esp_efuse_get_field_size(ESP_EFUSE_TEST4_LEN_182); in test_write_cnt() local
218 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) {