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