Lines Matching full:shmem
24 * @shmem: Transmit/Receive shared memory area
30 struct scmi_shared_mem __iomem *shmem; member
39 shmem_tx_prepare(smbox->shmem, m); in tx_prepare()
46 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback()
61 struct device_node *shmem; in mailbox_chan_setup() local
71 shmem = of_parse_phandle(cdev->of_node, "shmem", idx); in mailbox_chan_setup()
72 if (!of_device_is_compatible(shmem, "arm,scmi-shmem")) in mailbox_chan_setup()
75 ret = of_address_to_resource(shmem, 0, &res); in mailbox_chan_setup()
76 of_node_put(shmem); in mailbox_chan_setup()
83 smbox->shmem = devm_ioremap(dev, res.start, size); in mailbox_chan_setup()
84 if (!smbox->shmem) { in mailbox_chan_setup()
161 shmem_fetch_response(smbox->shmem, xfer); in mailbox_fetch_response()
169 shmem_fetch_notification(smbox->shmem, max_len, xfer); in mailbox_fetch_notification()
176 shmem_clear_channel(smbox->shmem); in mailbox_clear_channel()
184 return shmem_poll_done(smbox->shmem, xfer); in mailbox_poll_done()