Searched refs:comp_tbl (Results 1 – 2 of 2) sorted by relevance
166 struct ixgbe_aci_cmd_nvm_comp_tbl *comp_tbl; in ixgbe_send_component_table() local183 length = struct_size(comp_tbl, cvs, component->version_len); in ixgbe_send_component_table()184 comp_tbl = kzalloc(length, GFP_KERNEL); in ixgbe_send_component_table()185 if (!comp_tbl) in ixgbe_send_component_table()188 comp_tbl->comp_class = cpu_to_le16(component->classification); in ixgbe_send_component_table()189 comp_tbl->comp_id = cpu_to_le16(component->identifier); in ixgbe_send_component_table()190 comp_tbl->comp_class_idx = FWU_COMP_CLASS_IDX_NOT_USE; in ixgbe_send_component_table()191 comp_tbl->comp_cmp_stamp = cpu_to_le32(component->comparison_stamp); in ixgbe_send_component_table()192 comp_tbl->cvs_type = component->version_type; in ixgbe_send_component_table()193 comp_tbl->cvs_len = component->version_len; in ixgbe_send_component_table()[all …]
217 struct ice_aqc_nvm_comp_tbl *comp_tbl; in ice_send_component_table() local237 length = struct_size(comp_tbl, cvs, component->version_len); in ice_send_component_table()238 comp_tbl = kzalloc(length, GFP_KERNEL); in ice_send_component_table()239 if (!comp_tbl) in ice_send_component_table()242 comp_tbl->comp_class = cpu_to_le16(component->classification); in ice_send_component_table()243 comp_tbl->comp_id = cpu_to_le16(component->identifier); in ice_send_component_table()244 comp_tbl->comp_class_idx = FWU_COMP_CLASS_IDX_NOT_USE; in ice_send_component_table()245 comp_tbl->comp_cmp_stamp = cpu_to_le32(component->comparison_stamp); in ice_send_component_table()246 comp_tbl->cvs_type = component->version_type; in ice_send_component_table()247 comp_tbl->cvs_len = component->version_len; in ice_send_component_table()[all …]