Home | History | Annotate | Line # | Download | only in bios
      1 /*	$NetBSD: M0205.h,v 1.3 2021/12/18 23:45:33 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVBIOS_M0205_H__
      5 #define __NVBIOS_M0205_H__
      6 struct nvbios_M0205T {
      7 	u16 freq;
      8 };
      9 
     10 u32 nvbios_M0205Te(struct nvkm_bios *,
     11 		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
     12 u32 nvbios_M0205Tp(struct nvkm_bios *,
     13 		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz,
     14 		   struct nvbios_M0205T *);
     15 
     16 struct nvbios_M0205E {
     17 	u8 type;
     18 };
     19 
     20 u32 nvbios_M0205Ee(struct nvkm_bios *, int idx,
     21 		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
     22 u32 nvbios_M0205Ep(struct nvkm_bios *, int idx,
     23 		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0205E *);
     24 
     25 struct nvbios_M0205S {
     26 	u8 data;
     27 };
     28 
     29 u32 nvbios_M0205Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr);
     30 u32 nvbios_M0205Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr,
     31 		   struct nvbios_M0205S *);
     32 #endif
     33