Home
last modified time | relevance | path

Searched refs:diff_head_read (Results 1 - 3 of 3) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/efuse/
H A Defuse.c18 hi_u32 efuse_start_addr_unaligned_read(hi_u16 start_bit, hi_u16 size, hi_u8 diff_head_read, hi_u8 *data) in efuse_start_addr_unaligned_read() argument
25 data[0] = data[0] >> diff_head_read; in efuse_start_addr_unaligned_read()
32 tmp_data = tmp_data >> diff_head_read; in efuse_start_addr_unaligned_read()
44 tmp_data = tmp_data >> diff_head_read; in efuse_start_addr_unaligned_read()
60 data_u32[0] = data_u32[0] >> diff_head_read; in efuse_start_addr_unaligned_read()
61 data_u32[0] = data_u32[0] | (data_u32[1] << (SIZE_32_BITS - diff_head_read)); in efuse_start_addr_unaligned_read()
62 data_u32[1] = data_u32[1] >> diff_head_read; in efuse_start_addr_unaligned_read()
63 data_u32[1] = data_u32[1] | ((hi_u32)end_u8 << (SIZE_32_BITS - diff_head_read)); in efuse_start_addr_unaligned_read()
74 hi_u8 diff_head_read = 0; in efuse_bits_read() local
83 diff_head_read in efuse_bits_read()
211 hi_u8 diff_head_read; hi_efuse_get_lockstat() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/efuse/
H A Defuse.c19 hi_u32 efuse_start_addr_unaligned_read(hi_u16 start_bit, hi_u16 size, hi_u8 diff_head_read, hi_u8 *data) in efuse_start_addr_unaligned_read() argument
27 data[0] = data[0] >> diff_head_read; in efuse_start_addr_unaligned_read()
33 tmp_data = tmp_data >> diff_head_read; in efuse_start_addr_unaligned_read()
44 tmp_data = tmp_data >> diff_head_read; in efuse_start_addr_unaligned_read()
59 data_u32[0] = data_u32[0] >> diff_head_read; in efuse_start_addr_unaligned_read()
60 data_u32[0] = data_u32[0] | (data_u32[1] << (SIZE_32_BITS - diff_head_read)); in efuse_start_addr_unaligned_read()
61 data_u32[1] = data_u32[1] >> diff_head_read; in efuse_start_addr_unaligned_read()
62 data_u32[1] = data_u32[1] | ((hi_u32)end_u8 << (SIZE_32_BITS - diff_head_read)); in efuse_start_addr_unaligned_read()
71 hi_u8 diff_head_read = 0; in efuse_bits_read() local
80 diff_head_read in efuse_bits_read()
210 hi_u8 diff_head_read; hi_efuse_get_lockstat() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_demo_efuse.c56 hi_u8 diff_head_read = start_bit % 8; /* The start address is read in 8-bit alignment mode. */ in efuse_usr_read() local
57 start_bit = start_bit - diff_head_read; in efuse_usr_read()
58 align_size = (((rw_bits + diff_head_read) >> 3) + 1) << 3; /* 3-bit offset */ in efuse_usr_read()
68 /* The lower bits of the first u64 multi-read are discarded.(The diff_head_read) */ in efuse_usr_read()
69 first_u64 = first_u64 >> diff_head_read; in efuse_usr_read()
71 * The least significant eight bits of tmp_data are shifted leftward by 64-diff_head_read bits in efuse_usr_read()
72 * as the most significant 64 bits of tmp_data.diff_head_read) in efuse_usr_read()
74 first_u64 = first_u64 | ((hi_u64)second_u8 << (64 - diff_head_read)); /* (64 - diff_head_read)bits */ in efuse_usr_read()

Completed in 2 milliseconds