/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/srce/ |
D | decoder-sbc.c | 44 PRIVATE OI_STATUS FindSyncword(OI_CODEC_SBC_DECODER_CONTEXT *context, in FindSyncword() argument 58 if (context->limitFrameFormat && context->enhancedEnabled) { in FindSyncword() 61 } else if (context->enhancedEnabled == FALSE) { in FindSyncword() 73 context->common.frameInfo.enhanced = (**frameData == OI_SBC_ENHANCED_SYNCWORD); in FindSyncword() 83 && (!(context->sbc_mode == OI_SBC_MODE_STD && **frameData == OI_SBC_SYNCWORD)) in FindSyncword() 84 && (!(context->sbc_mode == OI_SBC_MODE_MSBC && **frameData == OI_mSBC_SYNCWORD))) { in FindSyncword() 92 context->common.frameInfo.enhanced = FALSE; in FindSyncword() 103 static OI_STATUS DecodeBody(OI_CODEC_SBC_DECODER_CONTEXT *context, in DecodeBody() argument 110 …OI_UINT frameSamples = context->common.frameInfo.nrof_blocks * context->common.frameInfo.nrof_subb… in DecodeBody() 116 … if (*pcmBytes < (sizeof(OI_INT16) * frameSamples * context->common.pcmStride) && !allowPartial) { in DecodeBody() [all …]
|
D | decoder-oina.c | 41 OI_STATUS OI_CODEC_SBC_DecoderConfigureRaw(OI_CODEC_SBC_DECODER_CONTEXT *context, in OI_CODEC_SBC_DecoderConfigureRaw() argument 81 context->common.frameInfo.enhanced = enhanced; in OI_CODEC_SBC_DecoderConfigureRaw() 83 context->common.frameInfo.enhanced = FALSE; in OI_CODEC_SBC_DecoderConfigureRaw() 85 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw() 86 context->common.frameInfo.mode = mode; in OI_CODEC_SBC_DecoderConfigureRaw() 87 context->common.frameInfo.subbands = subbands; in OI_CODEC_SBC_DecoderConfigureRaw() 88 context->common.frameInfo.blocks = blocks; in OI_CODEC_SBC_DecoderConfigureRaw() 89 context->common.frameInfo.alloc = alloc; in OI_CODEC_SBC_DecoderConfigureRaw() 90 context->common.frameInfo.bitpool = maxBitpool; in OI_CODEC_SBC_DecoderConfigureRaw() 92 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in OI_CODEC_SBC_DecoderConfigureRaw() [all …]
|
D | synthesis-sbc.c | 242 typedef void (*SYNTH_FRAME)(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blkstart,… 260 PRIVATE void OI_SBC_SynthFrame_80(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blk… in OI_SBC_SynthFrame_80() argument 264 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_80() 265 OI_UINT pcmStrideShift = context->common.pcmStride == 1 ? 0 : 1; in OI_SBC_SynthFrame_80() 266 OI_UINT offset = context->common.filterBufferOffset; in OI_SBC_SynthFrame_80() 267 OI_INT32 *s = context->common.subdata + 8 * nrof_channels * blkstart; in OI_SBC_SynthFrame_80() 272 …_BACKWARD_32BIT_ALIGNED_72_HALFWORDS(context->common.filterBuffer[0] + context->common.filterBuffe… in OI_SBC_SynthFrame_80() 274 …_BACKWARD_32BIT_ALIGNED_72_HALFWORDS(context->common.filterBuffer[1] + context->common.filterBuffe… in OI_SBC_SynthFrame_80() 276 offset = context->common.filterBufferLen - 80; in OI_SBC_SynthFrame_80() 282 DCT2_8(context->common.filterBuffer[ch] + offset, s); in OI_SBC_SynthFrame_80() [all …]
|
D | decoder-private.c | 45 INLINE OI_STATUS internal_DecoderReset(OI_CODEC_SBC_DECODER_CONTEXT *context, in internal_DecoderReset() argument 56 for (i = 0; i < sizeof(*context); i++) { in internal_DecoderReset() 57 ((char *)context)[i] = 0; in internal_DecoderReset() 61 context->enhancedEnabled = enhanced ? TRUE : FALSE; in internal_DecoderReset() 63 context->enhancedEnabled = FALSE; in internal_DecoderReset() 70 context->sbc_mode = OI_SBC_MODE_MSBC; in internal_DecoderReset() 72 context->sbc_mode = OI_SBC_MODE_STD; in internal_DecoderReset() 75 …status = OI_CODEC_SBC_Alloc(&context->common, decoderData, decoderDataBytes, maxChannels, pcmStrid… in internal_DecoderReset() 81 context->common.codecInfo = OI_Codec_Copyright; in internal_DecoderReset() 82 context->common.maxBitneed = 0; in internal_DecoderReset() [all …]
|
/hal_espressif-latest/components/esp_rom/include/ |
D | esp_rom_md5.h | 36 void esp_rom_mbedtls_md5_starts_ret(md5_context_t *context); 37 void esp_rom_mbedtls_md5_update_ret(md5_context_t *context, const void *buf, uint32_t len); 38 void esp_rom_mbedtls_md5_finish_ret(md5_context_t *context, uint8_t *digest); 45 static inline void esp_rom_md5_init(md5_context_t *context) in esp_rom_md5_init() argument 47 esp_rom_mbedtls_md5_starts_ret(context); in esp_rom_md5_init() 57 static inline void esp_rom_md5_update(md5_context_t *context, const void *buf, uint32_t len) in esp_rom_md5_update() argument 59 esp_rom_mbedtls_md5_update_ret(context, buf, len); in esp_rom_md5_update() 68 static inline void esp_rom_md5_final(uint8_t *digest, md5_context_t *context) in esp_rom_md5_final() argument 70 esp_rom_mbedtls_md5_finish_ret(context, digest); in esp_rom_md5_final() 89 void esp_rom_md5_init(md5_context_t *context); [all …]
|
/hal_espressif-latest/components/esp_rom/linux/ |
D | esp_rom_md5.c | 40 void esp_rom_md5_init(md5_context_t *context) in esp_rom_md5_init() argument 42 context->buf[0] = 0x67452301; in esp_rom_md5_init() 43 context->buf[1] = 0xefcdab89; in esp_rom_md5_init() 44 context->buf[2] = 0x98badcfe; in esp_rom_md5_init() 45 context->buf[3] = 0x10325476; in esp_rom_md5_init() 47 context->bits[0] = 0; in esp_rom_md5_init() 48 context->bits[1] = 0; in esp_rom_md5_init() 51 void esp_rom_md5_update(md5_context_t *context, const void *buf, uint32_t len) in esp_rom_md5_update() argument 57 t = context->bits[0]; in esp_rom_md5_update() 58 if ((context->bits[0] = t + ((uint32_t) len << 3)) < t) in esp_rom_md5_update() [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | sha1-internal.c | 161 void SHAPrintContext(SHA1_CTX *context, char *msg) in SHAPrintContext() argument 165 context->count[0], context->count[1], in SHAPrintContext() 166 context->state[0], in SHAPrintContext() 167 context->state[1], in SHAPrintContext() 168 context->state[2], in SHAPrintContext() 169 context->state[3], in SHAPrintContext() 170 context->state[4]); in SHAPrintContext() 234 void SHA1Init(SHA1_CTX* context) in SHA1Init() argument 237 context->state[0] = 0x67452301; in SHA1Init() 238 context->state[1] = 0xEFCDAB89; in SHA1Init() [all …]
|
D | md5_i.h | 18 void MD5Init(struct MD5Context *context); 19 void MD5Update(struct MD5Context *context, unsigned char const *buf, 21 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
D | sha1_i.h | 18 void SHA1Init(struct SHA1Context *context); 19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len); 20 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
|
/hal_espressif-latest/components/esp_hw_support/ |
D | esp_ds.c | 107 esp_ds_context_t *context; in esp_ds_sign() local 108 esp_err_t result = esp_ds_start_sign(message, data, key_id, &context); in esp_ds_sign() 117 return esp_ds_finish_sign(signature, context); in esp_ds_sign() 151 esp_ds_context_t *context = malloc(sizeof(esp_ds_context_t)); in esp_ds_start_sign() local 152 if (!context) { in esp_ds_start_sign() 168 free(context); in esp_ds_start_sign() 172 context->data = (const ets_ds_data_t *)ds_data; in esp_ds_start_sign() 173 *esp_ds_ctx = context; in esp_ds_start_sign() 290 esp_ds_context_t *context; in esp_ds_sign() local 291 esp_err_t result = esp_ds_start_sign(message, data, key_id, &context); in esp_ds_sign() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | l2cap_client.h | 31 void (*connected)(l2cap_client_t *client, void *context); 32 void (*disconnected)(l2cap_client_t *client, void *context); 33 void (*read_ready)(l2cap_client_t *client, buffer_t *packet, void *context); 34 void (*write_ready)(l2cap_client_t *client, void *context); 48 l2cap_client_t *l2cap_client_new(const l2cap_client_callbacks_t *callbacks, void *context);
|
/hal_espressif-latest/components/driver/deprecated/ |
D | mcpwm_legacy.c | 73 …ESP_RETURN_ON_FALSE(context[mcpwm_num].hal.dev, ESP_ERR_INVALID_STATE, TAG, MCPWM_DRIVER_INIT_ERRO… 98 static mcpwm_context_t context[SOC_MCPWM_GROUPS] = { variable 117 portENTER_CRITICAL(&context[mcpwm_num].spinlock); in mcpwm_critical_enter() 122 portEXIT_CRITICAL(&context[mcpwm_num].spinlock); in mcpwm_critical_exit() 127 _lock_acquire(&context[mcpwm_num].mutex_lock); in mcpwm_mutex_lock() 132 _lock_release(&context[mcpwm_num].mutex_lock); in mcpwm_mutex_unlock() 193 …mcpwm_ll_timer_set_start_stop_command(context[mcpwm_num].hal.dev, timer_num, MCPWM_TIMER_START_NO_… in mcpwm_start() 203 …mcpwm_ll_timer_set_start_stop_command(context[mcpwm_num].hal.dev, timer_num, MCPWM_TIMER_STOP_EMPT… in mcpwm_stop() 210 if (context[mcpwm_num].group_resolution_hz == 0) { in mcpwm_group_get_resolution() 211 context[mcpwm_num].group_resolution_hz = MCPWM_DEFAULT_GROUP_CLK_RESOLUTION_HZ; in mcpwm_group_get_resolution() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_dev.c | 263 BOOLEAN btm_find_sec_dev_in_list (void *p_node_data, void *context) in btm_find_sec_dev_in_list() argument 268 tSecDevContext *p_context = (tSecDevContext *)context; in btm_find_sec_dev_in_list() 273 if (!memcmp(p_context->context.p_bd_addr, p_sec_dev->bd_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list() 278 if (p_context->context.handle == p_sec_dev->hci_handle in btm_find_sec_dev_in_list() 280 || (p_context->context.handle == p_sec_dev->ble_hci_handle) in btm_find_sec_dev_in_list() 288 if (!memcmp(p_context->context.p_bd_addr, p_sec_dev->ble.static_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list() 294 if (!memcmp(p_context->context.p_bd_addr, p_sec_dev->bd_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list() 299 if (!memcmp(p_sec_dev->ble.pseudo_addr, p_context->context.p_bd_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list() 303 if (btm_ble_addr_resolvable(p_context->context.p_bd_addr, p_sec_dev)) { in btm_find_sec_dev_in_list() 527 tSecDevContext context; in btm_find_dev_by_handle() local [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/ |
D | md5_hash.h | 34 void MD5Init(struct MD5Context *context); 35 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 36 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/hal_espressif-latest/components/esp_rom/include/esp32/rom/ |
D | md5_hash.h | 35 void MD5Init(struct MD5Context *context); 36 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 37 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/hal_espressif-latest/components/esp_rom/include/esp32c3/rom/ |
D | md5_hash.h | 35 void MD5Init(struct MD5Context *context); 36 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 37 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/hal_espressif-latest/components/esp_rom/include/esp32c6/rom/ |
D | md5_hash.h | 35 void MD5Init(struct MD5Context *context); 36 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 37 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/hal_espressif-latest/components/esp_rom/include/esp32h2/rom/ |
D | md5_hash.h | 35 void MD5Init(struct MD5Context *context); 36 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 37 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/ |
D | md5_hash.h | 35 void MD5Init(struct MD5Context *context); 36 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 37 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/hal_espressif-latest/components/bootloader_support/src/ |
D | flash_partitions.c | 41 md5_context_t context; in esp_partition_table_verify() local 43 esp_rom_md5_init(&context); in esp_partition_table_verify() 44 …esp_rom_md5_update(&context, (unsigned char *) partition_table, num_parts * sizeof(esp_partition_i… in esp_partition_table_verify() 45 esp_rom_md5_final(digest, &context); in esp_partition_table_verify()
|
/hal_espressif-latest/components/bt/common/osi/ |
D | thread.c | 30 void *context; member 165 item.func(item.context); in osi_thread_run() 330 bool osi_thread_post(osi_thread_t *thread, osi_thread_func_t func, void *context, int queue_idx, ui… in osi_thread_post() argument 342 item.context = context; in osi_thread_post() 378 struct osi_event *osi_event_create(osi_thread_func_t func, void *context) in osi_event_create() argument 384 event->item.context = context; in osi_event_create() 418 static void osi_thread_generic_event_handler(void *context) in osi_thread_generic_event_handler() argument 420 struct osi_event *event = (struct osi_event *)context; in osi_thread_generic_event_handler() 425 event->item.func(event->item.context); in osi_thread_generic_event_handler()
|
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_codec_sbc.h | 238 OI_STATUS OI_CODEC_SBC_DecoderReset(OI_CODEC_SBC_DECODER_CONTEXT *context, 265 OI_STATUS OI_CODEC_SBC_DecoderLimit(OI_CODEC_SBC_DECODER_CONTEXT *context, 295 OI_STATUS OI_CODEC_SBC_DecoderConfigureRaw(OI_CODEC_SBC_DECODER_CONTEXT *context, 332 OI_STATUS OI_CODEC_SBC_DecodeRaw(OI_CODEC_SBC_DECODER_CONTEXT *context, 363 OI_STATUS OI_CODEC_SBC_DecodeFrame(OI_CODEC_SBC_DECODER_CONTEXT *context, 396 OI_STATUS OI_CODEC_SBC_SkipFrame(OI_CODEC_SBC_DECODER_CONTEXT *context,
|
/hal_espressif-latest/components/bt/host/bluedroid/hci/include/hci/ |
D | hci_layer.h | 76 typedef void (*command_complete_cb)(BT_HDR *response, void *context); 77 typedef void (*command_status_cb)(uint8_t status, BT_HDR *command, void *context); 91 void *context
|
/hal_espressif-latest/components/bt/common/osi/include/osi/ |
D | thread.h | 27 typedef void (*osi_thread_func_t)(void *context); 61 bool osi_thread_post(osi_thread_t *thread, osi_thread_func_t func, void *context, int queue_idx, ui… 93 struct osi_event *osi_event_create(osi_thread_func_t func, void *context);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/ |
D | l2cap_client.c | 32 void *context; member 83 l2cap_client_t *l2cap_client_new(const l2cap_client_callbacks_t *callbacks, void *context) in l2cap_client_new() argument 106 ret->context = context; in l2cap_client_new() 212 client->callbacks.disconnected(client, client->context); in connect_completed_cb() 220 client->callbacks.disconnected(client, client->context); in connect_completed_cb() 266 client->callbacks.connected(client, client->context); in config_request_cb() 294 client->callbacks.connected(client, client->context); in config_completed_cb() 322 client->callbacks.disconnected(client, client->context); in disconnect_request_cb() 338 client->callbacks.disconnected(client, client->context); in disconnect_completed_cb() 359 client->callbacks.write_ready(client, client->context); in congestion_cb() [all …]
|