Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_kvdl.c47 unsigned int indexes_per_usage_bit; member
97 bit_count = DIV_ROUND_UP(size, part->indexes_per_usage_bit); in mlxsw_sp2_kvdl_part_alloc()
103 *p_kvdl_index = bit * part->indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_alloc()
139 bit_count = DIV_ROUND_UP(size, part->indexes_per_usage_bit); in mlxsw_sp2_kvdl_part_free()
140 bit = kvdl_index / part->indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_free()
183 unsigned int indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_init() local
203 indexes_per_usage_bit = index_range / usage_bit_count; in mlxsw_sp2_kvdl_part_init()
211 part->indexes_per_usage_bit = indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_init()