]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blob - drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pcir.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / pcir.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVBIOS_PCIR_H__
3 #define __NVBIOS_PCIR_H__
4 struct nvbios_pcirT {
5 u16 vendor_id;
6 u16 device_id;
7 u8 class_code[3];
8 u32 image_size;
9 u16 image_rev;
10 u8 image_type;
11 bool last;
12 };
13
14 u32 nvbios_pcirTe(struct nvkm_bios *, u32, u8 *ver, u16 *hdr);
15 u32 nvbios_pcirTp(struct nvkm_bios *, u32, u8 *ver, u16 *hdr,
16 struct nvbios_pcirT *);
17 #endif