Lines Matching refs:shmem
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)); 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 ret = of_address_to_resource(shmem, 0, &res); in mailbox_chan_setup()
73 of_node_put(shmem); in mailbox_chan_setup()
80 smbox->shmem = devm_ioremap(dev, res.start, size); in mailbox_chan_setup()
81 if (!smbox->shmem) { in mailbox_chan_setup()
158 shmem_fetch_response(smbox->shmem, xfer); in mailbox_fetch_response()
166 shmem_fetch_notification(smbox->shmem, max_len, xfer); in mailbox_fetch_notification()
173 shmem_clear_channel(smbox->shmem); in mailbox_clear_channel()
181 return shmem_poll_done(smbox->shmem, xfer); in mailbox_poll_done()