/Zephyr-Core-3.7.0/subsys/sensing/ |
D | sensing.c | 18 sensing_sensor_handle_t *handle) in sensing_open_sensor() argument 22 if (sensor_info == NULL || handle == NULL) { in sensing_open_sensor() 28 ret = open_sensor(sensor, (struct sensing_connection **)handle); in sensing_open_sensor() 36 return sensing_register_callback(*handle, cb_list); in sensing_open_sensor() 41 sensing_sensor_handle_t *handle) in sensing_open_sensor_by_dt() argument 46 if (handle == NULL) { in sensing_open_sensor_by_dt() 56 ret = open_sensor(sensor, (struct sensing_connection **)handle); in sensing_open_sensor_by_dt() 61 return sensing_register_callback(*handle, cb_list); in sensing_open_sensor_by_dt() 65 int sensing_close_sensor(sensing_sensor_handle_t *handle) in sensing_close_sensor() argument 67 if (handle == NULL) { in sensing_close_sensor() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/include/ |
D | ll.h | 20 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.7.0/subsys/bluetooth/controller/ll_sw/ |
D | ll_tx_pwr.c | 47 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 …]
|
D | ull_iso.c | 93 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() 193 } else if (IS_SYNC_ISO_HANDLE(handle)) { in ll_read_iso_tx_sync() 206 uint8_t ll_setup_iso_path(uint16_t handle, uint8_t path_dir, uint8_t path_id, in ll_setup_iso_path() argument 231 } else if (IS_CIS_HANDLE(handle)) { in ll_setup_iso_path() [all …]
|
D | ull_scan_internal.h | 42 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);
|
D | ull_scan.c | 59 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 …]
|
D | ll_feat.c | 52 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()
|
D | ull_conn_iso.c | 84 static void disable(uint16_t handle); 118 struct ll_conn_iso_group *ll_conn_iso_group_get(uint16_t handle) in ll_conn_iso_group_get() argument 120 return mem_get(cig_pool, sizeof(struct ll_conn_iso_group), handle); in ll_conn_iso_group_get() 163 struct ll_conn_iso_stream *ll_conn_iso_stream_get(uint16_t handle) in ll_conn_iso_stream_get() argument 165 return mem_get(cis_pool, sizeof(struct ll_conn_iso_stream), handle - in ll_conn_iso_stream_get() 169 struct lll_conn_iso_stream *ull_conn_iso_lll_stream_get(uint16_t handle) in ull_conn_iso_lll_stream_get() argument 173 cis = ll_conn_iso_stream_get(handle); in ull_conn_iso_lll_stream_get() 181 struct ll_conn_iso_stream *ll_iso_stream_connected_get(uint16_t handle) in ll_iso_stream_connected_get() argument 185 if (handle >= CONFIG_BT_CTLR_CONN_ISO_STREAMS + in ll_iso_stream_connected_get() 190 cis = ll_conn_iso_stream_get(handle); in ll_iso_stream_connected_get() [all …]
|
D | ull_peripheral_iso.c | 57 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() 127 uint8_t ll_cis_reject(uint16_t handle, uint8_t reason) in ll_cis_reject() argument 130 struct ll_conn *acl_conn = ll_cis_get_acl_awaiting_reply(handle, &status); in ll_cis_reject() 179 uint16_t handle; in ull_peripheral_iso_acquire() local [all …]
|
D | ull_conn.c | 87 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.7.0/tests/bluetooth/df/connectionless_cte_chains/src/ |
D | test_add_cte_to_chain.c | 52 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 …]
|
D | test_remove_cte_from_chain.c | 54 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.7.0/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull_scan.c | 44 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.7.0/tests/bluetooth/df/connectionless_cte_tx/src/ |
D | test_set_cl_cte_tx_enable.c | 46 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.7.0/samples/tfm_integration/tfm_secure_partition/dummy_partition/ |
D | dummy_partition.c | 28 typedef void (*psa_write_callback_t)(void *handle, uint8_t *digest, 33 psa_write_callback_t callback, void *handle) in tfm_dp_secret_digest() argument 59 callback(handle, digest, digest_size); in tfm_dp_secret_digest() 66 static void psa_write_digest(void *handle, uint8_t *digest, in psa_write_digest() argument 69 psa_write((psa_handle_t)handle, 0, digest, digest_size); in psa_write_digest() 82 num = psa_read(msg->handle, 0, &secret_index, msg->in_size[0]); in tfm_dp_secret_digest_ipc() 89 (void *)msg->handle); in tfm_dp_secret_digest_ipc() 100 psa_reply(msg.handle, PSA_SUCCESS); in dp_signal_handle() 104 psa_reply(msg.handle, status); in dp_signal_handle() 107 psa_reply(msg.handle, PSA_SUCCESS); in dp_signal_handle()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | ecb.c | 30 cau3_handle_t handle; in ecb_encrypt_be() local 35 handle.keySlot = kCAU3_KeySlot1; in ecb_encrypt_be() 40 handle.taskDone = kCAU3_TaskDonePoll; in ecb_encrypt_be() 43 status = CAU3_AES_SetKey(CAU3, &handle, keyAes, sizeof(keyAes)); in ecb_encrypt_be() 49 status = CAU3_AES_Encrypt(CAU3, &handle, clear_text_be, cipher_text_be); in ecb_encrypt_be() 64 cau3_handle_t handle; in ecb_encrypt() local 77 handle.keySlot = kCAU3_KeySlot1; in ecb_encrypt() 82 handle.taskDone = kCAU3_TaskDonePoll; in ecb_encrypt() 85 status = CAU3_AES_SetKey(CAU3, &handle, keyAes, sizeof(keyAes)); in ecb_encrypt() 91 status = CAU3_AES_Encrypt(CAU3, &handle, clear, cipher); in ecb_encrypt()
|
/Zephyr-Core-3.7.0/drivers/interrupt_controller/ |
D | intc_esp32.c | 718 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 720 if (!handle) { in esp_intr_set_in_iram() 723 struct vector_desc_t *vd = handle->vector_desc; in esp_intr_set_in_iram() 742 int esp_intr_free(struct intr_handle_data_t *handle) in esp_intr_free() argument 746 if (!handle) { in esp_intr_free() 751 esp_intr_disable(handle); in esp_intr_free() 752 if (handle->vector_desc->flags & VECDESC_FL_SHARED) { in esp_intr_free() 754 struct shared_vector_desc_t *svd = handle->vector_desc->shared_vec_info; in esp_intr_free() 759 if (svd == handle->shared_vector_desc) { in esp_intr_free() 764 handle->vector_desc->shared_vec_info = svd->next; in esp_intr_free() [all …]
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/advx/src/ |
D | main.c | 173 uint16_t handle; in test_advx_main() local 215 handle = 0U; in test_advx_main() 216 err = ll_adv_data_set(handle, sizeof(adv_data), adv_data); in test_advx_main() 223 err = ll_adv_params_set(handle, 0, 0, BT_HCI_ADV_DIRECT_IND, in test_advx_main() 233 err = ll_adv_params_set(handle, 0, ADV_INTERVAL, BT_HCI_ADV_NONCONN_IND, in test_advx_main() 243 err = ll_adv_enable(handle, 1, 0, 0); in test_advx_main() 252 err = ll_adv_enable(handle, 0, 0, 0); in test_advx_main() 259 err = ll_adv_params_set(handle, 0, 0, BT_HCI_ADV_DIRECT_IND, in test_advx_main() 269 handle = 0U; in test_advx_main() 270 err = ll_adv_data_set(handle, sizeof(adv_data1), adv_data1); in test_advx_main() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/sensing/ |
D | sensing.h | 123 sensing_sensor_handle_t handle, 223 sensing_sensor_handle_t *handle); 241 sensing_sensor_handle_t *handle); 250 sensing_sensor_handle_t *handle); 261 sensing_sensor_handle_t handle, 273 sensing_sensor_handle_t handle, 283 sensing_sensor_handle_t handle);
|
/Zephyr-Core-3.7.0/subsys/bluetooth/shell/ |
D | ll.c | 150 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.7.0/samples/tfm_integration/tfm_secure_partition/src/ |
D | dummy_partition.c | 20 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.7.0/tests/bsim/bluetooth/host/gatt/authorization/src/ |
D | gatt_client_test.c | 120 printk("[ATTRIBUTE] handle %u\n", attr->handle); in discover_func() 126 params->start_handle = attr->handle + 1; in discover_func() 181 if ((err != BT_ATT_ERR_SUCCESS) && (params->handle != unauthorized_chrc_handle)) { in gatt_write_cb() 185 if ((err != BT_ATT_ERR_AUTHORIZATION) && (params->handle == unauthorized_chrc_handle)) { in gatt_write_cb() 194 static void gatt_write(uint16_t handle) in gatt_write() argument 204 write_params.handle = handle; in gatt_write() 228 write_params.handle = cp_chrc_handle; in gatt_cp_write() 246 (params->single.handle != unauthorized_chrc_handle)) { in gatt_read_cb() 255 (params->single.handle == unauthorized_chrc_handle)) { in gatt_read_cb() 266 static void gatt_read(uint16_t handle) in gatt_read() argument [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/ |
D | att_internal.h | 38 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.7.0/include/zephyr/drivers/interrupt_controller/ |
D | intc_esp32.h | 227 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.7.0/drivers/crypto/ |
D | crypto_npcx_sha.c | 59 uint8_t handle[NPCX_SHA256_HANDLE_SIZE]; member 106 ret = NPCX_NCL_SHA->start(npcx_ctx->handle, sha_type); in npcx_sha_compute() 115 ret = NPCX_NCL_SHA->update(npcx_ctx->handle, pkt->in_buf, pkt->in_len); in npcx_sha_compute() 125 ret = NPCX_NCL_SHA->finish(npcx_ctx->handle, pkt->out_buf); in npcx_sha_compute() 165 NPCX_NCL_SHA->init_context(npcx_ctx->handle); in npcx_hash_session_setup() 166 NPCX_NCL_SHA->power(npcx_ctx->handle, 1); in npcx_hash_session_setup() 167 NPCX_NCL_SHA->init(npcx_ctx->handle); in npcx_hash_session_setup() 168 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_setup() 178 NPCX_NCL_SHA->reset(npcx_ctx->handle); in npcx_hash_session_free() 179 NPCX_NCL_SHA->power(npcx_ctx->handle, 0); in npcx_hash_session_free() [all …]
|