1 #ifndef __NOUVEAU_BIOS_H__
2 #define __NOUVEAU_BIOS_H__
4 #include <core/subdev.h>
5 #include <core/device.h>
8 struct nouveau_subdev base;
23 static inline struct nouveau_bios *
24 nouveau_bios(void *obj)
26 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_VBIOS];
29 u8 nvbios_checksum(const u8 *data, int size);
30 u16 nvbios_findstr(const u8 *data, int size, const char *str, int len);
32 extern struct nouveau_oclass nouveau_bios_oclass;