The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
27 lines
704 B
C
27 lines
704 B
C
#ifndef __NVBIOS_CSTEP_H__
|
|
#define __NVBIOS_CSTEP_H__
|
|
u16 nvbios_cstepTe(struct nvkm_bios *,
|
|
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz);
|
|
|
|
struct nvbios_cstepE {
|
|
u8 pstate;
|
|
u8 index;
|
|
};
|
|
|
|
u16 nvbios_cstepEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
|
|
u16 nvbios_cstepEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
|
|
struct nvbios_cstepE *);
|
|
u16 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr,
|
|
struct nvbios_cstepE *);
|
|
|
|
struct nvbios_cstepX {
|
|
u32 freq;
|
|
u8 unkn[2];
|
|
u8 voltage;
|
|
};
|
|
|
|
u16 nvbios_cstepXe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
|
|
u16 nvbios_cstepXp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
|
|
struct nvbios_cstepX *);
|
|
#endif
|