ice_hweight8
funcs = ice_hweight8(hw->dev_caps.common_cap.valid_functions &
count += ice_hweight8(mask[i]);