Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / M0205.h
blob7ec1dabc5fe463e369c3d6ffdbb423c5611014ef
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVBIOS_M0205_H__
3 #define __NVBIOS_M0205_H__
4 struct nvbios_M0205T {
5 u16 freq;
6 };
8 u32 nvbios_M0205Te(struct nvkm_bios *,
9 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
10 u32 nvbios_M0205Tp(struct nvkm_bios *,
11 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz,
12 struct nvbios_M0205T *);
14 struct nvbios_M0205E {
15 u8 type;
18 u32 nvbios_M0205Ee(struct nvkm_bios *, int idx,
19 u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
20 u32 nvbios_M0205Ep(struct nvkm_bios *, int idx,
21 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0205E *);
23 struct nvbios_M0205S {
24 u8 data;
27 u32 nvbios_M0205Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr);
28 u32 nvbios_M0205Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr,
29 struct nvbios_M0205S *);
30 #endif