Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/Zephyr-Core-3.4.0/subsys/bluetooth/controller/include/
Dll.h20 uint8_t ll_adv_set_by_hci_handle_get(uint8_t hci_handle, uint8_t *handle);
22 uint8_t *handle);
23 uint8_t ll_adv_set_hci_handle_get(uint8_t handle);
24 uint8_t ll_adv_iso_by_hci_handle_get(uint8_t hci_handle, uint8_t *handle);
25 uint8_t ll_adv_iso_by_hci_handle_new(uint8_t hci_handle, uint8_t *handle);
28 uint8_t *handle) in ll_adv_set_by_hci_handle_get() argument
30 *handle = hci_handle; in ll_adv_set_by_hci_handle_get()
35 uint8_t *handle) in ll_adv_set_by_hci_handle_get_or_new() argument
37 *handle = hci_handle; in ll_adv_set_by_hci_handle_get_or_new()
41 static inline uint8_t ll_adv_set_hci_handle_get(uint8_t handle) in ll_adv_set_hci_handle_get() argument
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/
Dll_tx_pwr.c47 uint16_t handle, uint8_t type, int8_t *tx_pwr_lvl) in ll_tx_pwr_lvl_get() argument
57 handle = 0; in ll_tx_pwr_lvl_get()
62 adv = ull_adv_set_get(handle); in ll_tx_pwr_lvl_get()
80 handle = 0; in ll_tx_pwr_lvl_get()
84 scan = ull_scan_set_get(handle); in ll_tx_pwr_lvl_get()
96 conn = ll_connected_get(handle); in ll_tx_pwr_lvl_get()
130 uint8_t ll_tx_pwr_lvl_set(uint8_t handle_type, uint16_t handle, in ll_tx_pwr_lvl_set() argument
155 handle = 0; in ll_tx_pwr_lvl_set()
160 adv = ull_adv_set_get(handle); in ll_tx_pwr_lvl_set()
177 handle = 0; in ll_tx_pwr_lvl_set()
[all …]
Dull_iso.c93 const uint16_t handle);
95 const uint16_t handle,
158 uint8_t ll_read_iso_tx_sync(uint16_t handle, uint16_t *seq, in ll_read_iso_tx_sync() argument
161 if (IS_CIS_HANDLE(handle)) { in ll_read_iso_tx_sync()
165 cis = ll_conn_iso_stream_get(handle); in ll_read_iso_tx_sync()
179 } else if (IS_ADV_ISO_HANDLE(handle)) { in ll_read_iso_tx_sync()
183 stream_handle = LL_BIS_ADV_IDX_FROM_HANDLE(handle); in ll_read_iso_tx_sync()
203 uint8_t ll_setup_iso_path(uint16_t handle, uint8_t path_dir, uint8_t path_id, in ll_setup_iso_path() argument
228 } else if (IS_CIS_HANDLE(handle)) { in ll_setup_iso_path()
237 cis = ll_conn_iso_stream_get(handle); in ll_setup_iso_path()
[all …]
Dull_scan_internal.h42 uint8_t ull_scan_disable(uint8_t handle, struct ll_scan_set *scan);
48 void ull_scan_term_dequeue(uint8_t handle);
51 struct ll_scan_set *ull_scan_set_get(uint8_t handle);
60 struct ll_scan_set *ull_scan_is_enabled_get(uint8_t handle);
63 struct ll_scan_set *ull_scan_is_disabled_get(uint8_t handle);
70 uint32_t ull_scan_is_enabled(uint8_t handle);
73 uint32_t ull_scan_filter_pol_get(uint8_t handle);
85 struct ll_scan_aux_set *ull_scan_aux_set_get(uint8_t handle);
Dll_feat.c52 uint16_t handle; in ll_set_host_feature() local
55 for (handle = 0U; handle < CONFIG_BT_MAX_CONN; handle++) { in ll_set_host_feature()
56 if (ll_connected_get(handle)) { in ll_set_host_feature()
Dull_conn_iso.c77 static void disable(uint16_t handle);
111 struct ll_conn_iso_group *ll_conn_iso_group_get(uint16_t handle) in ll_conn_iso_group_get() argument
113 return mem_get(cig_pool, sizeof(struct ll_conn_iso_group), handle); in ll_conn_iso_group_get()
156 struct ll_conn_iso_stream *ll_conn_iso_stream_get(uint16_t handle) in ll_conn_iso_stream_get() argument
158 return mem_get(cis_pool, sizeof(struct ll_conn_iso_stream), handle - in ll_conn_iso_stream_get()
162 struct lll_conn_iso_stream *ull_conn_iso_lll_stream_get(uint16_t handle) in ull_conn_iso_lll_stream_get() argument
166 cis = ll_conn_iso_stream_get(handle); in ull_conn_iso_lll_stream_get()
174 struct ll_conn_iso_stream *ll_iso_stream_connected_get(uint16_t handle) in ll_iso_stream_connected_get() argument
178 if (handle >= CONFIG_BT_CTLR_CONN_ISO_STREAMS + in ll_iso_stream_connected_get()
183 cis = ll_conn_iso_stream_get(handle); in ll_iso_stream_connected_get()
[all …]
Dull_scan.c59 static uint8_t disable(uint8_t handle);
64 static uint8_t is_scan_update(uint8_t handle, uint16_t duration,
324 uint8_t handle; local
327 for (handle = 0U; handle < BT_CTLR_SCAN_SET; handle++) {
328 (void)disable(handle);
335 ll_scan[handle].lll.phy = 0U;
387 uint8_t handle; local
422 handle = ull_scan_handle_get(scan);
433 ll_scan_ticker_ext[handle].ticks_slot_window =
448 ll_scan_ticker_ext[handle].ticks_slot_window = ticks_interval;
[all …]
Dull_peripheral_iso.c57 static struct ll_conn *ll_cis_get_acl_awaiting_reply(uint16_t handle, uint8_t *error) in ll_cis_get_acl_awaiting_reply() argument
61 if (!IS_CIS_HANDLE(handle) || ll_conn_iso_stream_get(handle)->group == NULL) { in ll_cis_get_acl_awaiting_reply()
62 LOG_ERR("Unknown CIS handle %u", handle); in ll_cis_get_acl_awaiting_reply()
71 if (handle == cis_handle) { in ll_cis_get_acl_awaiting_reply()
79 LOG_ERR("No connection found for handle %u", handle); in ll_cis_get_acl_awaiting_reply()
99 uint8_t ll_cis_accept(uint16_t handle) in ll_cis_accept() argument
102 struct ll_conn *conn = ll_cis_get_acl_awaiting_reply(handle, &status); in ll_cis_accept()
121 uint8_t ll_cis_reject(uint16_t handle, uint8_t reason) in ll_cis_reject() argument
124 struct ll_conn *acl_conn = ll_cis_get_acl_awaiting_reply(handle, &status); in ll_cis_reject()
173 uint16_t handle; in ull_peripheral_iso_acquire() local
[all …]
Dull_conn.c87 static inline void disable(uint16_t handle);
168 struct ll_conn *ll_conn_get(uint16_t handle) in ll_conn_get() argument
170 return mem_get(conn_pool, sizeof(struct ll_conn), handle); in ll_conn_get()
173 struct ll_conn *ll_connected_get(uint16_t handle) in ll_connected_get() argument
177 if (handle >= CONFIG_BT_MAX_CONN) { in ll_connected_get()
181 conn = ll_conn_get(handle); in ll_connected_get()
182 if (conn->lll.handle != handle) { in ll_connected_get()
204 int ll_tx_mem_enqueue(uint16_t handle, void *tx) in ll_tx_mem_enqueue() argument
215 conn = ll_connected_get(handle); in ll_tx_mem_enqueue()
225 lll_tx->handle = handle; in ll_tx_mem_enqueue()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/df/connectionless_cte_chains/src/
Dtest_add_cte_to_chain.c52 uint8_t handle; in ZTEST() local
61 handle = ull_adv_handle_get(adv); in ZTEST()
63 err = ll_df_set_cl_cte_tx_enable(handle, true); in ZTEST()
77 uint8_t handle; in ZTEST() local
87 handle = ull_adv_handle_get(adv); in ZTEST()
89 err = ll_df_set_cl_cte_tx_enable(handle, true); in ZTEST()
103 uint8_t handle; in ZTEST() local
113 handle = ull_adv_handle_get(adv); in ZTEST()
115 err = ll_df_set_cl_cte_tx_enable(handle, true); in ZTEST()
130 uint8_t handle; in ZTEST() local
[all …]
Dtest_remove_cte_from_chain.c54 uint8_t handle; in ZTEST() local
62 handle = ull_adv_handle_get(adv); in ZTEST()
64 ll_df_set_cl_cte_tx_enable(handle, true); in ZTEST()
66 err = ll_df_set_cl_cte_tx_enable(handle, false); in ZTEST()
79 uint8_t handle; in ZTEST() local
88 handle = ull_adv_handle_get(adv); in ZTEST()
90 err = ll_df_set_cl_cte_tx_enable(handle, true); in ZTEST()
95 err = ll_df_set_cl_cte_tx_enable(handle, false); in ZTEST()
108 uint8_t handle; in ZTEST() local
117 handle = ull_adv_handle_get(adv); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/controller/mock_ctrl/src/
Dull_scan.c44 struct ll_scan_set *ull_scan_set_get(uint8_t handle) in ull_scan_set_get() argument
46 if (handle >= BT_CTLR_SCAN_MAX) { in ull_scan_set_get()
50 return &ll_scan[handle]; in ull_scan_set_get()
53 struct ll_scan_set *ull_scan_is_enabled_get(uint8_t handle) in ull_scan_is_enabled_get() argument
57 scan = ull_scan_set_get(handle); in ull_scan_is_enabled_get()
65 struct ll_scan_set *ull_scan_is_disabled_get(uint8_t handle) in ull_scan_is_disabled_get() argument
69 scan = ull_scan_set_get(handle); in ull_scan_is_disabled_get()
89 uint8_t ull_scan_disable(uint8_t handle, struct ll_scan_set *scan) in ull_scan_disable() argument
/Zephyr-Core-3.4.0/tests/bluetooth/df/connectionless_cte_tx/src/
Dtest_set_cl_cte_tx_enable.c46 cp->handle = adv_handle; in send_set_cl_cte_tx_enable()
73 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, true); in ZTEST()
92 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, true); in ZTEST()
112 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, true); in ZTEST()
116 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, false); in ZTEST()
133 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, true); in ZTEST()
138 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, false); in ZTEST()
153 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, false); in ZTEST()
170 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, true); in ZTEST()
174 err = send_set_cl_cte_tx_enable(g_adv->handle, g_adv->flags, false); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/samples/tfm_integration/tfm_secure_partition/dummy_partition/
Ddummy_partition.c29 typedef void (*psa_write_callback_t)(void *handle, uint8_t *digest,
34 psa_write_callback_t callback, void *handle) in tfm_dp_secret_digest() argument
60 callback(handle, digest, digest_size); in tfm_dp_secret_digest()
67 static void psa_write_digest(void *handle, uint8_t *digest, in psa_write_digest() argument
70 psa_write((psa_handle_t)handle, 0, digest, digest_size); in psa_write_digest()
83 num = psa_read(msg->handle, 0, &secret_index, msg->in_size[0]); in tfm_dp_secret_digest_ipc()
90 (void *)msg->handle); in tfm_dp_secret_digest_ipc()
101 psa_reply(msg.handle, PSA_SUCCESS); in dp_signal_handle()
105 psa_reply(msg.handle, status); in dp_signal_handle()
108 psa_reply(msg.handle, PSA_SUCCESS); in dp_signal_handle()
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Decb.c31 cau3_handle_t handle; in ecb_encrypt_be() local
36 handle.keySlot = kCAU3_KeySlot1; in ecb_encrypt_be()
41 handle.taskDone = kCAU3_TaskDonePoll; in ecb_encrypt_be()
44 status = CAU3_AES_SetKey(CAU3, &handle, keyAes, sizeof(keyAes)); in ecb_encrypt_be()
50 status = CAU3_AES_Encrypt(CAU3, &handle, clear_text_be, cipher_text_be); in ecb_encrypt_be()
65 cau3_handle_t handle; in ecb_encrypt() local
78 handle.keySlot = kCAU3_KeySlot1; in ecb_encrypt()
83 handle.taskDone = kCAU3_TaskDonePoll; in ecb_encrypt()
86 status = CAU3_AES_SetKey(CAU3, &handle, keyAes, sizeof(keyAes)); in ecb_encrypt()
92 status = CAU3_AES_Encrypt(CAU3, &handle, clear, cipher); in ecb_encrypt()
/Zephyr-Core-3.4.0/drivers/interrupt_controller/
Dintc_esp32.c698 int IRAM_ATTR esp_intr_set_in_iram(struct intr_handle_data_t *handle, bool is_in_iram) in esp_intr_set_in_iram() argument
700 if (!handle) { in esp_intr_set_in_iram()
703 struct vector_desc_t *vd = handle->vector_desc; in esp_intr_set_in_iram()
722 int esp_intr_free(struct intr_handle_data_t *handle) in esp_intr_free() argument
726 if (!handle) { in esp_intr_free()
731 esp_intr_disable(handle); in esp_intr_free()
732 if (handle->vector_desc->flags & VECDESC_FL_SHARED) { in esp_intr_free()
734 struct shared_vector_desc_t *svd = handle->vector_desc->shared_vec_info; in esp_intr_free()
739 if (svd == handle->shared_vector_desc) { in esp_intr_free()
744 handle->vector_desc->shared_vec_info = svd->next; in esp_intr_free()
[all …]
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/advx/src/
Dmain.c172 uint16_t handle; in test_advx_main() local
214 handle = 0U; in test_advx_main()
215 err = ll_adv_data_set(handle, sizeof(adv_data), adv_data); in test_advx_main()
222 err = ll_adv_params_set(handle, 0, 0, BT_HCI_ADV_DIRECT_IND, in test_advx_main()
232 err = ll_adv_params_set(handle, 0, ADV_INTERVAL, BT_HCI_ADV_NONCONN_IND, in test_advx_main()
242 err = ll_adv_enable(handle, 1, 0, 0); in test_advx_main()
251 err = ll_adv_enable(handle, 0, 0, 0); in test_advx_main()
258 err = ll_adv_params_set(handle, 0, 0, BT_HCI_ADV_DIRECT_IND, in test_advx_main()
268 handle = 0U; in test_advx_main()
269 err = ll_adv_data_set(handle, sizeof(adv_data1), adv_data1); in test_advx_main()
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/shell/
Dll.c150 uint16_t handle = 0U; in cmd_advx() local
194 handle = strtoul(argv[2], NULL, 16); in cmd_advx()
195 if (handle >= CONFIG_BT_CTLR_ADV_SET) { in cmd_advx()
209 handle = strtoul(argv[3], NULL, 16); in cmd_advx()
210 if (handle >= CONFIG_BT_CTLR_ADV_SET) { in cmd_advx()
222 handle = strtoul(argv[4], NULL, 16); in cmd_advx()
223 if (handle >= CONFIG_BT_CTLR_ADV_SET) { in cmd_advx()
233 handle = strtoul(argv[5], NULL, 16); in cmd_advx()
234 if (handle >= CONFIG_BT_CTLR_ADV_SET) { in cmd_advx()
241 handle = strtoul(argv[6], NULL, 16); in cmd_advx()
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/host/
Datt_internal.h38 uint16_t handle; member
64 uint16_t handle; member
69 uint16_t handle; member
109 uint16_t handle; member
123 uint16_t handle; member
135 uint16_t handle; member
183 uint16_t handle; member
193 uint16_t handle; member
201 uint16_t handle; member
221 uint16_t handle; member
[all …]
/Zephyr-Core-3.4.0/samples/tfm_integration/tfm_secure_partition/src/
Ddummy_partition.c20 psa_handle_t handle; in dp_secret_digest() local
30 handle = psa_connect(TFM_DP_SECRET_DIGEST_SID, in dp_secret_digest()
32 if (!PSA_HANDLE_IS_VALID(handle)) { in dp_secret_digest()
36 status = psa_call(handle, PSA_IPC_CALL, in_vec, IOVEC_LEN(in_vec), in dp_secret_digest()
39 psa_close(handle); in dp_secret_digest()
/Zephyr-Core-3.4.0/subsys/net/ip/
Dconnection.h111 struct net_conn_handle **handle);
121 struct net_conn_handle **handle) in net_conn_register() argument
132 ARG_UNUSED(handle); in net_conn_register()
146 int net_conn_unregister(struct net_conn_handle *handle);
148 static inline int net_conn_unregister(struct net_conn_handle *handle) in net_conn_unregister() argument
150 ARG_UNUSED(handle); in net_conn_unregister()
166 int net_conn_change_callback(struct net_conn_handle *handle,
/Zephyr-Core-3.4.0/drivers/crypto/
Dcrypto_npcx_sha.c75 uint8_t handle[NPCX_SHA256_HANDLE_SIZE]; member
122 ret = NPCX_NCL_SHA->start(npcx_ctx->handle, sha_type); in npcx_sha_compute()
131 ret = NPCX_NCL_SHA->update(npcx_ctx->handle, pkt->in_buf, pkt->in_len); in npcx_sha_compute()
141 ret = NPCX_NCL_SHA->finish(npcx_ctx->handle, pkt->out_buf); in npcx_sha_compute()
181 NPCX_NCL_SHA->init_context(npcx_ctx->handle); in npcx_hash_session_setup()
182 NPCX_NCL_SHA->power(npcx_ctx->handle, 1); in npcx_hash_session_setup()
183 NPCX_NCL_SHA->init(npcx_ctx->handle); in npcx_hash_session_setup()
184 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_setup()
194 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_free()
195 NPCX_NCL_SHA->power(npcx_ctx->handle, 0); in npcx_hash_session_free()
[all …]
/Zephyr-Core-3.4.0/include/zephyr/drivers/interrupt_controller/
Dintc_esp32.h227 int esp_intr_free(struct intr_handle_data_t *handle);
237 int esp_intr_get_cpu(struct intr_handle_data_t *handle);
246 int esp_intr_get_intno(struct intr_handle_data_t *handle);
264 int esp_intr_disable(struct intr_handle_data_t *handle);
277 int esp_intr_enable(struct intr_handle_data_t *handle);
291 int esp_intr_set_in_iram(struct intr_handle_data_t *handle, bool is_in_iram);
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/hci/
Dhci.c294 static void le_conn_complete(struct pdu_data *pdu_data, uint16_t handle,
373 uint16_t handle; in disconnect() local
376 handle = sys_le16_to_cpu(cmd->handle); in disconnect()
377 status = ll_terminate_ind_send(handle, cmd->reason); in disconnect()
385 uint16_t handle; in read_remote_ver_info() local
388 handle = sys_le16_to_cpu(cmd->handle); in read_remote_ver_info()
389 status = ll_version_ind_send(handle); in read_remote_ver_info()
570 uint16_t h = sys_le16_to_cpu(cmd->h[i].handle); in host_num_completed_packets()
596 uint16_t handle; in read_auth_payload_timeout() local
599 handle = sys_le16_to_cpu(cmd->handle); in read_auth_payload_timeout()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/df/connectionless_cte_rx/src/
Dtest_set_iq_sampling_enable.c107 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
126 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
143 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
159 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
173 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
188 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
204 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
222 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
241 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, true); in ZTEST()
255 err = send_set_scan_cte_rx_enable(g_per_sync->handle, &g_params, false); in ZTEST()
[all …]

12345678910>>...21