Lines Matching refs:msg
150 struct zynqmp_ipi_message *msg; in zynqmp_ipi_interrupt() local
166 msg = mchan->rx_buf; in zynqmp_ipi_interrupt()
167 msg->len = mchan->req_buf_size; in zynqmp_ipi_interrupt()
168 memcpy_fromio(msg->data, mchan->req_buf, in zynqmp_ipi_interrupt()
169 msg->len); in zynqmp_ipi_interrupt()
170 mbox_chan_received_data(chan, (void *)msg); in zynqmp_ipi_interrupt()
268 struct zynqmp_ipi_message *msg = data; in zynqmp_ipi_send_data() local
279 if (msg && msg->len > mchan->req_buf_size) { in zynqmp_ipi_send_data()
281 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
285 if (msg && msg->len) in zynqmp_ipi_send_data()
286 memcpy_toio(mchan->req_buf, msg->data, msg->len); in zynqmp_ipi_send_data()
292 if (msg && msg->len > mchan->resp_buf_size) { in zynqmp_ipi_send_data()
294 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
298 if (msg && msg->len) in zynqmp_ipi_send_data()
299 memcpy_toio(mchan->resp_buf, msg->data, msg->len); in zynqmp_ipi_send_data()