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>
28 lines
686 B
C
28 lines
686 B
C
#ifndef __NVBIOS_M0209_H__
|
|
#define __NVBIOS_M0209_H__
|
|
u32 nvbios_M0209Te(struct nvkm_bios *,
|
|
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
|
|
|
|
struct nvbios_M0209E {
|
|
u8 v00_40;
|
|
u8 bits;
|
|
u8 modulo;
|
|
u8 v02_40;
|
|
u8 v02_07;
|
|
u8 v03;
|
|
};
|
|
|
|
u32 nvbios_M0209Ee(struct nvkm_bios *, int idx,
|
|
u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
|
|
u32 nvbios_M0209Ep(struct nvkm_bios *, int idx,
|
|
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *);
|
|
|
|
struct nvbios_M0209S {
|
|
u32 data[0x200];
|
|
};
|
|
|
|
u32 nvbios_M0209Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr);
|
|
u32 nvbios_M0209Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr,
|
|
struct nvbios_M0209S *);
|
|
#endif
|