Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/efuse/src/
Desp_efuse_utility.c36 static int get_reg_num(int bit_start, int bit_count, int i_reg);
38 static uint32_t get_mask(unsigned int bit_count, unsigned int shift);
39 static int get_count_bits_in_reg(int bit_start, int bit_count, int i_reg);
57 …if (check_range_of_bits(field[i]->efuse_block, field[i]->bit_start, field[i]->bit_count) == false)… in esp_efuse_utility_process()
64 (num_reg = get_reg_num(field[i]->bit_start, field[i]->bit_count, i_reg)) != -1) { in esp_efuse_utility_process()
67 int num_bits = get_count_bits_in_reg(field[i]->bit_start, field[i]->bit_count, i_reg); in esp_efuse_utility_process()
84 …unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, void* arr_out, … in esp_efuse_utility_fill_buff() argument
88 uint64_t reg_of_aligned_bits = (reg >> bit_start) & get_mask(bit_count, 0); in esp_efuse_utility_fill_buff()
93 shift_bit = ((8 - shift_bit) < bit_count) ? (8 - shift_bit) : bit_count; in esp_efuse_utility_fill_buff()
95 bit_count -= shift_bit; in esp_efuse_utility_fill_buff()
[all …]
Desp_efuse_api.c144 if (field == NULL || field[0]->bit_count != 1) { in esp_efuse_write_field_bit()
164 bits_counter += field[i]->bit_count; in esp_efuse_get_field_size()
401 … esp_efuse_read_field_blob(s_table[idx].keypurpose, &value, s_table[idx].keypurpose[0]->bit_count); in esp_efuse_get_key_purpose()
414 …p_efuse_write_field_blob(s_table[idx].keypurpose, &purpose, s_table[idx].keypurpose[0]->bit_count); in esp_efuse_set_key_purpose()
/device/soc/esp/esp32/components/efuse/
Defuse_table_gen.py98 last_end = e.bit_start + e.bit_count
143 (p.field_name, p.efuse_block, p.bit_start, p.bit_count))
156 …s not None and last.efuse_block == p.efuse_block and p.bit_start < last.bit_start + last.bit_count:
158 (p.field_name, p.efuse_block, p.bit_start, p.bit_count,
159 … last.field_name, last.efuse_block, last.bit_start, last.bit_count))
175 … \t{2} \t{3:^8} \t{4:^8}'.format(num, p.field_name, p.efuse_block, p.bit_start, p.bit_count) + '\n'
185 … rows += '%d] \n\n%s \n[%d ' % (last.bit_start + last.bit_count - 1, p.efuse_block, p.bit_start)
186 elif last.bit_start + last.bit_count != p.bit_start:
187 rows += '%d] [%d ' % (last.bit_start + last.bit_count - 1, p.bit_start)
189 rows += '%d] \n' % (last.bit_start + last.bit_count - 1)
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/lcd_fb/
Dlogo.c74 if (bmp_header->bit_count == 24) in bmp_to_fb()
83 BppBmp = bmp_header->bit_count >> 3; in bmp_to_fb()
93 if (info->var.bits_per_pixel == bmp_header->bit_count) { in bmp_to_fb()
98 bmp_header->bit_count == 24) { in bmp_to_fb()
104 bmp_header->bit_count >= 24) { in bmp_to_fb()
127 if (info->var.bits_per_pixel == bmp_header->bit_count) { in bmp_to_fb()
132 bmp_header->bit_count == 24) { in bmp_to_fb()
138 bmp_header->bit_count >= 24) { in bmp_to_fb()
229 bmp_bpix = bmp_header->bit_count / 8; in Fb_map_kernel_logo()
Dlogo.h37 u16 bit_count; member
57 u16 bit_count; member
/device/soc/esp/esp32/components/efuse/private_include/
Desp_efuse_utility.h79 …unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, void* cnt, int*…
85 …unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, void* arr_in, i…
91 …unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, void* out_cnt, …
97 …unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, void* arr_out, …
/device/soc/esp/esp32/components/bootloader_support/src/
Dflash_encrypt.c53 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_flash_encryption_init_checks()
54 if (flash_crypt_cnt == (1<<(CRYPT_CNT[0]->bit_count))-1) { in esp_flash_encryption_init_checks()
109 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_get_flash_encryption_mode()
110 if (flash_crypt_cnt == (1 << (CRYPT_CNT[0]->bit_count)) - 1) { in esp_get_flash_encryption_mode()
/device/soc/esp/esp32/components/bootloader_support/src/esp32/
Dbootloader_sha.c109 uint32_t bit_count = __builtin_bswap32( data_words * 32 ); in bootloader_sha256_finish() local
110 bootloader_sha256_data(handle, &bit_count, sizeof(bit_count)); in bootloader_sha256_finish()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/
Daml_mjpeg_parser.c128 int bit_count = 0; in ff_mjpeg_find_marker() local
144 bit_count = t * 8; in ff_mjpeg_find_marker()
158 bit_count--; in ff_mjpeg_find_marker()
164 *unescaped_buf_size = (bit_count + 7) >> 3; in ff_mjpeg_find_marker()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_bootlogo.c311 bootlogo->bpp = header->bit_count; in sunxi_drm_get_bootlogoinfo_from_bmp_header()
312 bootlogo->stride = header->width * (header->bit_count / 8); in sunxi_drm_get_bootlogoinfo_from_bmp_header()
339 bytes_per_pixel = tmp_header->bit_count / 8; in sunxi_drm_parse_bmp_header()
341 DRM_ERROR("error bmp bit counts per pixel:%d\n", tmp_header->bit_count); in sunxi_drm_parse_bmp_header()
Dsunxi_drm_bootlogo.h38 u16 bit_count; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/
Ddev_disp.h222 u16 bit_count; member
243 u16 bit_count; member
Ddev_fb.c1664 bmp_bpix = bmp_header.bit_count / 8; in lzma_decode()
1680 bmp_info.bit = bmp_header.bit_count; in lzma_decode()
1833 bmp_bpix = bmp_header->bit_count / 8; in Fb_map_kernel_logo()
1858 bmp_info->bit = bmp_header->bit_count; in Fb_map_kernel_logo()
Ddev_disp.c1104 bmp_header.bit_count = 32; in disp_capture_dump_store()
/device/soc/esp/esp32/components/efuse/include/
Desp_efuse.h49 uint16_t bit_count; /**< Length of bit field [1..-]*/ member
/device/soc/esp/esp32/components/efuse/esp32/
Desp_efuse_table.csv1 # field_name, | efuse_block, | bit_start, | bit_count, |comment #