/Zephyr-latest/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-latest/subsys/bindesc/ |
D | bindesc_read.c | 56 static inline int get_entry(struct bindesc_handle *handle, const uint8_t *address, in get_entry() argument 63 if (IS_ENABLED(CONFIG_BINDESC_READ_FLASH) && handle->type == BINDESC_HANDLE_TYPE_FLASH) { in get_entry() 64 flash_retval = flash_read(handle->flash_device, (size_t)address, in get_entry() 65 handle->buffer, BINDESC_ENTRY_HEADER_SIZE); in get_entry() 72 if (((const struct bindesc_entry *)handle->buffer)->len + BINDESC_ENTRY_HEADER_SIZE in get_entry() 73 > sizeof(handle->buffer)) { in get_entry() 77 flash_retval = flash_read(handle->flash_device, in get_entry() 79 handle->buffer + BINDESC_ENTRY_HEADER_SIZE, in get_entry() 80 ((const struct bindesc_entry *)handle->buffer)->len); in get_entry() 86 *entry = (const struct bindesc_entry *)handle->buffer; in get_entry() [all …]
|
/Zephyr-latest/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-latest/include/zephyr/sensing/ |
D | sensing.h | 110 * @brief Define Sensing subsystem sensor handle 118 * @param handle The sensor instance handle. 123 sensing_sensor_handle_t handle, 209 * Application clients use it to open a sensor instance and get its handle. 211 * in this case, the returned handle will different for different clients. 217 * @param handle The opened instance handle, if failed will be set to NULL. 223 sensing_sensor_handle_t *handle); 228 * Application clients use it to open a sensor instance and get its handle. 230 * in this case, the returned handle will different for different clients. 236 * @param handle The opened instance handle, if failed will be set to NULL. [all …]
|
/Zephyr-latest/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
|
D | ull_sync.c | 35 struct ll_sync_set *ull_sync_set_get(uint16_t handle) in ull_sync_set_get() argument 37 if (handle >= BT_PER_ADV_SYNC_MAX) { in ull_sync_set_get() 41 return &ll_sync[handle]; in ull_sync_set_get() 44 struct ll_sync_set *ull_sync_is_enabled_get(uint16_t handle) in ull_sync_is_enabled_get() argument 48 sync = ull_sync_set_get(handle); in ull_sync_is_enabled_get()
|
/Zephyr-latest/tests/bluetooth/audio/mocks/src/ |
D | gatt.c | 205 uint16_t handle, uint16_t start_handle, in gatt_foreach_iter() argument 214 if (handle > end_handle) { in gatt_foreach_iter() 218 /* Check if attribute handle is within range */ in gatt_foreach_iter() 219 if (handle < start_handle) { in gatt_foreach_iter() 235 result = func(attr, handle, user_data); in gatt_foreach_iter() 258 if (next->attrs[0].handle <= start_handle) { in foreach_attr_type_dyndb() 266 if (gatt_foreach_iter(attr, attr->handle, start_handle, end_handle, uuid, in foreach_attr_type_dyndb() 290 uint16_t handle = 1; in bt_gatt_foreach_attr_type() local 294 if (handle + static_svc->attr_count < start_handle) { in bt_gatt_foreach_attr_type() 295 handle += static_svc->attr_count; in bt_gatt_foreach_attr_type() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_internal.h | 42 uint8_t ull_scan_disable(uint8_t handle, struct ll_scan_set *scan); 44 /* Helper function to handle scan done events */ 48 void ull_scan_term_dequeue(uint8_t handle); 51 struct ll_scan_set *ull_scan_set_get(uint8_t handle); 53 /* Return the scan set handle given the scan set instance */ 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); 84 /* Return the scan aux set instance given the handle */ [all …]
|
D | ll_tx_pwr.c | 47 uint16_t handle, uint8_t type, int8_t *tx_pwr_lvl) in ll_tx_pwr_lvl_get() argument 56 /* Ignore handle if AE not enabled */ in ll_tx_pwr_lvl_get() 57 handle = 0; in ll_tx_pwr_lvl_get() 62 adv = ull_adv_set_get(handle); in ll_tx_pwr_lvl_get() 75 /* Ignore handle in case of scanner 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 154 /* Ignore handle if AE not enabled */ in ll_tx_pwr_lvl_set() [all …]
|
D | ull_iso.c | 96 const uint16_t handle); 98 const uint16_t handle, 166 uint8_t ll_read_iso_tx_sync(uint16_t handle, uint16_t *seq, in ll_read_iso_tx_sync() argument 169 if (IS_CIS_HANDLE(handle)) { in ll_read_iso_tx_sync() 173 cis = ll_conn_iso_stream_get(handle); in ll_read_iso_tx_sync() 187 } else if (IS_ADV_ISO_HANDLE(handle)) { in ll_read_iso_tx_sync() 191 stream_handle = LL_BIS_ADV_IDX_FROM_HANDLE(handle); in ll_read_iso_tx_sync() 201 } else if (IS_SYNC_ISO_HANDLE(handle)) { in ll_read_iso_tx_sync() 214 uint8_t ll_setup_iso_path(uint16_t handle, uint8_t path_dir, uint8_t path_id, in ll_setup_iso_path() argument 239 } else if (IS_CIS_HANDLE(handle)) { in ll_setup_iso_path() [all …]
|
D | ull_conn_iso.c | 80 static void disable(uint16_t handle); 114 struct ll_conn_iso_group *ll_conn_iso_group_get(uint16_t handle) in ll_conn_iso_group_get() argument 116 return mem_get(cig_pool, sizeof(struct ll_conn_iso_group), handle); in ll_conn_iso_group_get() 159 struct ll_conn_iso_stream *ll_conn_iso_stream_get(uint16_t handle) in ll_conn_iso_stream_get() argument 161 return mem_get(cis_pool, sizeof(struct ll_conn_iso_stream), handle - in ll_conn_iso_stream_get() 165 struct lll_conn_iso_stream *ull_conn_iso_lll_stream_get(uint16_t handle) in ull_conn_iso_lll_stream_get() argument 169 cis = ll_conn_iso_stream_get(handle); in ull_conn_iso_lll_stream_get() 177 struct ll_conn_iso_stream *ll_iso_stream_connected_get(uint16_t handle) in ll_iso_stream_connected_get() argument 181 if (handle >= CONFIG_BT_CTLR_CONN_ISO_STREAMS + in ll_iso_stream_connected_get() 186 cis = ll_conn_iso_stream_get(handle); in ll_iso_stream_connected_get() [all …]
|
/Zephyr-latest/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-latest/tests/subsys/bindesc/reading/src/ |
D | main.c | 49 static void test_bindesc_read(struct bindesc_handle *handle) in test_bindesc_read() argument 53 bindesc_find_str(handle, BINDESC_ID_KERNEL_VERSION_STRING, &result); in test_bindesc_read() 56 bindesc_find_str(handle, BINDESC_ID_APP_VERSION_STRING, &result); in test_bindesc_read() 59 bindesc_find_str(handle, BINDESC_ID_C_COMPILER_NAME, &result); in test_bindesc_read() 62 bindesc_find_str(handle, BINDESC_ID_C_COMPILER_VERSION, &result); in test_bindesc_read() 68 struct bindesc_handle handle; in ZTEST() local 70 bindesc_open_flash(&handle, 0, flash_dev); in ZTEST() 72 test_bindesc_read(&handle); in ZTEST() 77 struct bindesc_handle handle; in ZTEST() local 79 bindesc_open_ram(&handle, descriptors, sizeof(descriptors)); in ZTEST() [all …]
|
/Zephyr-latest/drivers/sensor/st/vl53l1x/ |
D | vl53l1_platform_user_data.h | 29 /*!< I2C device handle */ 35 * @brief Declare the device Handle as a pointer of the structure @a VL53L1_Dev_t. 44 * @param Dev Device Handle 56 * @param Dev Device Handle 65 * @brief Get LL Driver handle @a VL53L0_Dev_t data access 67 * @param Dev Device Handle 73 * @brief Get LL Results handle @a VL53L0_Dev_t data access 75 * @param Dev Device Handle
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | pacs_notify_client_test.c | 109 LOG_DBG("PACS Supported Contexts Characteristic handle at %d", attr->handle); in discover_supported_contexts() 113 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_supported_contexts() 122 LOG_DBG("CCC handle at %d", attr->handle); in discover_supported_contexts() 126 subscribe_params->ccc_handle = attr->handle; in discover_supported_contexts() 136 LOG_DBG("Unknown handle at %d", attr->handle); in discover_supported_contexts() 176 LOG_DBG("PACS Available Contexts Characteristic handle at %d", attr->handle); in discover_available_contexts() 180 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_available_contexts() 189 LOG_DBG("CCC handle at %d", attr->handle); in discover_available_contexts() 193 subscribe_params->ccc_handle = attr->handle; in discover_available_contexts() 203 LOG_DBG("Unknown handle at %d", attr->handle); in discover_available_contexts() [all …]
|
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_tx/src/ |
D | test_set_cl_cte_tx_enable.c | 25 * @param[in]adv_handle Handle of advertising set. 46 cp->handle = adv_handle; in send_set_cl_cte_tx_enable() 62 "wrong advertising set handle"); in ZTEST() 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() [all …]
|
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/ |
D | intc_esp32.h | 142 * a handle for the interrupt as well. 161 * @param ret_handle Pointer to a struct intr_handle_data_t pointer to store a handle that can 162 * later be used to request details or free the interrupt. Can be NULL if no handle 203 * @param ret_handle Pointer to a struct intr_handle_data_t pointer to store a handle that can 204 * later be used to request details or free the interrupt. Can be NULL if no handle 223 * Use an interrupt handle to disable the interrupt and release the resources associated with it. 233 * @param handle The handle, as obtained by esp_intr_alloc or esp_intr_alloc_intrstatus 235 * @return -EINVAL the handle is NULL 238 int esp_intr_free(struct intr_handle_data_t *handle); 244 * @param handle The handle, as obtained by esp_intr_alloc or esp_intr_alloc_intrstatus [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/ |
D | peer.c | 62 LOG_ERR("Failed to get value handle: %d", err); in find_characteristic() 102 LOG_DBG("Subscribed to handle 0x%04x", params->value_handle); in sub_cb() 118 uint16_t handle, in subscribe() argument 127 sub_params.value_handle = handle; in subscribe() 138 static void unsubscribe_but_not_really(struct bt_conn *conn, uint16_t handle) in unsubscribe_but_not_really() argument 147 * So we just write a 0 to the CCC handle, that should do the trick. in unsubscribe_but_not_really() 162 uint16_t handle; in entrypoint_peer() local 183 err = find_characteristic(conn, test_service_uuid, test_characteristic_uuid, &handle); in entrypoint_peer() 186 LOG_DBG("Subscribe to test characteristic: handle 0x%04x", handle); in entrypoint_peer() 187 subscribe(conn, handle, received_notification); in entrypoint_peer() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci.h | 107 /** @brief Get connection handle for a connection. 110 * @param conn_handle Place to store the Connection handle. 116 /** @brief Get connection given a connection handle. 121 * @param handle The connection handle 126 struct bt_conn *bt_hci_conn_lookup_handle(uint16_t handle); 128 /** @brief Get advertising handle for an advertising set. 131 * @param adv_handle Place to store the advertising handle. 137 /** @brief Get advertising set given an advertising handle 139 * @param handle The advertising handle 144 struct bt_le_ext_adv *bt_hci_adv_lookup_handle(uint8_t handle); [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | connection.h | 101 * @param handle Connection handle that can be used when unregistering 114 struct net_conn_handle **handle); 124 struct net_conn_handle **handle) in net_conn_register() argument 135 ARG_UNUSED(handle); in net_conn_register() 144 * @param handle Handle from registering. 149 int net_conn_unregister(struct net_conn_handle *handle); 151 static inline int net_conn_unregister(struct net_conn_handle *handle) in net_conn_unregister() argument 153 ARG_UNUSED(handle); in net_conn_unregister() 161 * for a registered connection handle. 163 * @param handle A handle registered with net_conn_register() [all …]
|
/Zephyr-latest/tests/bluetooth/df/common/src/ |
D | bt_conn_common.c | 39 conn->lll.handle = ll_conn_handle_get(conn); in ut_bt_create_connection() 51 return conn->lll.handle; in ut_bt_create_connection() 54 void ut_bt_destroy_connection(uint16_t handle) in ut_bt_destroy_connection() argument 58 conn = ll_conn_get(handle); in ut_bt_destroy_connection() 59 zassert_not_equal(conn, NULL, "Failed ll_conn instance for given handle"); in ut_bt_destroy_connection() 69 zassert_not_equal(conn, NULL, "Failed ll_conn instance for given handle"); in ut_bt_set_peer_features() 80 zassert_not_equal(conn, NULL, "Failed ll_conn instance for given handle"); in ut_bt_set_periph_latency()
|
/Zephyr-latest/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-latest/drivers/sensor/st/vl53l0x/ |
D | vl53l0x_platform.h | 38 * @brief Declare the device Handle as a pointer of the structure VL53L0X_Dev_t 46 * @param Dev Device Handle 56 * @param Dev Device Handle 71 * @param Dev Device Handle 83 * @param Dev Device Handle 95 * @param Dev Device Handle 105 * @param Dev Device Handle 115 * @param Dev Device Handle 125 * @param Dev Device Handle 135 * @param Dev Device Handle [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | att_internal.h | 39 uint16_t handle; member 65 uint16_t handle; member 70 uint16_t handle; member 110 uint16_t handle; member 124 uint16_t handle; member 136 uint16_t handle; member 184 uint16_t handle; member 194 uint16_t handle; member 202 uint16_t handle; member 219 /* Handle Value Notification */ [all …]
|