Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / pmu.h
blob7177d39371cf0948fcc9a6ac0e9e0cc8d636910b
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVBIOS_PMU_H__
3 #define __NVBIOS_PMU_H__
4 struct nvbios_pmuT {
5 };
7 u32 nvbios_pmuTe(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
9 struct nvbios_pmuE {
10 u8 type;
11 u32 data;
14 u32 nvbios_pmuEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
15 u32 nvbios_pmuEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
16 struct nvbios_pmuE *);
18 struct 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;
27 u32 data_addr_pmu;
28 u32 data_addr;
29 u32 data_size;
30 u32 args_addr_pmu;
33 bool nvbios_pmuRm(struct nvkm_bios *, u8 type, struct nvbios_pmuR *);
34 #endif