Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/fsl/
Dimx-audio-rpmsg.c21 struct rpmsg_r_msg *r_msg = (struct rpmsg_r_msg *)data; in imx_audio_rpmsg_cb() local
32 src, r_msg->header.cmd, r_msg->param.resp); in imx_audio_rpmsg_cb()
34 switch (r_msg->header.type) { in imx_audio_rpmsg_cb()
37 switch (r_msg->header.cmd) { in imx_audio_rpmsg_cb()
41 msg->r_msg.param.buffer_tail = in imx_audio_rpmsg_cb()
42 r_msg->param.buffer_tail; in imx_audio_rpmsg_cb()
43 msg->r_msg.param.buffer_tail %= info->num_period[TX]; in imx_audio_rpmsg_cb()
50 msg->r_msg.param.buffer_tail = in imx_audio_rpmsg_cb()
51 r_msg->param.buffer_tail; in imx_audio_rpmsg_cb()
52 msg->r_msg.param.buffer_tail %= info->num_period[1]; in imx_audio_rpmsg_cb()
[all …]
Dimx-pcm-rpmsg.c77 memcpy(&msg->r_msg, &info->r_msg, sizeof(struct rpmsg_r_msg)); in imx_rpmsg_pcm_send_message()
78 memcpy(&info->msg[msg->r_msg.header.cmd].r_msg, in imx_rpmsg_pcm_send_message()
79 &msg->r_msg, sizeof(struct rpmsg_r_msg)); in imx_rpmsg_pcm_send_message()
90 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_send_message()
93 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_send_message()
100 info->r_msg.param.resp); in imx_rpmsg_pcm_send_message()
203 buffer_tail = msg->r_msg.param.buffer_tail; in imx_rpmsg_pcm_pointer()
243 info->msg[cmd].r_msg.param.buffer_tail = 0; in imx_rpmsg_pcm_open()
244 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_open()
253 info->msg[cmd].r_msg.param.buffer_tail = 0; in imx_rpmsg_pcm_open()
[all …]
Dimx-pcm-rpmsg.h437 struct rpmsg_r_msg r_msg; member
489 struct rpmsg_r_msg r_msg; member
/linux-6.1.9/ipc/
Dmsg.c84 struct msg_msg *r_msg; member
260 smp_store_release(&msr->r_msg, ERR_PTR(res)); in expunge_all()
831 smp_store_release(&msr->r_msg, ERR_PTR(-E2BIG)); in pipelined_send()
839 smp_store_release(&msr->r_msg, msg); in pipelined_send()
1191 WRITE_ONCE(msr_d.r_msg, ERR_PTR(-EAGAIN)); in do_msgrcv()
1221 msg = READ_ONCE(msr_d.r_msg); in do_msgrcv()
1235 msg = READ_ONCE(msr_d.r_msg); in do_msgrcv()