Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 19 of 19) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/hci/
Dhci_packet_parser.c48 …uint8_t *stream = read_command_complete_header(response, HCI_READ_BUFFER_SIZE, 7 /* bytes after */… in parse_read_buffer_size_response() local
49 assert(stream != NULL); in parse_read_buffer_size_response()
50 STREAM_TO_UINT16(*acl_data_size_ptr, stream); in parse_read_buffer_size_response()
51 STREAM_TO_UINT8(*sco_data_size_ptr, stream); in parse_read_buffer_size_response()
52 STREAM_TO_UINT16(*acl_buffer_count_ptr, stream); in parse_read_buffer_size_response()
53 STREAM_TO_UINT16(*sco_buffer_count_ptr, stream); in parse_read_buffer_size_response()
62 …uint8_t *stream = read_command_complete_header(response, HCI_READ_LOCAL_VERSION_INFO, 8 /* bytes a… in parse_read_local_version_info_response() local
63 assert(stream != NULL); in parse_read_local_version_info_response()
64 STREAM_TO_UINT8(bt_version->hci_version, stream); in parse_read_local_version_info_response()
65 STREAM_TO_UINT16(bt_version->hci_revision, stream); in parse_read_local_version_info_response()
[all …]
Dhci_packet_factory.c47 uint8_t *stream; in make_set_c2h_flow_control() local
49 BT_HDR *packet = make_command(HCI_SET_HC_TO_HOST_FLOW_CTRL, parameter_size, &stream); in make_set_c2h_flow_control()
51 UINT8_TO_STREAM(stream, enable); in make_set_c2h_flow_control()
57 uint8_t *stream; in make_set_adv_report_flow_control() local
59 BT_HDR *packet = make_command(HCI_VENDOR_BLE_SET_ADV_FLOW_CONTROL, parameter_size, &stream); in make_set_adv_report_flow_control()
61 UINT8_TO_STREAM(stream, enable); in make_set_adv_report_flow_control()
62 UINT16_TO_STREAM(stream, num); in make_set_adv_report_flow_control()
63 UINT16_TO_STREAM(stream, lost_threshold); in make_set_adv_report_flow_control()
69 uint8_t *stream; in make_host_buffer_size() local
71 BT_HDR *packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size()
[all …]
Dpacket_fragmenter.c75 uint8_t *stream = packet->data + packet->offset; in fragment_and_dispatch() local
99 STREAM_TO_UINT16(continuation_handle, stream); in fragment_and_dispatch()
103 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch()
111 stream = packet->data + packet->offset; in fragment_and_dispatch()
112 UINT16_TO_STREAM(stream, continuation_handle); in fragment_and_dispatch()
113 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch()
141 uint8_t *stream = packet->data + packet->offset; in reassemble_and_dispatch() local
146 STREAM_TO_UINT16(handle, stream); in reassemble_and_dispatch()
147 STREAM_TO_UINT16(acl_length, stream); in reassemble_and_dispatch()
148 STREAM_TO_UINT16(l2cap_length, stream); in reassemble_and_dispatch()
[all …]
Dhci_hal_h4.c265 uint8_t *stream = packet->data + packet->offset; in hci_packet_complete() local
267 STREAM_TO_UINT8(type, stream); in hci_packet_complete()
269 STREAM_TO_UINT16(handle, stream); in hci_packet_complete()
421 uint8_t *stream = NULL; in hci_hal_h4_hdl_rx_packet() local
426 stream = packet->data + packet->offset; in hci_hal_h4_hdl_rx_packet()
432 STREAM_TO_UINT8(type, stream); in hci_hal_h4_hdl_rx_packet()
438 STREAM_TO_UINT8(len, stream); in hci_hal_h4_hdl_rx_packet()
460 stream += hdr_size - 2; in hci_hal_h4_hdl_rx_packet()
461 STREAM_TO_UINT16(length, stream); in hci_hal_h4_hdl_rx_packet()
463 stream += hdr_size - 1; in hci_hal_h4_hdl_rx_packet()
[all …]
Dhci_layer.c438 uint8_t *stream = packet->data + packet->offset; in filter_incoming_event() local
442 STREAM_TO_UINT8(event_code, stream); in filter_incoming_event()
443 STREAM_SKIP_UINT8(stream); // Skip the parameter total length field in filter_incoming_event()
448 STREAM_TO_UINT8(hci_host_env.command_credits, stream); in filter_incoming_event()
449 STREAM_TO_UINT16(opcode, stream); in filter_incoming_event()
474 STREAM_TO_UINT8(status, stream); in filter_incoming_event()
475 STREAM_TO_UINT8(hci_host_env.command_credits, stream); in filter_incoming_event()
476 STREAM_TO_UINT16(opcode, stream); in filter_incoming_event()
/hal_espressif-latest/components/esp_pm/
Dpm_locks.c150 esp_err_t esp_pm_dump_locks(FILE* stream) in esp_pm_dump_locks() argument
163 fprintf(stream, "Time since bootup: %lld us\n", cur_time); in esp_pm_dump_locks()
166 fprintf(stream, "Lock stats:\n"); in esp_pm_dump_locks()
168 fprintf(stream, "%-15s %-14s %-5s %-8s %-13s %-14s %-8s\n", in esp_pm_dump_locks()
171 fprintf(stream, "%-15s %-14s %-5s %-8s\n", "Name", "Type", "Arg", "Active"); in esp_pm_dump_locks()
202 fputs(line, stream); in esp_pm_dump_locks()
206 esp_pm_impl_dump_stats(stream); in esp_pm_dump_locks()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/
Dbtu_hcif.c452 uint8_t *stream = p_buf->data + p_buf->offset; in btu_hcif_send_cmd() local
455 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd()
498 uint8_t *stream = p_buf->data + p_buf->offset; in btu_hcif_send_cmd_sync() local
501 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd_sync()
1166 …uint8_t *stream = hack->response->data + hack->response->offset + 3; // 2 to skip the event header… in btu_hcif_command_complete_evt_on_task() local
1167 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt_on_task()
1171 stream, in btu_hcif_command_complete_evt_on_task()
1183 uint8_t *stream = response->data + response->offset + 3; in btu_hcif_command_complete_evt() local
1184 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt()
1187 adv_data_status = *stream; in btu_hcif_command_complete_evt()
[all …]
/hal_espressif-latest/components/spi_flash/include/
Desp_spi_flash_counters.h48 void esp_flash_dump_counters(FILE* stream);
/hal_espressif-latest/zephyr/scripts/pinctrl/
Desp_genpinctrl.py117 stream = open(pcfg_in, 'r')
118 pcfg_data = yaml.load(stream, Loader=yaml.FullLoader)
/hal_espressif-latest/components/esp_mm/
Desp_mmu_map.c627 esp_err_t esp_mmu_map_dump_mapped_blocks(FILE* stream) in esp_mmu_map_dump_mapped_blocks() argument
631 fprintf(stream, "region %d:\n", i); in esp_mmu_map_dump_mapped_blocks()
632 …fprintf(stream, "%-15s %-14s %-14s %-12s %-12s %-12s\n", "Bus ID", "Start", "Free Head", "End", "C… in esp_mmu_map_dump_mapped_blocks()
644 fputs(line, stream); in esp_mmu_map_dump_mapped_blocks()
646 fprintf(stream, "mapped blocks:\n"); in esp_mmu_map_dump_mapped_blocks()
647 …fprintf(stream, "%-4s %-13s %-12s %-12s %-6s %-13s %-11s\n", "ID", "Vaddr Start", "Vaddr End", "Bl… in esp_mmu_map_dump_mapped_blocks()
661 fputs(line, stream); in esp_mmu_map_dump_mapped_blocks()
665 fprintf(stream, "\n"); in esp_mmu_map_dump_mapped_blocks()
/hal_espressif-latest/components/esp_timer/src/
Desp_timer.c647 esp_err_t esp_timer_dump(FILE* stream)
698 if (stream != NULL) {
699 fprintf(stream, "Timer stats:\n");
701 fprintf(stream, "%-20s %-10s %-12s %-12s %-12s %-12s %-12s\n",
704 fprintf(stream, "%-20s %-10s %-12s\n", "Name", "Period", "Alarm");
708 fputs(print_buf, stream);
/hal_espressif-latest/components/esp_mm/include/
Desp_mmu_map.h128 esp_err_t esp_mmu_map_dump_mapped_blocks(FILE* stream);
/hal_espressif-latest/components/esp_pm/include/
Desp_pm.h193 esp_err_t esp_pm_dump_locks(FILE* stream);
/hal_espressif-latest/components/esp_timer/include/
Desp_timer.h296 esp_err_t esp_timer_dump(FILE* stream);
/hal_espressif-latest/components/mbedtls/port/aes/
Desp_aes_gcm.c504 uint8_t stream[AES_BLOCK_BYTES] = {0}; in esp_aes_gcm_update() local
543 …int ret = esp_aes_crypt_ctr(&ctx->aes_ctx, input_length, &nc_off, nonce_counter, stream, input, ou… in esp_aes_gcm_update()
575 uint8_t stream[AES_BLOCK_BYTES] = {0}; in esp_aes_gcm_finish() local
587 return esp_aes_crypt_ctr(&ctx->aes_ctx, tag_len, &nc_off, ctx->ori_j0, stream, ctx->ghash, tag); in esp_aes_gcm_finish()
/hal_espressif-latest/components/spi_flash/
Desp_flash_api.c101 void esp_flash_dump_counters(FILE* stream) in esp_flash_dump_counters() argument
103 if (stream != NULL) { in esp_flash_dump_counters()
104 …fprintf(stream, " read: count=%8ld time=%8ldus bytes=%8ld\n", esp_flash_stats.read.count, esp_fl… in esp_flash_dump_counters()
105 …fprintf(stream, "write: count=%8ld time=%8ldus bytes=%8ld\n", esp_flash_stats.write.count, esp_f… in esp_flash_dump_counters()
106 …fprintf(stream, "erase: count=%8ld time=%8ldus bytes=%8ld\n", esp_flash_stats.erase.count, esp_f… in esp_flash_dump_counters()
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dminiz.c313 mz_stream stream; in mz_compress2() local
314 memset(&stream, 0, sizeof(stream)); in mz_compress2()
320 stream.next_in = pSource; in mz_compress2()
321 stream.avail_in = (mz_uint32)source_len; in mz_compress2()
322 stream.next_out = pDest; in mz_compress2()
323 stream.avail_out = (mz_uint32)*pDest_len; in mz_compress2()
325 status = mz_deflateInit(&stream, level); in mz_compress2()
329 status = mz_deflate(&stream, MZ_FINISH); in mz_compress2()
332 mz_deflateEnd(&stream); in mz_compress2()
336 *pDest_len = stream.total_out; in mz_compress2()
[all …]
/hal_espressif-latest/components/bt/
DKconfig89 … This option is used to enable bluetooth debug mode, which saves the hci layer data stream.
/hal_espressif-latest/components/mbedtls/
DKconfig1076 bool "Chacha20 stream cipher"
1079 Enable support for Chacha20 stream cipher.