• Home
  • Raw
  • Download

Lines Matching refs:pmu

42 	struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon);  in gm20b_pmu_acr_bootstrap_falcon()  local
52 ret = nvkm_falcon_cmdq_send(pmu->hpq, &cmd.cmd.hdr, in gm20b_pmu_acr_bootstrap_falcon()
54 &pmu->subdev, msecs_to_jiffies(1000)); in gm20b_pmu_acr_bootstrap_falcon()
140 struct nvkm_pmu *pmu = priv; in gm20b_pmu_acr_init_wpr_callback() local
141 struct nvkm_subdev *subdev = &pmu->subdev; in gm20b_pmu_acr_init_wpr_callback()
150 complete_all(&pmu->wpr_ready); in gm20b_pmu_acr_init_wpr_callback()
155 gm20b_pmu_acr_init_wpr(struct nvkm_pmu *pmu) in gm20b_pmu_acr_init_wpr() argument
165 return nvkm_falcon_cmdq_send(pmu->hpq, &cmd.cmd.hdr, in gm20b_pmu_acr_init_wpr()
166 gm20b_pmu_acr_init_wpr_callback, pmu, 0); in gm20b_pmu_acr_init_wpr()
170 gm20b_pmu_initmsg(struct nvkm_pmu *pmu) in gm20b_pmu_initmsg() argument
175 ret = nvkm_falcon_msgq_recv_initmsg(pmu->msgq, &msg, sizeof(msg)); in gm20b_pmu_initmsg()
183 nvkm_falcon_cmdq_init(pmu->hpq, msg.queue_info[0].index, in gm20b_pmu_initmsg()
186 nvkm_falcon_cmdq_init(pmu->lpq, msg.queue_info[1].index, in gm20b_pmu_initmsg()
189 nvkm_falcon_msgq_init(pmu->msgq, msg.queue_info[4].index, in gm20b_pmu_initmsg()
192 return gm20b_pmu_acr_init_wpr(pmu); in gm20b_pmu_initmsg()
196 gm20b_pmu_recv(struct nvkm_pmu *pmu) in gm20b_pmu_recv() argument
198 if (!pmu->initmsg_received) { in gm20b_pmu_recv()
199 int ret = pmu->func->initmsg(pmu); in gm20b_pmu_recv()
201 nvkm_error(&pmu->subdev, in gm20b_pmu_recv()
206 pmu->initmsg_received = true; in gm20b_pmu_recv()
209 nvkm_falcon_msgq_recv(pmu->msgq); in gm20b_pmu_recv()
229 gm20b_pmu_load(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gm20b_pmu_load() argument
231 return nvkm_acr_lsfw_load_sig_image_desc(&pmu->subdev, &pmu->falcon, in gm20b_pmu_load()