1 #ifndef __NVBIOS_DISP_H__ 2 #define __NVBIOS_DISP_H__ 3 u16 nvbios_disp_table(struct nvkm_bios *, 4 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub); 5 6 struct nvbios_disp { 7 u16 data; 8 }; 9 10 u16 nvbios_disp_entry(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub); 11 u16 nvbios_disp_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub, 12 struct nvbios_disp *); 13 14 struct nvbios_outp { 15 u16 type; 16 u16 mask; 17 u16 script[3]; 18 }; 19 20 u16 nvbios_outp_entry(struct nvkm_bios *, u8 idx, 21 u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 22 u16 nvbios_outp_parse(struct nvkm_bios *, u8 idx, 23 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *); 24 u16 nvbios_outp_match(struct nvkm_bios *, u16 type, u16 mask, 25 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *); 26 27 struct nvbios_ocfg { 28 u8 proto; 29 u8 flags; 30 u16 clkcmp[2]; 31 }; 32 33 u16 nvbios_ocfg_entry(struct nvkm_bios *, u16 outp, u8 idx, 34 u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 35 u16 nvbios_ocfg_parse(struct nvkm_bios *, u16 outp, u8 idx, 36 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); 37 u16 nvbios_ocfg_match(struct nvkm_bios *, u16 outp, u8 proto, u8 flags, 38 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); 39 u16 nvbios_oclk_match(struct nvkm_bios *, u16 cmp, u32 khz); 40 #endif 41