| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* |
| 3 |
* Intel PMC SSRAM Telemetry PCI Driver Header File |
| 4 |
* |
| 5 |
* Copyright (c) 2024, Intel Corporation. |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef PMC_SSRAM_H |
| 9 |
#define PMC_SSRAM_H |
| 10 |
|
| 11 |
/** |
| 12 |
* struct pmc_ssram_telemetry - Structure to keep pmc info in ssram device |
| 13 |
* @devid: device id of the pmc device |
| 14 |
* @base_addr: contains PWRM base address |
| 15 |
*/ |
| 16 |
struct pmc_ssram_telemetry { |
| 17 |
u16 devid; |
| 18 |
u64 base_addr; |
| 19 |
}; |
| 20 |
|
| 21 |
int pmc_ssram_telemetry_get_pmc_info(unsigned int pmc_idx, |
| 22 |
struct pmc_ssram_telemetry *pmc_ssram_telemetry); |
| 23 |
|
| 24 |
#endif /* PMC_SSRAM_H */ |