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