#include "iwl-drv.h"
#include "pnvm.h"
#include "iwl-prph.h"
#include "iwl-io.h"
#include "fw/api/commands.h"
#include "fw/api/nvm-reg.h"
#include "fw/api/alive.h"
#include "fw/uefi.h"
#define IWL_PNVM_REDUCED_CAP_BIT …
struct iwl_pnvm_section { … } __packed;
static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait,
struct iwl_rx_packet *pkt, void *data)
{ … }
static int iwl_pnvm_handle_section(struct iwl_trans *trans, const u8 *data,
size_t len,
struct iwl_pnvm_image *pnvm_data)
{ … }
static int iwl_pnvm_parse(struct iwl_trans *trans, const u8 *data,
size_t len,
struct iwl_pnvm_image *pnvm_data)
{ … }
static int iwl_pnvm_get_from_fs(struct iwl_trans *trans, u8 **data, size_t *len)
{ … }
static u8 *iwl_get_pnvm_image(struct iwl_trans *trans_p, size_t *len)
{ … }
static void iwl_pnvm_load_pnvm_to_trans(struct iwl_trans *trans,
const struct iwl_ucode_capabilities *capa)
{ … }
static void
iwl_pnvm_load_reduce_power_to_trans(struct iwl_trans *trans,
const struct iwl_ucode_capabilities *capa)
{ … }
int iwl_pnvm_load(struct iwl_trans *trans,
struct iwl_notif_wait_data *notif_wait,
const struct iwl_ucode_capabilities *capa)
{ … }
IWL_EXPORT_SYMBOL(iwl_pnvm_load);