1 /* $NetBSD: M0209.h,v 1.3 2021/12/18 23:45:33 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NVBIOS_M0209_H__ 5 #define __NVBIOS_M0209_H__ 6 u32 nvbios_M0209Te(struct nvkm_bios *, 7 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); 8 9 struct nvbios_M0209E { 10 u8 v00_40; 11 u8 bits; 12 u8 modulo; 13 u8 v02_40; 14 u8 v02_07; 15 u8 v03; 16 }; 17 18 u32 nvbios_M0209Ee(struct nvkm_bios *, int idx, 19 u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 20 u32 nvbios_M0209Ep(struct nvkm_bios *, int idx, 21 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *); 22 23 struct nvbios_M0209S { 24 u32 data[0x200]; 25 }; 26 27 u32 nvbios_M0209Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr); 28 u32 nvbios_M0209Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr, 29 struct nvbios_M0209S *); 30 #endif 31