Lines Matching refs:msg
32 struct nv_sec2_init_msg_v1 msg; in ga102_sec2_initmsg() local
35 ret = nvkm_falcon_msgq_recv_initmsg(sec2->msgq, &msg, sizeof(msg)); in ga102_sec2_initmsg()
39 if (msg.hdr.unit_id != NV_SEC2_UNIT_INIT || in ga102_sec2_initmsg()
40 msg.msg_type != NV_SEC2_INIT_MSG_INIT) in ga102_sec2_initmsg()
43 for (i = 0; i < ARRAY_SIZE(msg.queue_info); i++) { in ga102_sec2_initmsg()
44 if (msg.queue_info[i].id == NV_SEC2_INIT_MSG_QUEUE_ID_MSGQ) { in ga102_sec2_initmsg()
45 nvkm_falcon_msgq_init(sec2->msgq, msg.queue_info[i].index, in ga102_sec2_initmsg()
46 msg.queue_info[i].offset, in ga102_sec2_initmsg()
47 msg.queue_info[i].size); in ga102_sec2_initmsg()
49 nvkm_falcon_cmdq_init(sec2->cmdq, msg.queue_info[i].index, in ga102_sec2_initmsg()
50 msg.queue_info[i].offset, in ga102_sec2_initmsg()
51 msg.queue_info[i].size); in ga102_sec2_initmsg()
76 struct nv_sec2_acr_bootstrap_falcon_msg_v1 *msg = in ga102_sec2_acr_bootstrap_falcon_callback() local
77 container_of(hdr, typeof(*msg), msg.hdr); in ga102_sec2_acr_bootstrap_falcon_callback()
79 const char *name = nvkm_acr_lsf_id(msg->falcon_id); in ga102_sec2_acr_bootstrap_falcon_callback()
81 if (msg->error_code) { in ga102_sec2_acr_bootstrap_falcon_callback()
83 msg->falcon_id, name, msg->error_code, msg->unkn08); in ga102_sec2_acr_bootstrap_falcon_callback()