Lines Matching defs:cap_count
2815 * @cap_count: the number of capabilities
2826 void *buf, u32 cap_count)
2835 for (i = 0; i < cap_count; i++) {
2974 * @cap_count: the number of capabilities
2985 void *buf, u32 cap_count)
2994 for (i = 0; i < cap_count; i++) {
3112 * @cap_count: if not NULL, set to the number of capabilities reported
3119 * If the cap_count pointer is not NULL, then it is set to the number of
3122 * cap_count will still be updated in this case. It is recommended that the
3127 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
3143 if (cap_count)
3144 *cap_count = LE32_TO_CPU(cmd->count);
3160 u32 cap_count = 0;
3172 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem);
3174 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count,
3177 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count);
3194 u32 cap_count = 0;
3206 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem);
3208 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count,
3211 ice_parse_func_caps(hw, func_caps, cbuf, cap_count);