Lines Matching defs:client
4 * Responsible for setting up and managing QSEECOM client devices.
19 * struct qseecom_client - QSEECOM client device.
29 * qseecom_scm_dev() - Get the SCM device associated with the QSEECOM client.
30 * @client: The QSEECOM client device.
32 * Returns the SCM device under which the provided QSEECOM client device
35 static inline struct device *qseecom_scm_dev(struct qseecom_client *client)
37 return client->aux_dev.dev.parent->parent;
41 * qseecom_dma_alloc() - Allocate DMA memory for a QSEECOM client.
42 * @client: The QSEECOM client to allocate the memory for.
50 static inline void *qseecom_dma_alloc(struct qseecom_client *client, size_t size,
53 return dma_alloc_coherent(qseecom_scm_dev(client), size, dma_handle, gfp);
58 * @client: The QSEECOM client for which the memory has been allocated.
67 static inline void qseecom_dma_free(struct qseecom_client *client, size_t size,
70 return dma_free_coherent(qseecom_scm_dev(client), size, cpu_addr, dma_handle);
75 * @client: The QSEECOM client associated with the target app.
81 * Sends a request to the QSEE app associated with the given client and read
92 static inline int qcom_qseecom_app_send(struct qseecom_client *client,
96 return qcom_scm_qseecom_app_send(client->app_id, req, req_size, rsp, rsp_size);