#include <linux/dmi.h>
#include "iwl-trans.h"
#include "iwl-fh.h"
#include "iwl-context-info-gen3.h"
#include "internal.h"
#include "iwl-prph.h"
static const struct dmi_system_id dmi_force_scu_active_approved_list[] = …;
static bool iwl_is_force_scu_active_approved(void)
{ … }
static void
iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans,
struct iwl_prph_scratch_hwm_cfg *dbg_cfg,
u32 *control_flags)
{ … }
int iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans,
const struct fw_img *fw)
{ … }
void iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive)
{ … }
static int iwl_pcie_load_payloads_continuously(struct iwl_trans *trans,
const struct iwl_pnvm_image *pnvm_data,
struct iwl_dram_data *dram)
{ … }
static int iwl_pcie_load_payloads_segments
(struct iwl_trans *trans,
struct iwl_dram_regions *dram_regions,
const struct iwl_pnvm_image *pnvm_data)
{ … }
int iwl_trans_pcie_ctx_info_gen3_load_pnvm(struct iwl_trans *trans,
const struct iwl_pnvm_image *pnvm_payloads,
const struct iwl_ucode_capabilities *capa)
{ … }
static inline size_t
iwl_dram_regions_size(const struct iwl_dram_regions *dram_regions)
{ … }
static void iwl_pcie_set_pnvm_segments(struct iwl_trans *trans)
{ … }
static void iwl_pcie_set_continuous_pnvm(struct iwl_trans *trans)
{ … }
void iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans,
const struct iwl_ucode_capabilities *capa)
{ … }
int iwl_trans_pcie_ctx_info_gen3_load_reduce_power(struct iwl_trans *trans,
const struct iwl_pnvm_image *payloads,
const struct iwl_ucode_capabilities *capa)
{ … }
static void iwl_pcie_set_reduce_power_segments(struct iwl_trans *trans)
{ … }
static void iwl_pcie_set_continuous_reduce_power(struct iwl_trans *trans)
{ … }
void
iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans,
const struct iwl_ucode_capabilities *capa)
{ … }