Lines Matching refs:params
15 TEE_Param params[TEE_NUM_PARAMS]) in invoke_socket_pta()
30 param_types, params, NULL); in invoke_socket_pta()
39 TEE_Param params[TEE_NUM_PARAMS]; in __tee_socket_pta_open() local
45 memset(params, 0, sizeof(params)); in __tee_socket_pta_open()
51 params[0].value.a = ip_vers; in __tee_socket_pta_open()
57 params[0].value.b = port; in __tee_socket_pta_open()
61 params[1].memref.buffer = (void *)addr; in __tee_socket_pta_open()
62 params[1].memref.size = strlen(addr) + 1; in __tee_socket_pta_open()
67 params[2].value.a = protocol; in __tee_socket_pta_open()
73 res = invoke_socket_pta(PTA_SOCKET_OPEN, param_types, params); in __tee_socket_pta_open()
75 *handle = params[3].value.a; in __tee_socket_pta_open()
82 TEE_Param params[TEE_NUM_PARAMS]; in __tee_socket_pta_close() local
87 memset(params, 0, sizeof(params)); in __tee_socket_pta_close()
89 params[0].value.a = handle; in __tee_socket_pta_close()
90 return invoke_socket_pta(PTA_SOCKET_CLOSE, param_types, params); in __tee_socket_pta_close()
98 TEE_Param params[TEE_NUM_PARAMS]; in __tee_socket_pta_send() local
104 memset(params, 0, sizeof(params)); in __tee_socket_pta_send()
106 params[0].value.a = handle; in __tee_socket_pta_send()
107 params[0].value.b = timeout; in __tee_socket_pta_send()
109 params[1].memref.buffer = (void *)buf; in __tee_socket_pta_send()
110 params[1].memref.size = *len; in __tee_socket_pta_send()
112 res = invoke_socket_pta(PTA_SOCKET_SEND, param_types, params); in __tee_socket_pta_send()
113 *len = params[2].value.a; in __tee_socket_pta_send()
123 TEE_Param params[TEE_NUM_PARAMS]; in __tee_socket_pta_recv() local
128 memset(params, 0, sizeof(params)); in __tee_socket_pta_recv()
130 params[0].value.a = handle; in __tee_socket_pta_recv()
131 params[0].value.b = timeout; in __tee_socket_pta_recv()
133 params[1].memref.buffer = buf; in __tee_socket_pta_recv()
134 params[1].memref.size = *len; in __tee_socket_pta_recv()
136 res = invoke_socket_pta(PTA_SOCKET_RECV, param_types, params); in __tee_socket_pta_recv()
137 *len = params[1].memref.size; in __tee_socket_pta_recv()
146 TEE_Param params[TEE_NUM_PARAMS]; in __tee_socket_pta_ioctl() local
151 memset(params, 0, sizeof(params)); in __tee_socket_pta_ioctl()
153 params[0].value.a = handle; in __tee_socket_pta_ioctl()
154 params[0].value.b = command; in __tee_socket_pta_ioctl()
156 params[1].memref.buffer = buf; in __tee_socket_pta_ioctl()
157 params[1].memref.size = *len; in __tee_socket_pta_ioctl()
159 res = invoke_socket_pta(PTA_SOCKET_IOCTL, param_types, params); in __tee_socket_pta_ioctl()
160 *len = params[1].memref.size; in __tee_socket_pta_ioctl()