Home
last modified time | relevance | path

Searched refs:msg_context (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-vchiq.c181 struct mmal_msg_context *msg_context; in get_msg_context() local
185 msg_context = kzalloc(sizeof(*msg_context), GFP_KERNEL); in get_msg_context()
187 if (!msg_context) in get_msg_context()
195 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
200 kfree(msg_context); in get_msg_context()
204 msg_context->instance = instance; in get_msg_context()
205 msg_context->handle = handle; in get_msg_context()
207 return msg_context; in get_msg_context()
217 release_msg_context(struct mmal_msg_context *msg_context) in release_msg_context() argument
219 struct vchiq_mmal_instance *instance = msg_context->instance; in release_msg_context()
[all …]
Dmmal-common.h51 struct mmal_msg_context *msg_context; member
/Linux-v5.4/drivers/message/fusion/
Dmptbase.h445 #define SET_MGMT_MSG_CONTEXT(msg_context, value) \ argument
446 msg_context = value;
455 u32 msg_context; member
Dmptctl.c218 if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) in mptctl_reply()
944 SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, dlmsg->MsgContext); in mptctl_do_fw_download()
1004 SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, 0); in mptctl_do_fw_download()
2261 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, hdr->MsgContext); in mptctl_do_mpt_command()
2386 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_do_mpt_command()
2593 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, in mptctl_hp_hostinfo()
2632 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_hp_hostinfo()