brintos

brintos / linux-shallow public Read only

0
0
Text · 532 B · a7cf118 Raw
29 lines · c
1/* SPDX-License-Identifier: MIT */2#ifndef __NVFW_FW_H__3#define __NVFW_FW_H__4#include <core/os.h>5struct nvkm_subdev;6 7struct nvfw_bin_hdr {8	u32 bin_magic;9	u32 bin_ver;10	u32 bin_size;11	u32 header_offset;12	u32 data_offset;13	u32 data_size;14};15 16const struct nvfw_bin_hdr *nvfw_bin_hdr(struct nvkm_subdev *, const void *);17 18struct nvfw_bl_desc {19	u32 start_tag;20	u32 dmem_load_off;21	u32 code_off;22	u32 code_size;23	u32 data_off;24	u32 data_size;25};26 27const struct nvfw_bl_desc *nvfw_bl_desc(struct nvkm_subdev *, const void *);28#endif29