Lines Matching refs:cap_count
2610 * @cap_count: the number of capabilities
2621 void *buf, u32 cap_count)
2630 for (i = 0; i < cap_count; i++) {
2873 * @cap_count: the number of capabilities
2884 void *buf, u32 cap_count)
2893 for (i = 0; i < cap_count; i++) {
3021 * @cap_count: if not NULL, set to the number of capabilities reported
3028 * If the cap_count pointer is not NULL, then it is set to the number of
3031 * cap_count will still be updated in this case. It is recommended that the
3036 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
3052 if (cap_count)
3053 *cap_count = le32_to_cpu(cmd->count);
3069 u32 cap_count = 0;
3081 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct libie_aqc_list_caps_elem);
3083 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count,
3086 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count);
3103 u32 cap_count = 0;
3115 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct libie_aqc_list_caps_elem);
3117 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count,
3120 ice_parse_func_caps(hw, func_caps, cbuf, cap_count);