Lines Matching refs:sw_buf

1889 	DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1);  in ice_aq_alloc_free_vsi_list()
1890 u16 buf_len = __struct_size(sw_buf); in ice_aq_alloc_free_vsi_list()
1894 sw_buf->num_elems = cpu_to_le16(1); in ice_aq_alloc_free_vsi_list()
1904 sw_buf->res_type = cpu_to_le16(ICE_AQC_RES_TYPE_VSI_LIST_REP); in ice_aq_alloc_free_vsi_list()
1907 sw_buf->res_type = in ice_aq_alloc_free_vsi_list()
1911 sw_buf->res_type = in ice_aq_alloc_free_vsi_list()
1918 sw_buf->elem[0].e.sw_resp = cpu_to_le16(*vsi_list_id); in ice_aq_alloc_free_vsi_list()
1920 status = ice_aq_alloc_free_res(hw, sw_buf, buf_len, opc); in ice_aq_alloc_free_vsi_list()
1925 vsi_ele = &sw_buf->elem[0]; in ice_aq_alloc_free_vsi_list()
2181 DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1); in ice_alloc_recipe()
2182 u16 buf_len = __struct_size(sw_buf); in ice_alloc_recipe()
2186 sw_buf->num_elems = cpu_to_le16(1); in ice_alloc_recipe()
2192 sw_buf->res_type = cpu_to_le16(res_type); in ice_alloc_recipe()
2193 status = ice_aq_alloc_free_res(hw, sw_buf, buf_len, in ice_alloc_recipe()
2196 *rid = le16_to_cpu(sw_buf->elem[0].e.sw_resp); in ice_alloc_recipe()
5267 DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1); in ice_subscribe_recipe()
5268 u16 buf_len = __struct_size(sw_buf); in ice_subscribe_recipe()
5273 sw_buf->num_elems = cpu_to_le16(1); in ice_subscribe_recipe()
5277 sw_buf->res_type = cpu_to_le16(res_type); in ice_subscribe_recipe()
5279 sw_buf->elem[0].e.sw_resp = cpu_to_le16(rid); in ice_subscribe_recipe()
5281 status = ice_aq_alloc_free_res(hw, sw_buf, buf_len, in ice_subscribe_recipe()