nvkm_nvdec
NVKM_LAYOUT_INST(NVKM_ENGINE_NVDEC , struct nvkm_nvdec , nvdec, 8)
int gm107_nvdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_nvdec **);
int tu102_nvdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_nvdec **);
int ga102_nvdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_nvdec **);
#define nvkm_nvdec(p) container_of((p), struct nvkm_nvdec, engine)
struct nvkm_nvdec *nvdec = nvkm_nvdec(engine);
nvkm_nvdec = {
enum nvkm_subdev_type type, int inst, u32 addr, struct nvkm_nvdec **pnvdec)
struct nvkm_nvdec *nvdec;
ret = nvkm_engine_ctor(&nvkm_nvdec, device, type, inst, true,
ga102_nvdec_nofw(struct nvkm_nvdec *nvdec, int ver, const struct nvkm_nvdec_fwif *fwif)
struct nvkm_nvdec **pnvdec)
gm107_nvdec_nofw(struct nvkm_nvdec *nvdec, int ver,
struct nvkm_nvdec **pnvdec)
int (*load)(struct nvkm_nvdec *, int ver,
enum nvkm_subdev_type, int, u32 addr, struct nvkm_nvdec **);
struct nvkm_nvdec **pnvdec)
return container_of(engine, struct nvkm_nvdec, engine);
struct nvkm_nvdec *nvdec;