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)); in rx_callback()
61 num_sh = of_count_phandle_with_args(np, "shmem", NULL); in mailbox_chan_validate()
62 /* Bail out if mboxes and shmem descriptors are inconsistent */ in mailbox_chan_validate()
72 np_tx = of_parse_phandle(np, "shmem", 0); in mailbox_chan_validate()
73 np_rx = of_parse_phandle(np, "shmem", 1); in mailbox_chan_validate()
76 dev_warn(cdev, "Invalid shmem descriptor for '%s'\n", in mailbox_chan_validate()
94 struct device_node *shmem; in mailbox_chan_setup() local
108 shmem = of_parse_phandle(cdev->of_node, "shmem", idx); in mailbox_chan_setup()
109 ret = of_address_to_resource(shmem, 0, &res); in mailbox_chan_setup()
110 of_node_put(shmem); in mailbox_chan_setup()
117 smbox->shmem = devm_ioremap(dev, res.start, size); in mailbox_chan_setup()
118 if (!smbox->shmem) { in mailbox_chan_setup()
195 shmem_fetch_response(smbox->shmem, xfer); in mailbox_fetch_response()
203 shmem_fetch_notification(smbox->shmem, max_len, xfer); in mailbox_fetch_notification()
210 shmem_clear_channel(smbox->shmem); in mailbox_clear_channel()
218 return shmem_poll_done(smbox->shmem, xfer); in mailbox_poll_done()