Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/renesas/common/emmc/
Demmc_utility.c83 uint32_t index_top = (uint32_t) (15 - (top >> 3)); in emmc_bit_field() local
86 if (index_top == index_bottom) { in emmc_bit_field()
87 value = data[index_top]; in emmc_bit_field()
88 } else if ((index_top + 1) == index_bottom) { in emmc_bit_field()
90 (uint32_t) ((data[index_top] << 8) | data[index_bottom]); in emmc_bit_field()
91 } else if ((index_top + 2) == index_bottom) { in emmc_bit_field()
93 (uint32_t) ((data[index_top] << 16) | in emmc_bit_field()
94 (data[index_top + 1] << 8) | data[index_top + in emmc_bit_field()
98 (uint32_t) ((data[index_top] << 24) | in emmc_bit_field()
99 (data[index_top + 1] << 16) | in emmc_bit_field()
[all …]