dp.h 741 B

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