Lines Matching full:shmem
89 * When set, OP-TEE supports command using SMT header protocol (SCMI shmem) in
112 * @shmem: Virtual base address of the shared memory
114 * @tee_shm: TEE shared memory handle @req or NULL if using IOMEM shmem
125 struct scmi_shared_mem __iomem *shmem; member
344 shmem_clear_channel(channel->req.shmem); in scmi_optee_clear_channel()
354 dev_err(channel->cinfo->dev, "shmem allocation failed\n"); in setup_dynamic_shmem()
374 np = of_parse_phandle(cinfo->dev->of_node, "shmem", 0); in setup_static_shmem()
375 if (!of_device_is_compatible(np, "arm,scmi-shmem")) { in setup_static_shmem()
388 channel->req.shmem = devm_ioremap(dev, res.start, size); in setup_static_shmem()
389 if (!channel->req.shmem) { in setup_static_shmem()
406 if (of_property_present(cinfo->dev->of_node, "shmem")) in setup_shmem()
499 shmem_tx_prepare(channel->req.shmem, xfer, cinfo); in scmi_optee_send_message()
517 shmem_fetch_response(channel->req.shmem, xfer); in scmi_optee_fetch_response()