1#ifndef __NVBIOS_DP_H__
2#define __NVBIOS_DP_H__
3
4struct nvbios_dpout {
5 u16 type;
6 u16 mask;
7 u8 flags;
8 u32 script[5];
9 u32 lnkcmp;
10};
11
12u16 nvbios_dpout_parse(struct nouveau_bios *, u8 idx,
13 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
14 struct nvbios_dpout *);
15u16 nvbios_dpout_match(struct nouveau_bios *, u16 type, u16 mask,
16 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
17 struct nvbios_dpout *);
18
19struct nvbios_dpcfg {
20 u8 drv;
21 u8 pre;
22 u8 unk;
23};
24
25u16
26nvbios_dpcfg_parse(struct nouveau_bios *, u16 outp, u8 idx,
27 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
28 struct nvbios_dpcfg *);
29u16
30nvbios_dpcfg_match(struct nouveau_bios *, u16 outp, u8 un, u8 vs, u8 pe,
31 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
32 struct nvbios_dpcfg *);
33
34#endif
35