| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* Copyright (C) 2018-2019, Intel Corporation. */ |
| 3 |
|
| 4 |
#ifndef _ICE_FW_UPDATE_H_ |
| 5 |
#define _ICE_FW_UPDATE_H_ |
| 6 |
|
| 7 |
int ice_devlink_flash_update(struct devlink *devlink, |
| 8 |
struct devlink_flash_update_params *params, |
| 9 |
struct netlink_ext_ack *extack); |
| 10 |
int ice_get_pending_updates(struct ice_pf *pf, u8 *pending, |
| 11 |
struct netlink_ext_ack *extack); |
| 12 |
int ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, |
| 13 |
u16 block_size, u8 *block, bool last_cmd, |
| 14 |
u8 *reset_level, struct netlink_ext_ack *extack); |
| 15 |
|
| 16 |
#endif |