Lines Matching defs:cap_count
2361 * @cap_count: the number of capabilities
2372 void *buf, u32 cap_count)
2381 for (i = 0; i < cap_count; i++) {
2572 * @cap_count: the number of capabilities
2583 void *buf, u32 cap_count)
2592 for (i = 0; i < cap_count; i++) {
2745 * @cap_count: if not NULL, set to the number of capabilities reported
2752 * If the cap_count pointer is not NULL, then it is set to the number of
2755 * cap_count will still be updated in this case. It is recommended that the
2760 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
2776 if (cap_count)
2777 *cap_count = le32_to_cpu(cmd->count);
2793 u32 cap_count = 0;
2805 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem);
2807 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count,
2810 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count);
2827 u32 cap_count = 0;
2839 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem);
2841 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count,
2844 ice_parse_func_caps(hw, func_caps, cbuf, cap_count);