Home
last modified time | relevance | path

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

/linux/drivers/platform/raspberrypi/vchiq-mmal/
H A Dmmal-vchiq.c189 struct mmal_msg_context *msg_context; in get_msg_context() local
193 msg_context = kzalloc(sizeof(*msg_context), GFP_KERNEL); in get_msg_context()
195 if (!msg_context) in get_msg_context()
203 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
208 kfree(msg_context); in get_msg_context()
212 msg_context->instance = instance; in get_msg_context()
213 msg_context->handle = handle; in get_msg_context()
215 return msg_context; in get_msg_context()
225 release_msg_context(struct mmal_msg_context *msg_context) in release_msg_context() argument
227 struct vchiq_mmal_instance *instance = msg_context->instance; in release_msg_context()
[all …]
H A Dmmal-common.h51 struct mmal_msg_context *msg_context; member
/linux/drivers/message/fusion/
H A Dmptbase.h445 #define SET_MGMT_MSG_CONTEXT(msg_context, value) \ argument
446 msg_context = value;
455 u32 msg_context; member
H A Dmptctl.c218 if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) in mptctl_reply()
923 SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, dlmsg->MsgContext); in mptctl_do_fw_download()
983 SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, 0); in mptctl_do_fw_download()
2160 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, hdr->MsgContext); in mptctl_do_mpt_command()
2285 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_do_mpt_command()
2487 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, in mptctl_hp_hostinfo()
2525 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_hp_hostinfo()