Home
last modified time | relevance | path

Searched refs:handle (Results 51 – 75 of 720) sorted by relevance

12345678910>>...29

/Zephyr-latest/tests/bluetooth/common/testlib/src/
Datt_write.c38 int bt_testlib_att_write(struct bt_conn *conn, enum bt_att_chan_opt bearer, uint16_t handle, in bt_testlib_att_write() argument
43 .handle = handle, in bt_testlib_att_write()
56 IN_RANGE(handle, BT_ATT_FIRST_ATTRIBUTE_HANDLE, BT_ATT_LAST_ATTRIBUTE_HANDLE)); in bt_testlib_att_write()
/Zephyr-latest/drivers/timer/
Dsilabs_sleeptimer_timer.c42 sl_sleeptimer_timer_handle_t handle; /* Timer handle for system timer */ member
46 static void sleeptimer_cb(sl_sleeptimer_timer_handle_t *handle, void *data) in sleeptimer_cb() argument
48 ARG_UNUSED(handle); in sleeptimer_cb()
87 sl_sleeptimer_restart_timer(&timer->handle, next, sleeptimer_cb, timer, 0, 0); in sleeptimer_clock_set_timeout()
145 status = sl_sleeptimer_start_timer(&timer->handle, timer->cyc_per_tick, in sleeptimer_init()
148 status = sl_sleeptimer_start_periodic_timer(&timer->handle, timer->cyc_per_tick, in sleeptimer_init()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_conn_iso.c39 void lll_conn_iso_flush(uint16_t handle, struct lll_conn_iso_stream *lll) in lll_conn_iso_flush() argument
41 ARG_UNUSED(handle); in lll_conn_iso_flush()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c162 uint16_t handle, count; in handle_ncp() local
167 handle = sys_le16_to_cpu(evt->h[0].handle); in handle_ncp()
179 uint16_t handle = net_buf_pull_le16(buf); in handle_att_notification() local
181 LOG_INF("Got notification for 0x%04x len %d", handle, buf->len); in handle_att_notification()
202 uint16_t handle = net_buf_pull_le16(buf); in handle_att_write() local
204 LOG_INF("Got write for 0x%04x len %d", handle, buf->len); in handle_att_write()
263 uint16_t len, handle; in handle_acl() local
268 handle = sys_le16_to_cpu(hdr->handle); in handle_acl()
270 flags = bt_acl_flags(handle); in handle_acl()
271 handle = bt_acl_handle(handle); in handle_acl()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Datt.c63 uint16_t handle; member
820 static void send_err_rsp(struct bt_att_chan *chan, uint8_t req, uint16_t handle, in send_err_rsp() argument
838 rsp->handle = sys_cpu_to_le16(handle); in send_err_rsp()
1063 static uint8_t find_info_cb(const struct bt_gatt_attr *attr, uint16_t handle, in find_info_cb() argument
1069 LOG_DBG("handle 0x%04x", handle); in find_info_cb()
1086 data->info16->handle = sys_cpu_to_le16(handle); in find_info_cb()
1102 data->info128->handle = sys_cpu_to_le16(handle); in find_info_cb()
1173 static uint8_t find_type_cb(const struct bt_gatt_attr *attr, uint16_t handle, in find_type_cb() argument
1192 handle > sys_le16_to_cpu(data->group->end_handle)) { in find_type_cb()
1193 data->group->end_handle = sys_cpu_to_le16(handle); in find_type_cb()
[all …]
Dhci_core.c236 void bt_send_one_host_num_completed_packets(uint16_t handle) in bt_send_one_host_num_completed_packets() argument
239 ARG_UNUSED(handle); in bt_send_one_host_num_completed_packets()
248 LOG_DBG("Reporting completed packet for handle %u", handle); in bt_send_one_host_num_completed_packets()
258 hc->handle = sys_cpu_to_le16(handle); in bt_send_one_host_num_completed_packets()
274 uint16_t handle = acl(buf)->handle; in bt_hci_host_num_completed_packets() local
308 bt_send_one_host_num_completed_packets(handle); in bt_hci_host_num_completed_packets()
580 uint16_t handle, count; in hci_num_completed_packets() local
583 handle = sys_le16_to_cpu(evt->h[i].handle); in hci_num_completed_packets()
586 LOG_DBG("handle %u count %u", handle, count); in hci_num_completed_packets()
588 conn = bt_conn_lookup_handle(handle, BT_CONN_TYPE_ALL); in hci_num_completed_packets()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/dut/src/
Dmain.c187 attr->handle, in written_to()
212 uint16_t handle; in send_write_handle() local
213 uint8_t data[sizeof(handle)]; in send_write_handle()
217 handle = bt_gatt_attr_get_handle(attr); in send_write_handle()
218 sys_put_le16(handle, data); in send_write_handle()
224 static void gatt_read(struct bt_conn *conn, uint16_t handle) in gatt_read() argument
232 err = bt_testlib_att_read_by_handle_sync(&buf, NULL, NULL, conn, 0, handle, 0); in gatt_read()
240 LOG_INF("Read by handle: handle %x val %d err %d", handle, value, err); in gatt_read()
268 uint16_t handle; in good_peer_procedure() local
277 find_the_chrc(conn, test_service_uuid, test_characteristic_uuid, &handle); in good_peer_procedure()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_iso_internal.h52 void ll_iso_transmit_test_send_sdu(uint16_t handle, uint32_t ticks_at_expire);
59 bool ll_data_path_sink_create(uint16_t handle,
65 bool ll_data_path_source_create(uint16_t handle,
73 void ll_data_path_tx_pdu_release(uint16_t handle, struct node_tx_iso *node_tx);
Dull_adv_internal.h26 struct ll_adv_set *ull_adv_set_get(uint8_t handle);
32 struct ll_adv_set *ull_adv_is_enabled_get(uint8_t handle);
35 int ull_adv_is_enabled(uint8_t handle);
38 uint32_t ull_adv_filter_pol_get(uint8_t handle);
41 struct ll_adv_set *ull_adv_is_created_get(uint8_t handle);
104 struct ll_adv_aux_set *ull_adv_aux_get(uint8_t handle);
233 struct ll_adv_sync_set *ull_adv_sync_get(uint8_t handle);
322 struct ll_adv_iso_set *ull_adv_iso_get(uint8_t handle);
340 struct ll_adv_iso_set *ull_adv_iso_by_stream_get(uint16_t handle);
343 struct lll_adv_iso_stream *ull_adv_iso_stream_get(uint16_t handle);
Dull_sync_iso.c62 static struct ll_sync_iso_set *sync_iso_get(uint8_t handle);
63 static struct ll_sync_iso_set *sync_iso_alloc(uint8_t handle);
65 static uint8_t sync_iso_handle_to_index(uint8_t handle);
278 node_rx->hdr.handle = big_handle; in ll_big_sync_terminate()
353 struct ll_sync_iso_set *ull_sync_iso_by_stream_get(uint16_t handle) in ull_sync_iso_by_stream_get() argument
355 if (handle >= CONFIG_BT_CTLR_SYNC_ISO_STREAM_COUNT) { in ull_sync_iso_by_stream_get()
359 return sync_iso_get(stream_pool[handle].big_handle); in ull_sync_iso_by_stream_get()
362 struct lll_sync_iso_stream *ull_sync_iso_stream_get(uint16_t handle) in ull_sync_iso_stream_get() argument
367 sync_iso = ull_sync_iso_by_stream_get(handle); in ull_sync_iso_stream_get()
372 return &stream_pool[handle]; in ull_sync_iso_stream_get()
[all …]
Dull_conn_internal.h10 struct ll_conn *ll_conn_get(uint16_t handle);
11 struct ll_conn *ll_connected_get(uint16_t handle);
13 void ll_tx_ack_put(uint16_t handle, struct node_tx *node_tx);
36 memq_link_t *ull_conn_ack_peek(uint8_t *ack_last, uint16_t *handle,
38 memq_link_t *ull_conn_ack_by_last_peek(uint8_t last, uint16_t *handle,
41 void ull_conn_tx_ack(uint16_t handle, memq_link_t *link, struct node_tx *tx);
Dull_adv_iso.c66 static struct ll_adv_iso_set *adv_iso_get(uint8_t handle);
325 lll_adv_iso->handle = big_handle; in big_create()
727 uint16_t handle; in ll_big_terminate() local
751 handle = LL_BIS_ADV_HANDLE_FROM_IDX(stream_handle); in ll_big_terminate()
752 (void)ll_remove_iso_path(handle, in ll_big_terminate()
777 node_rx->hdr.handle = big_handle; in ll_big_terminate()
807 uint8_t handle; in ull_adv_iso_reset() local
810 handle = CONFIG_BT_CTLR_ADV_ISO_SET; in ull_adv_iso_reset()
811 while (handle--) { in ull_adv_iso_reset()
820 adv_iso = &ll_adv_iso[handle]; in ull_adv_iso_reset()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dhci.h126 struct bt_conn *bt_hci_conn_lookup_handle(uint16_t handle);
144 struct bt_le_ext_adv *bt_hci_adv_lookup_handle(uint8_t handle);
162 struct bt_le_per_adv_sync *bt_hci_per_adv_sync_lookup_handle(uint16_t handle);
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/src/
Dmain.c52 static void read_conn_rssi(uint16_t handle, int8_t *rssi) in read_conn_rssi() argument
67 cp->handle = sys_cpu_to_le16(handle); in read_conn_rssi()
82 static void set_tx_power(uint8_t handle_type, uint16_t handle, int8_t tx_pwr_lvl) in set_tx_power() argument
97 cp->handle = sys_cpu_to_le16(handle); in set_tx_power()
114 static void get_tx_power(uint8_t handle_type, uint16_t handle, int8_t *tx_pwr_lvl) in get_tx_power() argument
130 cp->handle = sys_cpu_to_le16(handle); in get_tx_power()
/Zephyr-latest/scripts/build/
Dgen_device_deps.py81 '/* {:d} : {:s}:'.format(dev.handle, (dev_path_str(dev))),
100 *[str(d.handle) for d in handles["depends"]],
102 *[str(d.handle) for d in handles["injected"]],
104 *[str(d.handle) for d in handles["supports"]],
155 "depends": sorted(dev.devs_depends_on, key=lambda d: d.handle),
156 "injected": sorted(dev.devs_depends_on_injected, key=lambda d: d.handle),
157 "supports": sorted(dev.devs_supports, key=lambda d: d.handle),
/Zephyr-latest/samples/boards/espressif/flash_memory_mapped/src/
Dmain.c24 spi_flash_mmap_handle_t handle; in main() local
35 spi_flash_mmap(address, size, SPI_FLASH_MMAP_DATA, &mem_ptr, &handle); in main()
63 spi_flash_munmap(handle); in main()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c153 uint16_t handle, count; in handle_ncp() local
158 handle = sys_le16_to_cpu(evt->h[0].handle); in handle_ncp()
216 uint16_t len, handle; in handle_acl() local
221 handle = sys_le16_to_cpu(hdr->handle); in handle_acl()
223 flags = bt_acl_flags(handle); in handle_acl()
224 handle = bt_acl_handle(handle); in handle_acl()
229 LOG_DBG("ACL: conn %d len %d flags %d", handle, len, flags); in handle_acl()
427 uint16_t handle = conn_handle; in disconnect() local
435 disconn->handle = sys_cpu_to_le16(handle); in disconnect()
467 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c167 uint16_t handle, count; in handle_ncp() local
172 handle = sys_le16_to_cpu(evt->h[0].handle); in handle_ncp()
184 uint16_t handle = net_buf_pull_le16(buf); in handle_att_notification() local
186 LOG_INF("Got notification for 0x%04x len %d", handle, buf->len); in handle_att_notification()
209 uint16_t handle = net_buf_pull_le16(buf); in handle_att_write_0() local
211 LOG_INF("Got write for 0x%04x len %d", handle, buf->len); in handle_att_write_0()
223 uint16_t handle = net_buf_pull_le16(buf); in handle_att_write_1() local
225 LOG_INF("Got write for 0x%04x len %d", handle, buf->len); in handle_att_write_1()
287 uint16_t len, handle; in handle_acl() local
292 handle = sys_le16_to_cpu(hdr->handle); in handle_acl()
[all …]
/Zephyr-latest/include/zephyr/
Dbindesc.h364 int bindesc_open_memory_mapped_flash(struct bindesc_handle *handle, size_t offset);
384 int bindesc_open_ram(struct bindesc_handle *handle, const uint8_t *address, size_t max_size);
402 int bindesc_open_flash(struct bindesc_handle *handle, size_t offset,
418 int bindesc_foreach(struct bindesc_handle *handle, bindesc_callback_t callback, void *user_data);
434 int bindesc_find_str(struct bindesc_handle *handle, uint16_t id, const char **result);
450 int bindesc_find_uint(struct bindesc_handle *handle, uint16_t id, const uint32_t **result);
467 int bindesc_find_bytes(struct bindesc_handle *handle, uint16_t id, const uint8_t **result,
482 int bindesc_get_size(struct bindesc_handle *handle, size_t *result);
/Zephyr-latest/samples/subsys/sensing/simple/src/
Dmain.c15 static void acc_data_event_callback(sensing_sensor_handle_t handle, const void *buf, in acc_data_event_callback() argument
18 const struct sensing_sensor_info *info = sensing_get_sensor_info(handle); in acc_data_event_callback()
24 __func__, __LINE__, handle, info->name, in acc_data_event_callback()
30 static void hinge_angle_data_event_callback(sensing_sensor_handle_t handle, const void *buf, in hinge_angle_data_event_callback() argument
33 const struct sensing_sensor_info *info = sensing_get_sensor_info(handle); in hinge_angle_data_event_callback()
38 LOG_INF("handle:%p, Sensor:%s data:(v:%d)", handle, info->name, sample->readings[0].v); in hinge_angle_data_event_callback()
/Zephyr-latest/drivers/i2c/
Di2c_mcux.c37 i2c_master_handle_t handle; member
98 i2c_master_handle_t *handle, in i2c_mcux_master_transfer_callback() argument
102 ARG_UNUSED(handle); in i2c_mcux_master_transfer_callback()
112 I2C_MasterTransferAbort(base, &data->handle); in i2c_mcux_master_transfer_callback()
181 &data->handle, &transfer); in i2c_mcux_transfer()
187 I2C_MasterTransferAbort(base, &data->handle); in i2c_mcux_transfer()
199 I2C_MasterTransferAbort(base, &data->handle); in i2c_mcux_transfer()
265 status = I2C_MasterTransferNonBlocking(base, &data->handle, &transfer); in i2c_mcux_async_iter()
271 I2C_MasterTransferAbort(base, &data->handle); in i2c_mcux_async_iter()
307 I2C_MasterTransferHandleIRQ(base, &data->handle); in i2c_mcux_isr()
[all …]
/Zephyr-latest/drivers/ethernet/nxp_imx_netc/
Deth_nxp_imx_netc.c38 result = EP_GetRxFrameSize(&data->handle, 0, &length); in netc_eth_rx()
51 result = EP_ReceiveFrameCopy(&data->handle, 0, data->rx_frame, length, NULL); in netc_eth_rx()
130 EP_CleanTxIntrFlags(&data->handle, 1, 0); in msgintr_isr()
135 EP_CleanRxIntrFlags(&data->handle, 1); in msgintr_isr()
143 static status_t netc_eth_reclaim_callback(ep_handle_t *handle, uint8_t ring, in netc_eth_reclaim_callback() argument
198 result = EP_Init(&data->handle, &data->mac_addr[0], &ep_config, &bdr_config); in netc_eth_init_common()
211 EP_MsixSetEntryMask(&data->handle, NETC_TX_MSIX_ENTRY_IDX, false); in netc_eth_init_common()
212 EP_MsixSetEntryMask(&data->handle, NETC_RX_MSIX_ENTRY_IDX, false); in netc_eth_init_common()
256 result = EP_SendFrame(&data->handle, 0, &frame, NULL, NULL); in netc_eth_tx()
266 EP_ReclaimTxDescriptor(&data->handle, 0); in netc_eth_tx()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci_internal.h39 void hci_disconn_complete_encode(struct pdu_data *pdu_data, uint16_t handle,
41 void hci_disconn_complete_process(uint16_t handle);
42 void hci_num_cmplt_encode(struct net_buf *buf, uint16_t handle, uint8_t num);
46 void hci_iso_encode(struct net_buf *buf, uint16_t handle, uint8_t flags);
/Zephyr-latest/tests/bsim/bluetooth/host/att/read_fill_buf/client/
Dmain.c30 uint16_t handle = 0; in test_long_read() local
46 &handle, NULL, conn, bearer, in test_long_read()
53 NULL, conn, bearer, handle, 0); in test_long_read()
59 NULL, conn, bearer, handle, 1); in test_long_read()
/Zephyr-latest/subsys/bluetooth/audio/
Dvocs_client.c40 static struct bt_vocs_client *lookup_vocs_by_handle(struct bt_conn *conn, uint16_t handle) in lookup_vocs_by_handle() argument
42 __ASSERT(handle != 0, "Handle cannot be 0"); in lookup_vocs_by_handle()
48 insts[i].start_handle <= handle && insts[i].end_handle >= handle) { in lookup_vocs_by_handle()
53 LOG_DBG("Could not find VOCS instance with handle 0x%04x", handle); in lookup_vocs_by_handle()
60 uint16_t handle = params->value_handle; in vocs_client_notify_handler() local
67 inst = lookup_vocs_by_handle(conn, handle); in vocs_client_notify_handler()
78 if (handle == inst->state_handle) { in vocs_client_notify_handler()
89 } else if (handle == inst->desc_handle) { in vocs_client_notify_handler()
106 } else if (handle == inst->location_handle) { in vocs_client_notify_handler()
126 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_offset_state_cb()
[all …]

12345678910>>...29