Home
last modified time | relevance | path

Searched refs:tot_len (Results 1 – 5 of 5) sorted by relevance

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_analyzer.c197 unsigned int file_index = 0, size = 0, tot_len = 0; in analyse_crash_info() local
209 while ((tot_len + STEP_LENGTH - 1 < buf_len) && (fcount++ < FILE_MAX)) { in analyse_crash_info()
210 file_index = buf[tot_len]; in analyse_crash_info()
212 size = buf[tot_len + 8] | in analyse_crash_info()
213 buf[tot_len + 9] << 8 | in analyse_crash_info()
214 buf[tot_len + 10] << 16 | in analyse_crash_info()
215 buf[tot_len + 11] << 24; in analyse_crash_info()
217 tot_len += STEP_LENGTH; in analyse_crash_info()
218 ptr = (unsigned char*)buf + tot_len; in analyse_crash_info()
221 find_fatal_assert(ptr, buf_len - tot_len, size, "CM4", in analyse_crash_info()
[all …]
Dcrash_event_logger.c144 unsigned int file_index = 0, size = 0, tot_len = 0, flen = 0; in split_crash_dump_buffer() local
157 while ((tot_len + STEP_LENGTH - 1 < len) && in split_crash_dump_buffer()
159 file_index = buf[tot_len]; in split_crash_dump_buffer()
161 size = buf[tot_len + 8] | in split_crash_dump_buffer()
162 buf[tot_len + 9] << 8 | in split_crash_dump_buffer()
163 buf[tot_len + 10] << 16 | in split_crash_dump_buffer()
164 buf[tot_len + 11] << 24; in split_crash_dump_buffer()
166 tot_len += STEP_LENGTH; in split_crash_dump_buffer()
168 if (file_index >= number_crashdump_files || size > len - tot_len) { in split_crash_dump_buffer()
175 dump_crash_reason(buf, len, buf + tot_len, size, time_stamp, in split_crash_dump_buffer()
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.cpp135 int tot_len = sizeof(wifi_ring_buffer_driver_connectivity_event); in process_log_extscan_capabilities() local
152 tot_len += sizeof(tlv_log) + sizeof(pScanCapabilities->request_id); in process_log_extscan_capabilities()
179 tot_len += sizeof(tlv_log) + sizeof(wifi_gscan_capabilities); in process_log_extscan_capabilities()
217 tot_len += sizeof(tlv_log) + sizeof(gscan_capabilities_vendor_data_t); in process_log_extscan_capabilities()
219 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_log_extscan_capabilities()
232 int tot_len = sizeof(wifi_ring_buffer_driver_connectivity_event); in process_bt_coex_scan_event() local
255 tot_len += sizeof(tlv_log) + in process_bt_coex_scan_event()
270 tot_len += sizeof(tlv_log) + sizeof(bt_coex_bt_scan_stop_vendor_data_t); in process_bt_coex_scan_event()
272 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_bt_coex_scan_event()
286 int tot_len = sizeof(wifi_ring_buffer_driver_connectivity_event); in process_bt_coex_event() local
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dbcmip.h104 uint16 tot_len; /* Number of bytes in packet (max 65535) */ member
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c1553 int tot_len = 0; in dhd_load_file_bytes() local
1568 while (tot_len < fsize) { in dhd_load_file_bytes()
1569 read_len = fsize - tot_len; in dhd_load_file_bytes()
1616 tot_len += len; in dhd_load_file_bytes()