1
2 #ifndef __NVBIOS_CSTEP_H__
3 #define __NVBIOS_CSTEP_H__
4 u32 nvbios_cstepTe(struct nvkm_bios *,
5 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz);
6
7 struct nvbios_cstepE {
8 u8 pstate;
9 u8 index;
10 };
11
12 u32 nvbios_cstepEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
13 u32 nvbios_cstepEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
14 struct nvbios_cstepE *);
15 u32 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr,
16 struct nvbios_cstepE *);
17
18 struct nvbios_cstepX {
19 u32 freq;
20 u8 unkn[2];
21 u8 voltage;
22 };
23
24 u32 nvbios_cstepXe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
25 u32 nvbios_cstepXp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
26 struct nvbios_cstepX *);
27 #endif