Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dvmem.c83 hive_uint elem_bits, in hive_sim_wide_unpack() argument
87 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()
92 if (elem_bits == uedge_bits) { in hive_sim_wide_unpack()
117 hive_uint elem_bits, in hive_sim_wide_pack() argument
121 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()
127 unsigned int bits_to_write = elem_bits; in hive_sim_wide_pack()
128 unsigned int start_bit = elem_bits * index; in hive_sim_wide_pack()
[all …]