pmu.h (687B)
1/* SPDX-License-Identifier: MIT */ 2#ifndef __NVBIOS_PMU_H__ 3#define __NVBIOS_PMU_H__ 4struct nvbios_pmuT { 5}; 6 7u32 nvbios_pmuTe(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 8 9struct nvbios_pmuE { 10 u8 type; 11 u32 data; 12}; 13 14u32 nvbios_pmuEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); 15u32 nvbios_pmuEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, 16 struct nvbios_pmuE *); 17 18struct nvbios_pmuR { 19 u32 boot_addr_pmu; 20 u32 boot_addr; 21 u32 boot_size; 22 u32 code_addr_pmu; 23 u32 code_addr; 24 u32 code_size; 25 u32 init_addr_pmu; 26 27 u32 data_addr_pmu; 28 u32 data_addr; 29 u32 data_size; 30 u32 args_addr_pmu; 31}; 32 33bool nvbios_pmuRm(struct nvkm_bios *, u8 type, struct nvbios_pmuR *); 34#endif