Home
last modified time | relevance | path

Searched refs:num_params (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/
Dtee.h328 typedef int (*tee_suppl_recv_t)(const struct device *dev, uint32_t *func, unsigned int *num_params,
338 typedef int (*tee_suppl_send_t)(const struct device *dev, unsigned int ret, unsigned int num_params,
619 __syscall int tee_suppl_recv(const struct device *dev, uint32_t *func, unsigned int *num_params,
623 unsigned int *num_params, struct tee_param *param) in z_impl_tee_suppl_recv() argument
631 return api->suppl_recv(dev, func, num_params, param); in z_impl_tee_suppl_recv()
647 __syscall int tee_suppl_send(const struct device *dev, unsigned int ret, unsigned int num_params,
651 unsigned int num_params, struct tee_param *param) in z_impl_tee_suppl_send() argument
659 return api->suppl_send(dev, ret, num_params, param); in z_impl_tee_suppl_send()
/Zephyr-latest/drivers/tee/optee/
Doptee.c64 size_t num_params; member
248 return arg->num_params == 1 && in check_param_input()
254 static uint32_t optee_call_supp(const struct device *dev, uint32_t func, size_t num_params, in optee_call_supp() argument
269 req->num_params = num_params; in optee_call_supp()
417 if (arg->num_params != 1 || in handle_cmd_get_time()
584 params = k_malloc(sizeof(*params) * arg->num_params); in handle_rpc_supp_cmd()
590 ret = msg_param_to_param(params, arg->num_params, arg->params); in handle_rpc_supp_cmd()
597 arg->ret = optee_call_supp(dev, arg->cmd, arg->num_params, params); in handle_rpc_supp_cmd()
599 ret = param_to_msg_param(params, arg->num_params, arg->params); in handle_rpc_supp_cmd()
744 marg->num_params = 0; in optee_close_session()
[all …]
Doptee_msg.h214 uint32_t num_params; member
228 #define OPTEE_MSG_GET_ARG_SIZE(num_params) \ argument
230 sizeof(struct optee_msg_param) * (num_params))
/Zephyr-latest/tests/drivers/tee/optee/src/
Dmain.c418 arg->num_params = 1; in cmd_alloc_free_call()
433 arg->num_params = 1; in cmd_alloc_free_call()
534 arg->num_params = 2; in cmd_rpc_call()
566 unsigned int num_params = TEE_NUM_PARAMS; in supp_thread_comm() local
572 ret = tee_suppl_recv(dev, &func, &num_params, params); in supp_thread_comm()
579 if (func != 555 || num_params != 2) { in supp_thread_comm()
580 printk("Unexpected func & num_params %d %d\n", func, num_params); in supp_thread_comm()
676 arg->num_params = 1; in cmd_shm_alloc_appl()
693 arg->num_params = 1; in cmd_shm_alloc_appl()
720 unsigned int num_params = TEE_NUM_PARAMS; in supp_thread_alloc() local
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dgatt.h1316 uint16_t num_params,
/Zephyr-latest/subsys/bluetooth/host/
Dgatt.c2925 uint16_t num_params) in gatt_notify_multiple_verify_args() argument
2930 CHECKIF(num_params < 2) { in gatt_notify_multiple_verify_args()
2975 uint16_t num_params, size_t *total_len) in gatt_notify_multiple_verify_params() argument
2977 for (uint16_t i = 0; i < num_params; i++) { in gatt_notify_multiple_verify_params()
3031 uint16_t num_params, in bt_gatt_notify_multiple() argument
3039 err = gatt_notify_multiple_verify_args(conn, params, num_params); in bt_gatt_notify_multiple()
3047 err = gatt_notify_multiple_verify_params(conn, params, num_params, &total_len); in bt_gatt_notify_multiple()
3066 bt_att_increment_tx_meta_data_attr_count(buf, num_params - 1); in bt_gatt_notify_multiple()
3068 for (uint16_t i = 0; i < num_params; i++) { in bt_gatt_notify_multiple()