Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 #ifndef __NVBIOS_DP_H__
0003 #define __NVBIOS_DP_H__
0004 
0005 u16
0006 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
0007 
0008 struct nvbios_dpout {
0009     u16 type;
0010     u16 mask;
0011     u8  flags;
0012     u32 script[5];
0013     u32 lnkcmp;
0014 };
0015 
0016 u16 nvbios_dpout_parse(struct nvkm_bios *, u8 idx,
0017                u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
0018                struct nvbios_dpout *);
0019 u16 nvbios_dpout_match(struct nvkm_bios *, u16 type, u16 mask,
0020                u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
0021                struct nvbios_dpout *);
0022 
0023 struct nvbios_dpcfg {
0024     u8 pc;
0025     u8 dc;
0026     u8 pe;
0027     u8 tx_pu;
0028 };
0029 
0030 u16
0031 nvbios_dpcfg_parse(struct nvkm_bios *, u16 outp, u8 idx,
0032            u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *);
0033 u16
0034 nvbios_dpcfg_match(struct nvkm_bios *, u16 outp, u8 pc, u8 vs, u8 pe,
0035            u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *);
0036 #endif