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