Home
last modified time | relevance | path

Searched refs:handle (Results 26 – 50 of 720) sorted by relevance

12345678910>>...29

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
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()
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 …]
Dull_conn.c96 static inline void disable(uint16_t handle);
181 struct ll_conn *ll_conn_get(uint16_t handle) in ll_conn_get() argument
183 return mem_get(conn_pool, sizeof(struct ll_conn), handle); in ll_conn_get()
186 struct ll_conn *ll_connected_get(uint16_t handle) in ll_connected_get() argument
190 if (handle >= CONFIG_BT_MAX_CONN) { in ll_connected_get()
194 conn = ll_conn_get(handle); in ll_connected_get()
195 if (conn->lll.handle != handle) { in ll_connected_get()
217 int ll_tx_mem_enqueue(uint16_t handle, void *tx) in ll_tx_mem_enqueue() argument
228 conn = ll_connected_get(handle); in ll_tx_mem_enqueue()
238 lll_tx->handle = handle; in ll_tx_mem_enqueue()
[all …]
Dull_adv.c70 inline struct ll_adv_set *ull_adv_set_get(uint8_t handle);
74 static inline struct ll_adv_set *is_disabled_get(uint8_t handle);
107 static inline uint8_t disable(uint8_t handle);
159 uint8_t ll_adv_set_by_hci_handle_get(uint8_t hci_handle, uint8_t *handle) in ll_adv_set_by_hci_handle_get() argument
168 *handle = idx; in ll_adv_set_by_hci_handle_get()
176 uint8_t ll_adv_set_by_hci_handle_get_or_new(uint8_t hci_handle, uint8_t *handle) in ll_adv_set_by_hci_handle_get_or_new() argument
187 *handle = idx; in ll_adv_set_by_hci_handle_get_or_new()
197 *handle = ull_adv_handle_get(adv_empty); in ll_adv_set_by_hci_handle_get_or_new()
204 uint8_t ll_adv_set_hci_handle_get(uint8_t handle) in ll_adv_set_hci_handle_get() argument
208 adv = ull_adv_set_get(handle); in ll_adv_set_hci_handle_get()
[all …]
Dull_conn_iso_internal.h25 struct ll_conn_iso_group *ll_conn_iso_group_get(uint16_t handle);
31 struct ll_conn_iso_stream *ll_conn_iso_stream_get(uint16_t handle);
32 struct ll_conn_iso_stream *ll_iso_stream_connected_get(uint16_t handle);
47 void ull_conn_iso_transmit_test_cig_interval(uint16_t handle,
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/
Dcmsis_dsp_wrapper.c51 arm_biquad_casd_df1_inst_q31 handle; in real_block_iir_32() local
65 arm_biquad_cascade_df1_init_q31(&handle, M, coef_sos, &biquadStateBandQ31[0], 2); in real_block_iir_32()
67 arm_biquad_cascade_df1_q31(&handle, in, out, block_size); in real_block_iir_32()
73 arm_lms_instance_q31 handle; in lms_iir_32() local
76 arm_lms_init_q31(&handle, M, coef, ref, mu, block_size, 0); in lms_iir_32()
77 arm_lms_q31(&handle, input, ref, coef, err, block_size); in lms_iir_32()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/
Dgatt_client_test.c130 printk("[ATTRIBUTE] handle %u\n", attr->handle); in discover_func()
136 params->start_handle = attr->handle + 1; in discover_func()
191 if ((err != BT_ATT_ERR_SUCCESS) && (params->handle != unauthorized_chrc_handle)) { in gatt_write_cb()
195 if ((err != BT_ATT_ERR_AUTHORIZATION) && (params->handle == unauthorized_chrc_handle)) { in gatt_write_cb()
204 static void gatt_write(uint16_t handle) in gatt_write() argument
214 write_params.handle = handle; in gatt_write()
238 write_params.handle = cp_chrc_handle; in gatt_cp_write()
256 (params->single.handle != unauthorized_chrc_handle)) { in gatt_read_cb()
265 (params->single.handle == unauthorized_chrc_handle)) { in gatt_read_cb()
276 static void gatt_read(uint16_t handle) in gatt_read() argument
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Datt_internal.h39 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
222 uint16_t handle; member
[all …]
Dgatt.c59 uint16_t handle; member
688 LOG_DBG("handle 0x%04x len %u", attr->handle, len); in cf_write()
790 static uint8_t gen_hash_m(const struct bt_gatt_attr *attr, uint16_t handle, in gen_hash_m() argument
812 value = sys_cpu_to_le16(handle); in gen_hash_m()
814 sizeof(handle)) != 0) { in gen_hash_m()
844 value = sys_cpu_to_le16(handle); in gen_hash_m()
846 sizeof(handle)) != 0) { in gen_hash_m()
1119 uint16_t handle, void *user_data) in convert_to_id_on_match() argument
1209 static uint8_t found_attr(const struct bt_gatt_attr *attr, uint16_t handle, in found_attr() argument
1219 static const struct bt_gatt_attr *find_attr(uint16_t handle) in find_attr() argument
[all …]
/Zephyr-latest/drivers/crypto/
Dcrypto_npcx_sha.c59 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 …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/
Dpeer.c118 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
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()
191 LOG_DBG("Unsubscribe from test characteristic: handle 0x%04x", handle); in entrypoint_peer()
192 unsubscribe_but_not_really(conn, handle); in entrypoint_peer()
/Zephyr-latest/subsys/net/ip/
Dconnection.h114 struct net_conn_handle **handle);
124 struct net_conn_handle **handle) in net_conn_register() argument
135 ARG_UNUSED(handle); in net_conn_register()
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()
171 int net_conn_update(struct net_conn_handle *handle,
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintc_esp32.h238 int esp_intr_free(struct intr_handle_data_t *handle);
248 int esp_intr_get_cpu(struct intr_handle_data_t *handle);
257 int esp_intr_get_intno(struct intr_handle_data_t *handle);
275 int esp_intr_disable(struct intr_handle_data_t *handle);
288 int esp_intr_enable(struct intr_handle_data_t *handle);
302 int esp_intr_set_in_iram(struct intr_handle_data_t *handle, bool is_in_iram);
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/
Dgatt_client_test.c146 printk("[ATTRIBUTE] handle %u\n", attr->handle); in discover_func()
152 params->start_handle = attr->handle + 1; in discover_func()
226 static void gatt_write(uint16_t handle, uint8_t expect_att_err) in gatt_write() argument
231 if (handle == chrc_handle) { in gatt_write()
235 } else if (handle == long_chrc_handle) { in gatt_write()
239 } else if (handle == enc_chrc_handle) { in gatt_write()
243 } else if (handle == lesc_chrc_handle) { in gatt_write()
250 write_params.handle = handle; in gatt_write()
295 if (params->single.handle == chrc_handle) { in gatt_read_cb()
300 } else if (params->single.handle == long_chrc_handle) { in gatt_read_cb()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c295 static void le_conn_complete(struct pdu_data *pdu_data, uint16_t handle,
374 uint16_t handle; in disconnect() local
377 handle = sys_le16_to_cpu(cmd->handle); in disconnect()
378 status = ll_terminate_ind_send(handle, cmd->reason); in disconnect()
386 uint16_t handle; in read_remote_ver_info() local
389 handle = sys_le16_to_cpu(cmd->handle); in read_remote_ver_info()
390 status = ll_version_ind_send(handle); in read_remote_ver_info()
610 uint16_t h = sys_le16_to_cpu(cmd->h[i].handle); in host_num_completed_packets()
636 uint16_t handle; in read_auth_payload_timeout() local
639 handle = sys_le16_to_cpu(cmd->handle); in read_auth_payload_timeout()
[all …]
/Zephyr-latest/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 …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/ull/
Dull_iso_vendor.c39 bool ll_data_path_source_create(uint16_t handle, in ll_data_path_source_create() argument
46 ARG_UNUSED(handle); in ll_data_path_source_create()
71 void ll_data_path_tx_pdu_release(uint16_t handle, struct node_tx_iso *node_tx) in ll_data_path_tx_pdu_release() argument
77 ll_tx_ack_put(handle, (void *)node_tx); in ll_data_path_tx_pdu_release()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpacs_notify_client_test.c109 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/drivers/sensor/st/stmemsc/
Dstmemsc.h30 .handle = (void *)stmdev_ctx_ptr \
48 .handle = (void *)stmdev_ctx_ptr \
65 .handle = (void *)stmdev_ctx_ptr \
80 .handle = (void *)stmdev_ctx_ptr \
99 .handle = (void *)stmdev_ctx_ptr \
117 .handle = (void *)stmdev_ctx_ptr \
134 .handle = (void *)stmdev_ctx_ptr \
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_tx/src/
Dtest_set_cl_cte_tx_param.c62 cp->handle = adv_handle; in send_set_cl_cte_tx_params()
82 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
95 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
148 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
162 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
176 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
190 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
204 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
218 err = send_set_cl_cte_tx_params(g_adv->handle, in ZTEST()
/Zephyr-latest/tests/bluetooth/gatt/src/
Dmain.c178 zassert_equal(local_test_svc.attrs[j].handle, 0x0000, in ZTEST()
190 zassert_equal(local_test_svc.attrs[j].handle, 0x0000, in ZTEST()
239 prealloc_test_svc.attrs[i].handle = 0x0100 + i; in ZTEST()
242 prealloc_test1_svc.attrs[i].handle = 0x0200 + i; in ZTEST()
253 zassert_equal(prealloc_test_svc.attrs[i].handle, 0x0100 + i, in ZTEST()
302 prealloc_test_svc.attrs[j].handle = 0x0100 + j; in ZTEST()
313 zassert_equal(prealloc_test_svc.attrs[i].handle, 0x0100 + i, in ZTEST()
330 static uint8_t count_attr(const struct bt_gatt_attr *attr, uint16_t handle, in count_attr() argument
340 static uint8_t find_attr(const struct bt_gatt_attr *attr, uint16_t handle, in find_attr() argument
362 bt_gatt_foreach_attr(test_attrs[0].handle, 0xffff, count_attr, &num); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_types.h54 uint16_t handle; /* 12 bit handle, 2 bit Packet Status Flag, 1 bit RFU */ member
84 uint16_t handle; member
126 uint16_t handle; /* 12 bit handle, 2 bit PB flags, 1 bit TS_Flag, 1 bit RFU */ member
404 uint16_t handle; member
425 uint16_t handle; member
484 uint16_t handle; member
489 uint16_t handle; member
512 uint16_t handle; member
517 uint16_t handle; member
523 uint16_t handle; member
[all …]
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c40 static void release_file_handle(size_t handle) in release_file_handle() argument
42 if (handle < ARRAY_SIZE(file_handles)) { in release_file_handle()
43 --file_handles[handle]; in release_file_handle()
121 ssize_t handle; in ffa_create_top() local
123 handle = get_new_file_handle(); in ffa_create_top()
124 if (handle < 0) { in ffa_create_top()
125 return nsi_errno_to_mid(-handle); in ffa_create_top()
128 *fh = handle; in ffa_create_top()
130 err = fs_open(&files[handle], path, FS_O_CREATE | FS_O_WRITE); in ffa_create_top()
132 release_file_handle(handle); in ffa_create_top()
/Zephyr-latest/tests/bluetooth/df/common/src/
Dbt_conn_common.c39 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()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/
Dgatt_client_test.c128 printk("[ATTRIBUTE] handle %u\n", attr->handle); in discover_func()
134 params->start_handle = attr->handle + 1; in discover_func()
192 static void gatt_write(uint16_t handle) in gatt_write() argument
197 if (handle == chrc_handle) { in gatt_write()
201 } else if (handle) { in gatt_write()
208 write_params.handle = handle; in gatt_write()
229 if (params->single.handle == chrc_handle) { in gatt_read_cb()
233 } else if (params->single.handle == chrc_handle) { in gatt_read_cb()
246 static void gatt_read(uint16_t handle) in gatt_read() argument
255 read_params.single.handle = chrc_handle; in gatt_read()
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gatt.h182 uint16_t handle; member
191 uint16_t handle; member
213 uint16_t handle; member
237 uint16_t handle; member
245 uint16_t handle; member
253 uint16_t handle; member
264 uint16_t handle; member
276 uint16_t handle; member
305 uint16_t handle; member
314 uint16_t handle; member
[all …]

12345678910>>...29