init.h 389 B

123456789101112131415161718192021
  1. #ifndef __NVBIOS_INIT_H__
  2. #define __NVBIOS_INIT_H__
  3. struct nvbios_init {
  4. struct nvkm_subdev *subdev;
  5. struct nvkm_bios *bios;
  6. u16 offset;
  7. struct dcb_output *outp;
  8. int crtc;
  9. /* internal state used during parsing */
  10. u8 execute;
  11. u32 nested;
  12. u16 repeat;
  13. u16 repend;
  14. u32 ramcfg;
  15. };
  16. int nvbios_exec(struct nvbios_init *);
  17. int nvbios_init(struct nvkm_subdev *, bool execute);
  18. #endif