File Index
Files and directories
Sign in
FILE

vmap.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h C
 1/* SPDX-License-Identifier: MIT */
 2#ifndef __NVBIOS_VMAP_H__
 3#define __NVBIOS_VMAP_H__
 4struct nvbios_vmap {
 5	u8  max0;
 6	u8  max1;
 7	u8  max2;
 8};
 9
10u32 nvbios_vmap_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
11u32 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
12		      struct nvbios_vmap *);
13
14struct nvbios_vmap_entry {
15	u8  mode;
16	u8  link;
17	u32 min;
18	u32 max;
19	s32 arg[6];
20};
21
22u32 nvbios_vmap_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len);
23u32 nvbios_vmap_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len,
24			    struct nvbios_vmap_entry *);
25#endif
~/ Read-only file preview.