brintos

brintos / linux-shallow public Read only

0
0
Text · 859 B · 1df5e16 Raw
37 lines · c
1/* SPDX-License-Identifier: MIT */2#ifndef __NVBIOS_DP_H__3#define __NVBIOS_DP_H__4 5u166nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);7 8struct nvbios_dpout {9	u16 type;10	u16 mask;11	u8  flags;12	u32 script[5];13	u32 lnkcmp;14};15 16u16 nvbios_dpout_parse(struct nvkm_bios *, u8 idx,17		       u8 *ver, u8 *hdr, u8 *cnt, u8 *len,18		       struct nvbios_dpout *);19u16 nvbios_dpout_match(struct nvkm_bios *, u16 type, u16 mask,20		       u8 *ver, u8 *hdr, u8 *cnt, u8 *len,21		       struct nvbios_dpout *);22 23struct nvbios_dpcfg {24	u8 pc;25	u8 dc;26	u8 pe;27	u8 tx_pu;28};29 30u1631nvbios_dpcfg_parse(struct nvkm_bios *, u16 outp, u8 idx,32		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *);33u1634nvbios_dpcfg_match(struct nvkm_bios *, u16 outp, u8 pc, u8 vs, u8 pe,35		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *);36#endif37