Lines Matching defs:dev_caps
2395 funcs = ice_hweight8(hw->dev_caps.common_cap.valid_functions &
2750 if (hw->dev_caps.num_funcs > 4) {
2763 if (caps == &hw->dev_caps.common_cap)
2899 ice_debug(hw, ICE_DBG_INIT, "dev_caps: num_vfs_exposed = %u\n",
3152 * @dev_caps: pointer to device capabilities structure
3154 * Read the device capabilities and extract them into the dev_caps structure
3158 ice_discover_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_caps)
3177 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count);
3224 struct ice_hw_dev_caps *dev_caps = &hw->dev_caps;
3253 /* cache some dev_caps values that should be restored after memset */
3254 cached_caps = dev_caps->common_cap;
3255 num_funcs = dev_caps->num_funcs;
3258 memset(dev_caps, 0, sizeof(*dev_caps));
3261 dev_caps->common_cap.name = cached_caps.name
3270 dev_caps->num_funcs = num_funcs;
3273 dev_caps->common_cap.num_rxq = num_funcs;
3274 dev_caps->common_cap.num_txq = num_funcs;
3277 dev_caps->common_cap.num_msix_vectors = 2 * num_funcs;
3288 status = ice_discover_dev_caps(hw, &hw->dev_caps);