/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | priv.h | 4 #define nvkm_pmu(p) container_of((p), struct nvkm_pmu, subdev) macro 23 bool (*enabled)(struct nvkm_pmu *); 24 void (*reset)(struct nvkm_pmu *); 25 int (*init)(struct nvkm_pmu *); 26 void (*fini)(struct nvkm_pmu *); 27 void (*intr)(struct nvkm_pmu *); 30 void (*recv)(struct nvkm_pmu *); 31 int (*initmsg)(struct nvkm_pmu *); 36 int gt215_pmu_init(struct nvkm_pmu *); 68 struct nvkm_pmu *); [all …]
|
H A D | base.c | 32 struct nvkm_pmu *pmu = device->pmu; in nvkm_pmu_fan_controlled() 48 nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in nvkm_pmu_pgob() 62 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in nvkm_pmu_send() 73 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_intr() 82 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_fini() 96 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_init() 107 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_dtor() 114 return nvkm_pmu(subdev); in nvkm_pmu_dtor() 118 nvkm_pmu = { variable 131 nvkm_subdev_ctor(&nvkm_pmu, device, type, inst, &pmu->subdev); in nvkm_pmu_ctor() [all …]
|
H A D | gf100.c | 30 gf100_pmu_reset(struct nvkm_pmu *pmu) in gf100_pmu_reset() 38 gf100_pmu_enabled(struct nvkm_pmu *pmu) in gf100_pmu_enabled() 60 gf100_pmu_nofw(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gf100_pmu_nofw() 73 struct nvkm_pmu **ppmu) in gf100_pmu_new()
|
H A D | gm20b.c | 42 struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon); in gm20b_pmu_acr_bootstrap_falcon() 129 struct nvkm_pmu *pmu = priv; in gm20b_pmu_acr_init_wpr_callback() 144 gm20b_pmu_acr_init_wpr(struct nvkm_pmu *pmu) in gm20b_pmu_acr_init_wpr() 159 gm20b_pmu_initmsg(struct nvkm_pmu *pmu) in gm20b_pmu_initmsg() 185 gm20b_pmu_recv(struct nvkm_pmu *pmu) in gm20b_pmu_recv() 201 gm20b_pmu_fini(struct nvkm_pmu *pmu) in gm20b_pmu_fini() 215 gm20b_pmu_init(struct nvkm_pmu *pmu) in gm20b_pmu_init() 251 gm20b_pmu_load(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gm20b_pmu_load() 267 struct nvkm_pmu **ppmu) in gm20b_pmu_new()
|
H A D | gt215.c | 30 gt215_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in gt215_pmu_send() 87 gt215_pmu_recv(struct nvkm_pmu *pmu) in gt215_pmu_recv() 139 gt215_pmu_intr(struct nvkm_pmu *pmu) in gt215_pmu_intr() 178 gt215_pmu_fini(struct nvkm_pmu *pmu) in gt215_pmu_fini() 185 gt215_pmu_reset(struct nvkm_pmu *pmu) in gt215_pmu_reset() 195 gt215_pmu_enabled(struct nvkm_pmu *pmu) in gt215_pmu_enabled() 201 gt215_pmu_init(struct nvkm_pmu *pmu) in gt215_pmu_init() 291 struct nvkm_pmu **ppmu) in gt215_pmu_new()
|
H A D | gk20a.c | 40 struct nvkm_pmu base; 158 gk20a_pmu_fini(struct nvkm_pmu *pmu) in gk20a_pmu_fini() 167 gk20a_pmu_init(struct nvkm_pmu *pmu) in gk20a_pmu_init() 213 struct nvkm_pmu **ppmu) in gk20a_pmu_new()
|
H A D | gm200.c | 68 gm200_pmu_nofw(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gm200_pmu_nofw() 82 struct nvkm_pmu **ppmu) in gm200_pmu_new()
|
H A D | memx.c | 7 struct nvkm_pmu *pmu; 44 nvkm_memx_init(struct nvkm_pmu *pmu, struct nvkm_memx **pmemx) in nvkm_memx_init() 75 struct nvkm_pmu *pmu = memx->pmu; in nvkm_memx_fini() 166 nvkm_memx_train_result(struct nvkm_pmu *pmu, u32 *res, int rsize) in nvkm_memx_train_result()
|
H A D | gk110.c | 32 gk110_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in gk110_pmu_pgob() 110 struct nvkm_pmu **ppmu) in gk110_pmu_new()
|
H A D | gp10b.c | 40 struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon); in gp10b_pmu_acr_bootstrap_multiple_falcons() 93 struct nvkm_pmu **ppmu) in gp10b_pmu_new()
|
H A D | gk104.c | 57 gk104_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in gk104_pmu_pgob() 131 struct nvkm_pmu **ppmu) in gk104_pmu_new()
|
H A D | gp102.c | 55 struct nvkm_pmu **ppmu) in gp102_pmu_new()
|
H A D | gf119.c | 51 struct nvkm_pmu **ppmu) in gf119_pmu_new()
|
H A D | gk208.c | 52 struct nvkm_pmu **ppmu) in gk208_pmu_new()
|
H A D | gm107.c | 53 struct nvkm_pmu **ppmu) in gm107_pmu_new()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | pmu.h | 7 struct nvkm_pmu { struct 38 int nvkm_pmu_send(struct nvkm_pmu *, u32 reply[2], u32 process, argument 40 void nvkm_pmu_pgob(struct nvkm_pmu *, bool enable); 43 int gt215_pmu_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pmu **); 44 int gf100_pmu_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pmu **); 45 int gf119_pmu_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pmu **); 46 int gk104_pmu_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pmu **); 47 int gk110_pmu_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pmu **); 48 int gk208_pmu_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_pmu **); 58 int nvkm_memx_init(struct nvkm_pmu *, struct nvkm_memx **); [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | layout.h | 23 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PMU , struct nvkm_pmu , pmu)
|