Lines Matching refs:shmem
89 * When set, OP-TEE supports command using SMT header protocol (SCMI shmem) in
113 * @req.shmem: Virtual base address of the shared memory
116 * @tee_shm: TEE shared memory handle @req or NULL if using IOMEM shmem
127 struct scmi_shared_mem __iomem *shmem;
346 shmem_clear_channel(channel->req.shmem);
356 dev_err(channel->cinfo->dev, "shmem allocation failed\n");
376 np = of_parse_phandle(cinfo->dev->of_node, "shmem", 0);
377 if (!of_device_is_compatible(np, "arm,scmi-shmem")) {
390 channel->req.shmem = devm_ioremap(dev, res.start, size);
391 if (!channel->req.shmem) {
408 if (of_property_present(cinfo->dev->of_node, "shmem"))
505 shmem_tx_prepare(channel->req.shmem, xfer, cinfo);
523 shmem_fetch_response(channel->req.shmem, xfer);