1 #ifndef __NVBIOS_PCIR_H__ 2 #define __NVBIOS_PCIR_H__ 3 struct nvbios_pcirT { 4 u16 vendor_id; 5 u16 device_id; 6 u8 class_code[3]; 7 u32 image_size; 8 u16 image_rev; 9 u8 image_type; 10 bool last; 11 }; 12 13 u32 nvbios_pcirTe(struct nvkm_bios *, u32, u8 *ver, u16 *hdr); 14 u32 nvbios_pcirTp(struct nvkm_bios *, u32, u8 *ver, u16 *hdr, 15 struct nvbios_pcirT *); 16 #endif 17