Lines Matching refs:cap_count
2398 void *buf, u32 cap_count) in ice_parse_func_caps() argument
2407 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps()
2637 void *buf, u32 cap_count) in ice_parse_dev_caps() argument
2646 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps()
2817 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps() argument
2833 if (cap_count) in ice_aq_list_caps()
2834 *cap_count = le32_to_cpu(cmd->count); in ice_aq_list_caps()
2850 u32 cap_count = 0; in ice_discover_dev_caps() local
2862 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem); in ice_discover_dev_caps()
2864 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count, in ice_discover_dev_caps()
2867 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count); in ice_discover_dev_caps()
2884 u32 cap_count = 0; in ice_discover_func_caps() local
2896 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem); in ice_discover_func_caps()
2898 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count, in ice_discover_func_caps()
2901 ice_parse_func_caps(hw, func_caps, cbuf, cap_count); in ice_discover_func_caps()