Lines Matching full:shmem
26 * The shmem address is split into 4K page and offset.
29 * This however limits the shmem address to 44 bit.
47 * @shmem: Transmit/Receive shared memory area
54 * @param_page: 4K page number of the shmem channel
55 * @param_offset: Offset within the 4K page of the shmem channel
63 struct scmi_shared_mem __iomem *shmem; member
65 /* Protect access to shmem area */
82 core->shmem->read_header(scmi_info->shmem), NULL); in smc_msg_done_isr()
90 of_parse_phandle(of_node, "shmem", 0); in smc_chan_available()
149 scmi_info->shmem = core->shmem->setup_iomap(cinfo, dev, tx, &res, in smc_chan_setup()
151 if (IS_ERR(scmi_info->shmem)) in smc_chan_setup()
152 return PTR_ERR(scmi_info->shmem); in smc_chan_setup()
160 void __iomem *ptr = (void __iomem *)scmi_info->shmem + size - 8; in smc_chan_setup()
161 /* The capability-id is kept in last 8 bytes of shmem. in smc_chan_setup()
163 * | shmem | in smc_chan_setup()
235 core->shmem->tx_prepare(scmi_info->shmem, xfer, cinfo, in smc_send_message()
260 core->shmem->fetch_response(scmi_info->shmem, xfer, in smc_fetch_response()