forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-14 796a7ef0befd21e25c2b9e42f53a6d7a4421941d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NVBIOS_PCIR_H__
#define __NVBIOS_PCIR_H__
struct nvbios_pcirT {
   u16 vendor_id;
   u16 device_id;
   u8  class_code[3];
   u32 image_size;
   u16 image_rev;
   u8  image_type;
   bool last;
};
 
u32 nvbios_pcirTe(struct nvkm_bios *, u32, u8 *ver, u16 *hdr);
u32 nvbios_pcirTp(struct nvkm_bios *, u32, u8 *ver, u16 *hdr,
         struct nvbios_pcirT *);
#endif