/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 190 struct mmal_msg_context *msg_context; in get_msg_context() local 194 msg_context = kzalloc(sizeof(*msg_context), GFP_KERNEL); in get_msg_context() 196 if (!msg_context) in get_msg_context() 204 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context() 209 kfree(msg_context); in get_msg_context() 213 msg_context->instance = instance; in get_msg_context() 214 msg_context->handle = handle; in get_msg_context() 216 return msg_context; in get_msg_context() 226 release_msg_context(struct mmal_msg_context *msg_context) in release_msg_context() argument 255 struct mmal_msg_context *msg_context = buffer_work_cb() local 287 struct mmal_msg_context *msg_context = buffer_to_host_work_cb() local 316 bulk_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) bulk_receive() argument 361 inline_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) inline_receive() argument 380 struct mmal_msg_context *msg_context; buffer_from_host() local 459 struct mmal_msg_context *msg_context; buffer_to_host_cb() local 534 bulk_receive_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_receive_cb() argument 543 bulk_abort_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_abort_cb() argument 561 struct mmal_msg_context *msg_context; service_callback() local 658 struct mmal_msg_context *msg_context; send_synchronous_mmal_msg() local 1614 struct mmal_msg_context *msg_context = get_msg_context(instance); mmal_vchi_buffer_init() local 1626 struct mmal_msg_context *msg_context = buf->msg_context; mmal_vchi_buffer_cleanup() local [all...] |
H A D | mmal-common.h | 51 struct mmal_msg_context *msg_context; member
|
/kernel/linux/linux-6.6/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 187 struct mmal_msg_context *msg_context; in get_msg_context() local 191 msg_context = kzalloc(sizeof(*msg_context), GFP_KERNEL); in get_msg_context() 193 if (!msg_context) in get_msg_context() 201 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context() 206 kfree(msg_context); in get_msg_context() 210 msg_context->instance = instance; in get_msg_context() 211 msg_context->handle = handle; in get_msg_context() 213 return msg_context; in get_msg_context() 223 release_msg_context(struct mmal_msg_context *msg_context) in release_msg_context() argument 252 struct mmal_msg_context *msg_context = buffer_work_cb() local 284 struct mmal_msg_context *msg_context = buffer_to_host_work_cb() local 313 bulk_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) bulk_receive() argument 358 inline_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) inline_receive() argument 377 struct mmal_msg_context *msg_context; buffer_from_host() local 456 struct mmal_msg_context *msg_context; buffer_to_host_cb() local 531 bulk_receive_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_receive_cb() argument 540 bulk_abort_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_abort_cb() argument 558 struct mmal_msg_context *msg_context; service_callback() local 655 struct mmal_msg_context *msg_context; send_synchronous_mmal_msg() local 1611 struct mmal_msg_context *msg_context = get_msg_context(instance); mmal_vchi_buffer_init() local 1623 struct mmal_msg_context *msg_context = buf->msg_context; mmal_vchi_buffer_cleanup() local [all...] |
H A D | mmal-common.h | 51 struct mmal_msg_context *msg_context; member
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A D | mptbase.h | 445 #define SET_MGMT_MSG_CONTEXT(msg_context, value) \ 446 msg_context = value; 455 u32 msg_context; member
|
H A D | mptctl.c | 218 if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) in mptctl_reply() 927 SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, dlmsg->MsgContext); in mptctl_do_fw_download() 987 SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, 0); in mptctl_do_fw_download() 2164 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, hdr->MsgContext); in mptctl_do_mpt_command() 2289 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_do_mpt_command() 2488 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, in mptctl_hp_hostinfo() 2527 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_hp_hostinfo()
|
/kernel/linux/linux-6.6/drivers/message/fusion/ |
H A D | mptbase.h | 445 #define SET_MGMT_MSG_CONTEXT(msg_context, value) \ 446 msg_context = value; 455 u32 msg_context; member
|
H A D | mptctl.c | 218 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() 2162 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, hdr->MsgContext); in mptctl_do_mpt_command() 2287 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_do_mpt_command() 2488 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, in mptctl_hp_hostinfo() 2526 SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); in mptctl_hp_hostinfo()
|