Lines Matching full:shmem

27  * @shmem: Transmit/Receive shared memory area
37 struct scmi_shared_mem __iomem *shmem; member
50 core->shmem->tx_prepare(smbox->shmem, m, smbox->cinfo, in tx_prepare()
68 !core->shmem->channel_free(smbox->shmem)) { in rx_callback()
71 core->shmem->read_header(smbox->shmem), in rx_callback()
77 core->shmem->read_header(smbox->shmem), NULL); in rx_callback()
110 * 'mboxes' and 'shmem', then determin which mailbox channel indexes are
122 num_sh = of_count_phandle_with_args(np, "shmem", NULL); in mailbox_chan_validate()
125 /* Bail out if mboxes and shmem descriptors are inconsistent */ in mailbox_chan_validate()
135 /* Bail out if provided shmem descriptors do not refer distinct areas */ in mailbox_chan_validate()
138 of_parse_phandle(np, "shmem", 0); in mailbox_chan_validate()
140 of_parse_phandle(np, "shmem", 1); in mailbox_chan_validate()
143 dev_warn(cdev, "Invalid shmem descriptor for '%s'\n", in mailbox_chan_validate()
149 /* Calculate channels IDs to use depending on mboxes/shmem layout */ in mailbox_chan_validate()
203 smbox->shmem = core->shmem->setup_iomap(cinfo, dev, tx, NULL, in mailbox_chan_setup()
205 if (IS_ERR(smbox->shmem)) in mailbox_chan_setup()
206 return PTR_ERR(smbox->shmem); in mailbox_chan_setup()
312 core->shmem->fetch_response(smbox->shmem, xfer, smbox->io_ops->fromio); in mailbox_fetch_response()
320 core->shmem->fetch_notification(smbox->shmem, max_len, xfer, in mailbox_fetch_notification()
330 core->shmem->clear_channel(smbox->shmem); in mailbox_clear_channel()
332 if (!core->shmem->channel_intr_enabled(smbox->shmem)) in mailbox_clear_channel()
355 return core->shmem->poll_done(smbox->shmem, xfer); in mailbox_poll_done()