Lines Matching refs:arg
29 struct tee_open_session_arg arg; in get_open_session() local
37 memset(&arg, 0, sizeof(arg)); in get_open_session()
38 tee_optee_ta_uuid_to_octets(arg.uuid, &uuid); in get_open_session()
39 rc = tee_open_session(tee, &arg, 0, NULL); in get_open_session()
44 b_data->session = arg.session; in get_open_session()
49 static int init_arg(struct tee_invoke_arg *arg, u32 func) in init_arg() argument
54 memset(arg, 0, sizeof(struct tee_invoke_arg)); in init_arg()
55 arg->func = func; in init_arg()
56 arg->session = chimp_data.session; in init_arg()
63 struct tee_invoke_arg arg; in chimp_handshake_status_optee() local
67 ret = init_arg(&arg, TEE_CHIMP_HANDSHAKE_STATUS); in chimp_handshake_status_optee()
74 ret = tee_invoke_func(chimp_data.tee, &arg, ARRAY_SIZE(param), param); in chimp_handshake_status_optee()
80 switch (arg.ret) { in chimp_handshake_status_optee()
99 struct tee_invoke_arg arg; in chimp_health_status_optee() local
103 ret = init_arg(&arg, TEE_CHIMP_HEALTH_STATUS); in chimp_health_status_optee()
109 ret = tee_invoke_func(chimp_data.tee, &arg, ARRAY_SIZE(param), param); in chimp_health_status_optee()
115 switch (arg.ret) { in chimp_health_status_optee()
134 struct tee_invoke_arg arg; in chimp_fastboot_optee() local
137 ret = init_arg(&arg, TEE_CHIMP_FASTBOOT); in chimp_fastboot_optee()
141 ret = tee_invoke_func(chimp_data.tee, &arg, 0, NULL); in chimp_fastboot_optee()
147 switch (arg.ret) { in chimp_fastboot_optee()