Lines Matching refs:sec2
32 gp102_sec2_nofw(struct nvkm_sec2 *sec2, int ver, in gp102_sec2_nofw() argument
35 nvkm_warn(&sec2->engine.subdev, "firmware unavailable\n"); in gp102_sec2_nofw()
62 struct nvkm_sec2 *sec2 = container_of(falcon, typeof(*sec2), falcon); in gp102_sec2_acr_bootstrap_falcon() local
64 .cmd.hdr.unit_id = sec2->func->unit_acr, in gp102_sec2_acr_bootstrap_falcon()
71 return nvkm_falcon_cmdq_send(sec2->cmdq, &cmd.cmd.hdr, in gp102_sec2_acr_bootstrap_falcon()
73 &sec2->engine.subdev, in gp102_sec2_acr_bootstrap_falcon()
133 gp102_sec2_initmsg(struct nvkm_sec2 *sec2) in gp102_sec2_initmsg() argument
138 ret = nvkm_falcon_msgq_recv_initmsg(sec2->msgq, &msg, sizeof(msg)); in gp102_sec2_initmsg()
148 nvkm_falcon_msgq_init(sec2->msgq, in gp102_sec2_initmsg()
153 nvkm_falcon_cmdq_init(sec2->cmdq, in gp102_sec2_initmsg()
164 gp102_sec2_intr(struct nvkm_sec2 *sec2) in gp102_sec2_intr() argument
166 struct nvkm_subdev *subdev = &sec2->engine.subdev; in gp102_sec2_intr()
167 struct nvkm_falcon *falcon = &sec2->falcon; in gp102_sec2_intr()
172 schedule_work(&sec2->work); in gp102_sec2_intr()
315 gp102_sec2_load(struct nvkm_sec2 *sec2, int ver, in gp102_sec2_load() argument
318 return nvkm_acr_lsfw_load_sig_image_desc_v1(&sec2->engine.subdev, in gp102_sec2_load()
319 &sec2->falcon, in gp102_sec2_load()