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