xref: /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h (revision 2ba9268dd603d23e17643437b2246acb6844953b)
1 #ifndef __NVBIOS_RAMMAP_H__
2 #define __NVBIOS_RAMMAP_H__
3 #include <subdev/bios/ramcfg.h>
4 
5 u32 nvbios_rammapTe(struct nvkm_bios *, u8 *ver, u8 *hdr,
6 		    u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
7 
8 u32 nvbios_rammapEe(struct nvkm_bios *, int idx,
9 		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
10 u32 nvbios_rammapEp(struct nvkm_bios *, int idx,
11 		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
12 u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
13 		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
14 
15 u32 nvbios_rammapSe(struct nvkm_bios *, u32 data,
16 		    u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
17 		    u8 *ver, u8 *hdr);
18 u32 nvbios_rammapSp(struct nvkm_bios *, u32 data,
19 		    u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
20 		    u8 *ver, u8 *hdr, struct nvbios_ramcfg *);
21 #endif
22