20 lines
481 B
C
20 lines
481 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_GSP_PRIV_H__
|
|
#define __NVKM_GSP_PRIV_H__
|
|
#include <subdev/gsp.h>
|
|
enum nvkm_acr_lsf_id;
|
|
|
|
struct nvkm_gsp_func {
|
|
const struct nvkm_falcon_func *flcn;
|
|
};
|
|
|
|
struct nvkm_gsp_fwif {
|
|
int version;
|
|
int (*load)(struct nvkm_gsp *, int ver, const struct nvkm_gsp_fwif *);
|
|
const struct nvkm_gsp_func *func;
|
|
};
|
|
|
|
int nvkm_gsp_new_(const struct nvkm_gsp_fwif *, struct nvkm_device *, enum nvkm_subdev_type, int,
|
|
struct nvkm_gsp **);
|
|
#endif
|