Searched refs:elem_bits (Results 1 – 1 of 1) sorted by relevance
83 hive_uint elem_bits, in hive_sim_wide_unpack() argument87 unsigned int start_elem = (elem_bits * index) / uedge_bits; in hive_sim_wide_unpack()88 unsigned int start_bit = (elem_bits * index) % uedge_bits; in hive_sim_wide_unpack()89 unsigned int end_elem = (elem_bits * (index + 1) - 1) / uedge_bits; in hive_sim_wide_unpack()90 unsigned int end_bit = ((elem_bits * (index + 1) - 1) % uedge_bits) + 1; in hive_sim_wide_unpack()92 if (elem_bits == uedge_bits) { in hive_sim_wide_unpack()117 hive_uint elem_bits, in hive_sim_wide_pack() argument121 unsigned int start_elem = (elem_bits * index) / uedge_bits; in hive_sim_wide_pack()124 if (elem_bits == uedge_bits) { in hive_sim_wide_pack()126 } else if (elem_bits > uedge_bits) { in hive_sim_wide_pack()[all …]