Lines Matching refs:extack
15 struct netlink_ext_ack *extack; member
51 struct netlink_ext_ack *extack = priv->extack; in ice_send_package_data() local
71 NL_SET_ERR_MSG_MOD(extack, "Failed to record package data to firmware"); in ice_send_package_data()
95 struct netlink_ext_ack *extack) in ice_check_component_response() argument
134 NL_SET_ERR_MSG_MOD(extack, "Component comparison stamp is identical to running image"); in ice_check_component_response()
139 NL_SET_ERR_MSG_MOD(extack, "Component comparison stamp is lower than running image"); in ice_check_component_response()
144 NL_SET_ERR_MSG_MOD(extack, "Component comparison stamp is invalid"); in ice_check_component_response()
149 NL_SET_ERR_MSG_MOD(extack, "Component table conflict occurred"); in ice_check_component_response()
154 NL_SET_ERR_MSG_MOD(extack, "Component pre-requisites not met"); in ice_check_component_response()
159 NL_SET_ERR_MSG_MOD(extack, "Component not supported"); in ice_check_component_response()
164 NL_SET_ERR_MSG_MOD(extack, "Component cannot be downgraded"); in ice_check_component_response()
169 NL_SET_ERR_MSG_MOD(extack, "Incomplete component image"); in ice_check_component_response()
174 NL_SET_ERR_MSG_MOD(extack, "Component version is identical to running image"); in ice_check_component_response()
179 NL_SET_ERR_MSG_MOD(extack, "Component version is lower than the running image"); in ice_check_component_response()
184 NL_SET_ERR_MSG_MOD(extack, "Received unexpected response code from firmware"); in ice_check_component_response()
211 struct netlink_ext_ack *extack = priv->extack; in ice_send_component_table() local
228 NL_SET_ERR_MSG_MOD(extack, "Unable to update due to unknown firmware component"); in ice_send_component_table()
256 NL_SET_ERR_MSG_MOD(extack, "Failed to transfer component table to firmware"); in ice_send_component_table()
261 comp_response_code, extack); in ice_send_component_table()
292 u8 *reset_level, struct netlink_ext_ack *extack) in ice_write_one_nvm_block() argument
313 NL_SET_ERR_MSG_MOD(extack, "Failed to program flash module"); in ice_write_one_nvm_block()
327 NL_SET_ERR_MSG_MOD(extack, "Timed out waiting for firmware"); in ice_write_one_nvm_block()
341 NL_SET_ERR_MSG_MOD(extack, "Unexpected firmware response"); in ice_write_one_nvm_block()
348 NL_SET_ERR_MSG_MOD(extack, "Unexpected firmware response"); in ice_write_one_nvm_block()
356 NL_SET_ERR_MSG_MOD(extack, "Firmware failed to program flash module"); in ice_write_one_nvm_block()
402 struct netlink_ext_ack *extack) in ice_write_nvm_module() argument
436 extack); in ice_write_nvm_module()
480 struct netlink_ext_ack *extack) in ice_erase_nvm_module() argument
503 NL_SET_ERR_MSG_MOD(extack, "Failed to erase flash module"); in ice_erase_nvm_module()
512 NL_SET_ERR_MSG_MOD(extack, "Timed out waiting for firmware"); in ice_erase_nvm_module()
523 NL_SET_ERR_MSG_MOD(extack, "Unexpected firmware response"); in ice_erase_nvm_module()
532 NL_SET_ERR_MSG_MOD(extack, "Firmware failed to erase flash"); in ice_erase_nvm_module()
564 u8 *emp_reset_available, struct netlink_ext_ack *extack) in ice_switch_flash_banks() argument
579 NL_SET_ERR_MSG_MOD(extack, "Failed to switch active flash banks"); in ice_switch_flash_banks()
603 NL_SET_ERR_MSG_MOD(extack, "Timed out waiting for firmware"); in ice_switch_flash_banks()
611 NL_SET_ERR_MSG_MOD(extack, "Firmware failed to switch active flash banks"); in ice_switch_flash_banks()
635 struct netlink_ext_ack *extack = priv->extack; in ice_flash_component() local
674 err = ice_erase_nvm_module(pf, module, name, extack); in ice_flash_component()
680 extack); in ice_flash_component()
696 struct netlink_ext_ack *extack = priv->extack; in ice_finalize_update() local
703 &priv->emp_reset_available, extack); in ice_finalize_update()
850 struct netlink_ext_ack *extack) in ice_get_pending_updates() argument
868 NL_SET_ERR_MSG_MOD(extack, "Unable to read device capabilities"); in ice_get_pending_updates()
908 struct netlink_ext_ack *extack) in ice_cancel_pending_update() argument
916 err = ice_get_pending_updates(pf, &pending, extack); in ice_cancel_pending_update()
949 NL_SET_ERR_MSG_MOD(extack, "Failed to acquire device flash lock"); in ice_cancel_pending_update()
954 err = ice_switch_flash_banks(pf, pending, NULL, extack); in ice_cancel_pending_update()
984 struct netlink_ext_ack *extack) in ice_devlink_flash_update() argument
1004 NL_SET_ERR_MSG_MOD(extack, "Requested overwrite mask is not supported"); in ice_devlink_flash_update()
1009 NL_SET_ERR_MSG_MOD(extack, "Current firmware does not support unified update"); in ice_devlink_flash_update()
1021 priv.extack = extack; in ice_devlink_flash_update()
1027 err = ice_cancel_pending_update(pf, NULL, extack); in ice_devlink_flash_update()
1035 NL_SET_ERR_MSG_MOD(extack, "Failed to acquire device flash lock"); in ice_devlink_flash_update()
1042 NL_SET_ERR_MSG_MOD(extack, "Firmware image has no record matching this device"); in ice_devlink_flash_update()