Lines Matching refs:component
98 const char *component; in ice_check_component_response() local
102 component = "fw.undi"; in ice_check_component_response()
105 component = "fw.mgmt"; in ice_check_component_response()
108 component = "fw.netlist"; in ice_check_component_response()
116 component, response, code); in ice_check_component_response()
123 …are recommends not updating %s, as it may result in a downgrade. continuing anyways\n", component); in ice_check_component_response()
126 dev_info(dev, "firmware has rejected updating %s\n", component); in ice_check_component_response()
133 component); in ice_check_component_response()
138 component); in ice_check_component_response()
143 component); in ice_check_component_response()
148 component); in ice_check_component_response()
153 component); in ice_check_component_response()
158 component); in ice_check_component_response()
163 component); in ice_check_component_response()
168 component); in ice_check_component_response()
173 component); in ice_check_component_response()
178 component); in ice_check_component_response()
183 code, component); in ice_check_component_response()
207 ice_send_component_table(struct pldmfw *context, struct pldmfw_component *component, in ice_send_component_table() argument
220 switch (component->identifier) { in ice_send_component_table()
227 component->identifier); in ice_send_component_table()
232 length = struct_size(comp_tbl, cvs, component->version_len); in ice_send_component_table()
237 comp_tbl->comp_class = cpu_to_le16(component->classification); in ice_send_component_table()
238 comp_tbl->comp_id = cpu_to_le16(component->identifier); in ice_send_component_table()
240 comp_tbl->comp_cmp_stamp = cpu_to_le32(component->comparison_stamp); in ice_send_component_table()
241 comp_tbl->cvs_type = component->version_type; in ice_send_component_table()
242 comp_tbl->cvs_len = component->version_len; in ice_send_component_table()
243 memcpy(comp_tbl->cvs, component->version_string, component->version_len); in ice_send_component_table()
260 return ice_check_component_response(pf, component->identifier, comp_response, in ice_send_component_table()
400 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_write_nvm_module() argument
411 dev_dbg(dev, "Beginning write of flash component '%s', module 0x%02x\n", component, module); in ice_write_nvm_module()
416 component, 0, length); in ice_write_nvm_module()
443 component, offset, length); in ice_write_nvm_module()
446 dev_dbg(dev, "Completed write of flash component '%s', module 0x%02x\n", component, module); in ice_write_nvm_module()
450 component, length, length); in ice_write_nvm_module()
453 component, length, length); in ice_write_nvm_module()
479 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_erase_nvm_module() argument
490 dev_dbg(dev, "Beginning erase of flash component '%s', module 0x%02x\n", component, module); in ice_erase_nvm_module()
494 devlink_flash_update_timeout_notify(devlink, "Erasing", component, ICE_FW_ERASE_TIMEOUT); in ice_erase_nvm_module()
501 component, module, err, in ice_erase_nvm_module()
511 component, module, err); in ice_erase_nvm_module()
522 component, completion_module, module); in ice_erase_nvm_module()
530 component, module, in ice_erase_nvm_module()
537 dev_dbg(dev, "Completed erase of flash component '%s', module 0x%02x\n", component, module); in ice_erase_nvm_module()
542 component, 0, 0); in ice_erase_nvm_module()
545 component, 0, 0); in ice_erase_nvm_module()
632 ice_flash_component(struct pldmfw *context, struct pldmfw_component *component) in ice_flash_component() argument
643 switch (component->identifier) { in ice_flash_component()
667 component->identifier); in ice_flash_component()
678 return ice_write_nvm_module(pf, module, name, component->component_data, in ice_flash_component()
679 component->component_size, reset_level, in ice_flash_component()
907 ice_cancel_pending_update(struct ice_pf *pf, const char *component, in ice_cancel_pending_update() argument
923 if (component) { in ice_cancel_pending_update()
924 if (strcmp(component, "fw.mgmt") == 0) in ice_cancel_pending_update()
926 else if (strcmp(component, "fw.undi") == 0) in ice_cancel_pending_update()
928 else if (strcmp(component, "fw.netlist") == 0) in ice_cancel_pending_update()
931 WARN(1, "Unexpected flash component %s", component); in ice_cancel_pending_update()
943 component, 0, 0); in ice_cancel_pending_update()