• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVBIOS_RAMMAP_H__
3 #define __NVBIOS_RAMMAP_H__
4 #include <subdev/bios/ramcfg.h>
5 
6 u32 nvbios_rammapTe(struct nvkm_bios *, u8 *ver, u8 *hdr,
7 		    u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
8 
9 u32 nvbios_rammapEe(struct nvkm_bios *, int idx,
10 		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
11 u32 nvbios_rammapEp_from_perf(struct nvkm_bios *bios, u32 data, u8 size,
12 		    struct nvbios_ramcfg *p);
13 u32 nvbios_rammapEp(struct nvkm_bios *, int idx,
14 		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
15 u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
16 		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
17 
18 u32 nvbios_rammapSe(struct nvkm_bios *, u32 data,
19 		    u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
20 		    u8 *ver, u8 *hdr);
21 u32 nvbios_rammapSp_from_perf(struct nvkm_bios *bios, u32 data, u8 size, int idx,
22 		    struct nvbios_ramcfg *p);
23 u32 nvbios_rammapSp(struct nvkm_bios *, u32 data,
24 		    u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
25 		    u8 *ver, u8 *hdr, struct nvbios_ramcfg *);
26 #endif
27