linux/drivers/platform/x86/intel/pmc/lnl.c

// SPDX-License-Identifier: GPL-2.0
/*
 * This file contains platform specific structure definitions
 * and init function used by Lunar Lake PCH.
 *
 * Copyright (c) 2022, Intel Corporation.
 * All Rights Reserved.
 *
 */

#include <linux/cpu.h>
#include <linux/pci.h>

#include "core.h"

const struct pmc_bit_map lnl_ltr_show_map[] =;

const struct pmc_bit_map lnl_power_gating_status_0_map[] =;

const struct pmc_bit_map lnl_power_gating_status_1_map[] =;

const struct pmc_bit_map lnl_power_gating_status_2_map[] =;

const struct pmc_bit_map lnl_d3_status_0_map[] =;

const struct pmc_bit_map lnl_d3_status_1_map[] =;

const struct pmc_bit_map lnl_d3_status_2_map[] =;

const struct pmc_bit_map lnl_d3_status_3_map[] =;

const struct pmc_bit_map lnl_vnn_req_status_0_map[] =;

const struct pmc_bit_map lnl_vnn_req_status_1_map[] =;

const struct pmc_bit_map lnl_vnn_req_status_2_map[] =;

const struct pmc_bit_map lnl_vnn_req_status_3_map[] =;

const struct pmc_bit_map lnl_vnn_misc_status_map[] =;

const struct pmc_bit_map lnl_clocksource_status_map[] =;

const struct pmc_bit_map lnl_signal_status_map[] =;

const struct pmc_bit_map lnl_rsc_status_map[] =;

const struct pmc_bit_map *lnl_lpm_maps[] =;

const struct pmc_bit_map *lnl_blk_maps[] =;

const struct pmc_bit_map lnl_pfear_map[] =;

const struct pmc_bit_map *ext_lnl_pfear_map[] =;

const struct pmc_reg_map lnl_socm_reg_map =;

#define LNL_NPU_PCI_DEV
#define LNL_IPU_PCI_DEV

/*
 * Set power state of select devices that do not have drivers to D3
 * so that they do not block Package C entry.
 */
static void lnl_d3_fixup(void)
{}

static int lnl_resume(struct pmc_dev *pmcdev)
{}

int lnl_core_init(struct pmc_dev *pmcdev)
{}