Home
last modified time | relevance | path

Searched refs:oic (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/tee/qcomtee/
H A Dcore.c51 qcomtee_qtee_object_alloc(struct qcomtee_object_invoke_ctx *oic, in qcomtee_qtee_object_alloc() argument
54 struct qcomtee *qcomtee = tee_get_drvdata(oic->ctx->teedev); in qcomtee_qtee_object_alloc()
93 qcomtee->oic.ctx = object->info.qcomtee_async_ctx; in qcomtee_do_release_qtee_object()
95 ret = qcomtee_object_do_invoke_internal(&qcomtee->oic, object, in qcomtee_do_release_qtee_object()
182 static int qcomtee_idx_alloc(struct qcomtee_object_invoke_ctx *oic, u32 *idx, in qcomtee_idx_alloc() argument
185 struct qcomtee *qcomtee = tee_get_drvdata(oic->ctx->teedev); in qcomtee_idx_alloc()
194 struct qcomtee_object *qcomtee_idx_erase(struct qcomtee_object_invoke_ctx *oic, in qcomtee_idx_erase() argument
197 struct qcomtee *qcomtee = tee_get_drvdata(oic->ctx->teedev); in qcomtee_idx_erase()
216 static int qcomtee_object_id_get(struct qcomtee_object_invoke_ctx *oic, in qcomtee_object_id_get() argument
224 if (qcomtee_idx_alloc(oic, &idx, object) < 0) in qcomtee_object_id_get()
[all …]
H A Dshm.c40 int qcomtee_msg_buffers_alloc(struct qcomtee_object_invoke_ctx *oic, in qcomtee_msg_buffers_alloc() argument
43 struct tee_context *ctx = oic->ctx; in qcomtee_msg_buffers_alloc()
73 oic->in_shm = shm; in qcomtee_msg_buffers_alloc()
76 tee_shm_free(oic->in_shm); in qcomtee_msg_buffers_alloc()
81 oic->out_shm = shm; in qcomtee_msg_buffers_alloc()
83 oic->in_msg.addr = tee_shm_get_va(oic->in_shm, 0); in qcomtee_msg_buffers_alloc()
84 oic->in_msg.size = tee_shm_get_size(oic->in_shm); in qcomtee_msg_buffers_alloc()
85 oic->out_msg.addr = tee_shm_get_va(oic->out_shm, 0); in qcomtee_msg_buffers_alloc()
86 oic->out_msg.size = tee_shm_get_size(oic->out_shm); in qcomtee_msg_buffers_alloc()
88 memzero_explicit(oic->in_msg.addr, oic->in_msg.size); in qcomtee_msg_buffers_alloc()
[all …]
H A Dqcomtee_object.h177 struct qcomtee_object_invoke_ctx *oic; in qcomtee_object_invoke_ctx_alloc() local
179 oic = kzalloc_obj(*oic); in qcomtee_object_invoke_ctx_alloc()
180 if (oic) in qcomtee_object_invoke_ctx_alloc()
181 oic->ctx = ctx; in qcomtee_object_invoke_ctx_alloc()
182 return oic; in qcomtee_object_invoke_ctx_alloc()
201 int qcomtee_object_do_invoke(struct qcomtee_object_invoke_ctx *oic,
213 int (*dispatch)(struct qcomtee_object_invoke_ctx *oic,
216 void (*notify)(struct qcomtee_object_invoke_ctx *oic,
310 qcomtee_object_get_client_env(struct qcomtee_object_invoke_ctx *oic);
313 qcomtee_object_get_service(struct qcomtee_object_invoke_ctx *oic,
H A Dcall.c413 struct qcomtee_object_invoke_ctx *oic __free(kfree) = in qcomtee_object_invoke()
415 if (!oic) in qcomtee_object_invoke()
439 ret = qcomtee_object_do_invoke(oic, object, arg->op, u, &result); in qcomtee_object_invoke()
650 struct qcomtee_object_invoke_ctx *oic __free(kfree) = in qcomtee_get_qtee_feature_list()
652 if (!oic) in qcomtee_get_qtee_feature_list()
655 client_env = qcomtee_object_get_client_env(oic); in qcomtee_get_qtee_feature_list()
660 service = qcomtee_object_get_service(oic, client_env, in qcomtee_get_qtee_feature_list()
675 qcomtee_object_do_invoke(oic, service, QCOMTEE_FEATURE_VER_OP_GET, u, in qcomtee_get_qtee_feature_list()
H A Duser_obj.c225 static int qcomtee_user_object_dispatch(struct qcomtee_object_invoke_ctx *oic, in qcomtee_user_object_dispatch() argument
262 oic->data = no_free_ptr(ureq); in qcomtee_user_object_dispatch()
286 oic->data = no_free_ptr(ureq); in qcomtee_user_object_dispatch()
294 static void qcomtee_user_object_notify(struct qcomtee_object_invoke_ctx *oic, in qcomtee_user_object_notify() argument
298 struct qcomtee_ureq *ureq = oic->data; in qcomtee_user_object_notify()
H A Dmem_obj.c56 static int qcomtee_mem_object_dispatch(struct qcomtee_object_invoke_ctx *oic, in qcomtee_mem_object_dispatch() argument
/linux/fs/ocfs2/
H A Dioctl.c165 struct ocfs2_info_clustersize oic; in ocfs2_info_handle_clustersize() local
168 if (o2info_from_user(oic, req)) in ocfs2_info_handle_clustersize()
171 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
173 o2info_set_request_filled(&oic.ic_req); in ocfs2_info_handle_clustersize()
175 if (o2info_to_user(oic, req)) in ocfs2_info_handle_clustersize()
/linux/
H A DMAINTAINERS17290 F: Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml
17291 F: drivers/irqchip/irq-lan966x-oic.c