Lines Matching full:shmem

27  * @shmem: Transmit/Receive shared memory area
36 struct scmi_shared_mem __iomem *shmem; member
48 core->shmem->tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare()
65 !core->shmem->channel_free(smbox->shmem)) { in rx_callback()
68 core->shmem->read_header(smbox->shmem), in rx_callback()
74 core->shmem->read_header(smbox->shmem), NULL); in rx_callback()
107 * 'mboxes' and 'shmem', then determin which mailbox channel indexes are
119 num_sh = of_count_phandle_with_args(np, "shmem", NULL); in mailbox_chan_validate()
122 /* Bail out if mboxes and shmem descriptors are inconsistent */ in mailbox_chan_validate()
132 /* Bail out if provided shmem descriptors do not refer distinct areas */ in mailbox_chan_validate()
135 of_parse_phandle(np, "shmem", 0); in mailbox_chan_validate()
137 of_parse_phandle(np, "shmem", 1); in mailbox_chan_validate()
140 dev_warn(cdev, "Invalid shmem descriptor for '%s'\n", in mailbox_chan_validate()
146 /* Calculate channels IDs to use depending on mboxes/shmem layout */ in mailbox_chan_validate()
200 smbox->shmem = core->shmem->setup_iomap(cinfo, dev, tx, NULL); in mailbox_chan_setup()
201 if (IS_ERR(smbox->shmem)) in mailbox_chan_setup()
202 return PTR_ERR(smbox->shmem); in mailbox_chan_setup()
308 core->shmem->fetch_response(smbox->shmem, xfer); in mailbox_fetch_response()
316 core->shmem->fetch_notification(smbox->shmem, max_len, xfer); in mailbox_fetch_notification()
325 core->shmem->clear_channel(smbox->shmem); in mailbox_clear_channel()
327 if (!core->shmem->channel_intr_enabled(smbox->shmem)) in mailbox_clear_channel()
350 return core->shmem->poll_done(smbox->shmem, xfer); in mailbox_poll_done()