11b255f1cSBen Skeggs /* SPDX-License-Identifier: MIT */ 21b255f1cSBen Skeggs #ifndef __NVIF_IF0012_H__ 31b255f1cSBen Skeggs #define __NVIF_IF0012_H__ 41b255f1cSBen Skeggs 51b255f1cSBen Skeggs union nvif_outp_args { 61b255f1cSBen Skeggs struct nvif_outp_v0 { 71b255f1cSBen Skeggs __u8 version; 81b255f1cSBen Skeggs __u8 id; /* DCB device index. */ 91b255f1cSBen Skeggs __u8 pad02[6]; 101b255f1cSBen Skeggs } v0; 111b255f1cSBen Skeggs }; 12*dfc4005fSBen Skeggs 13*dfc4005fSBen Skeggs #define NVIF_OUTP_V0_LOAD_DETECT 0x00 14*dfc4005fSBen Skeggs 15*dfc4005fSBen Skeggs union nvif_outp_load_detect_args { 16*dfc4005fSBen Skeggs struct nvif_outp_load_detect_v0 { 17*dfc4005fSBen Skeggs __u8 version; 18*dfc4005fSBen Skeggs __u8 load; 19*dfc4005fSBen Skeggs __u8 pad02[2]; 20*dfc4005fSBen Skeggs __u32 data; /*TODO: move vbios loadval parsing into nvkm */ 21*dfc4005fSBen Skeggs } v0; 22*dfc4005fSBen Skeggs }; 231b255f1cSBen Skeggs #endif 24