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 u16 match; 29 u16 clkcmp[2]; 30 }; 31 32 u16 nvbios_ocfg_entry(struct nvkm_bios *, u16 outp, u8 idx, 33 u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 34 u16 nvbios_ocfg_parse(struct nvkm_bios *, u16 outp, u8 idx, 35 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); 36 u16 nvbios_ocfg_match(struct nvkm_bios *, u16 outp, u16 type, 37 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); 38 u16 nvbios_oclk_match(struct nvkm_bios *, u16 cmp, u32 khz); 39 #endif 40