/hal_espressif-latest/components/bt/host/bluedroid/stack/hcic/ |
D | hcicmds.c | 40 BT_HDR *p; in btsnd_hcic_inquiry() local 43 if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_INQUIRY)) == NULL) { in btsnd_hcic_inquiry() 47 pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry() 49 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQUIRY; in btsnd_hcic_inquiry() 50 p->offset = 0; in btsnd_hcic_inquiry() 59 btu_hcif_send_cmd (LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_inquiry() 65 BT_HDR *p; in btsnd_hcic_inq_cancel() local 68 if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_INQ_CANCEL)) == NULL) { in btsnd_hcic_inq_cancel() 72 pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel() 74 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQ_CANCEL; in btsnd_hcic_inq_cancel() [all …]
|
D | hciblecmds.c | 72 BT_HDR *p; in btsnd_hcic_ble_set_local_used_feat() local 75 if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_SET_USED_FEAT_CMD)) == NULL) { in btsnd_hcic_ble_set_local_used_feat() 79 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_local_used_feat() 81 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SET_USED_FEAT_CMD; in btsnd_hcic_ble_set_local_used_feat() 82 p->offset = 0; in btsnd_hcic_ble_set_local_used_feat() 87 btu_hcif_send_cmd (LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_ble_set_local_used_feat() 93 BT_HDR *p; in btsnd_hcic_ble_set_random_addr() local 96 if ((p = HCI_GET_CMD_BUF(HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD)) == NULL) { in btsnd_hcic_ble_set_random_addr() 100 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_random_addr() 102 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD; in btsnd_hcic_ble_set_random_addr() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/ |
D | btu_hcif.c | 53 extern void btm_ble_test_command_complete(UINT8 *p); 58 static void btu_hcif_inquiry_comp_evt (UINT8 *p); 59 static void btu_hcif_inquiry_result_evt (UINT8 *p); 60 static void btu_hcif_inquiry_rssi_result_evt (UINT8 *p); 61 static void btu_hcif_extended_inquiry_result_evt (UINT8 *p); 63 static void btu_hcif_connection_comp_evt (UINT8 *p); 64 static void btu_hcif_connection_request_evt (UINT8 *p); 65 static void btu_hcif_disconnection_comp_evt (UINT8 *p); 67 static void btu_hcif_authentication_comp_evt (UINT8 *p); 69 static void btu_hcif_rmt_name_request_comp_evt (UINT8 *p, UINT16 evt_len); [all …]
|
/hal_espressif-latest/components/esp_hw_support/include/ |
D | esp_memory_utils.h | 41 inline static bool esp_ptr_in_iram(const void *p) { in esp_ptr_in_iram() argument 43 return ((intptr_t)p >= SOC_CACHE_APP_LOW && (intptr_t)p < SOC_IRAM_HIGH); in esp_ptr_in_iram() 45 return ((intptr_t)p >= SOC_IRAM_LOW && (intptr_t)p < SOC_IRAM_HIGH); in esp_ptr_in_iram() 57 inline static bool esp_ptr_in_dram(const void *p) { in esp_ptr_in_dram() argument 58 return ((intptr_t)p >= SOC_DRAM_LOW && (intptr_t)p < SOC_DRAM_HIGH); in esp_ptr_in_dram() 69 inline static bool esp_ptr_in_diram_dram(const void *p) { in esp_ptr_in_diram_dram() argument 70 return ((intptr_t)p >= SOC_DIRAM_DRAM_LOW && (intptr_t)p < SOC_DIRAM_DRAM_HIGH); in esp_ptr_in_diram_dram() 81 inline static bool esp_ptr_in_diram_iram(const void *p) { in esp_ptr_in_diram_iram() argument 86 return ((intptr_t)p >= SOC_DIRAM_IRAM_LOW && (intptr_t)p < SOC_DIRAM_IRAM_HIGH); in esp_ptr_in_diram_iram() 98 inline static bool esp_ptr_in_rtc_iram_fast(const void *p) { in esp_ptr_in_rtc_iram_fast() argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/include/ |
D | avdt_defs.h | 148 #define AVDT_MSG_PRS_HDR(p, lbl, pkt, msg) \ argument 149 lbl = *(p) >> 4; \ 150 pkt = (*(p) >> 2) & 0x03; \ 151 msg = *(p)++ & 0x03; 153 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument 154 seid = *(p) >> 2; \ 155 in_use = (*(p)++ >> 1) & 0x01; \ 156 type = *(p) >> 4; \ 157 tsep = (*(p)++ >> 3) & 0x01; 159 #define AVDT_MSG_PRS_SIG(p, sig) \ argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | bt_types.h | 221 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \ argument 222 (*((UINT8 *)((p) + 1) + p->offset + 1) << 8))) 223 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2)) argument 225 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset)) argument 226 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1)) argument 232 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UI… argument 233 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… argument 234 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument 235 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument 236 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument [all …]
|
/hal_espressif-latest/components/bootloader_support/include/ |
D | bootloader_memory_utils.h | 41 inline static bool esp_ptr_in_iram(const void *p) { in esp_ptr_in_iram() argument 43 return ((intptr_t)p >= SOC_CACHE_APP_LOW && (intptr_t)p < SOC_IRAM_HIGH); in esp_ptr_in_iram() 45 return ((intptr_t)p >= SOC_IRAM_LOW && (intptr_t)p < SOC_IRAM_HIGH); in esp_ptr_in_iram() 57 inline static bool esp_ptr_in_dram(const void *p) { in esp_ptr_in_dram() argument 58 return ((intptr_t)p >= SOC_DRAM_LOW && (intptr_t)p < SOC_DRAM_HIGH); in esp_ptr_in_dram() 69 inline static bool esp_ptr_in_diram_dram(const void *p) { in esp_ptr_in_diram_dram() argument 70 return ((intptr_t)p >= SOC_DIRAM_DRAM_LOW && (intptr_t)p < SOC_DIRAM_DRAM_HIGH); in esp_ptr_in_diram_dram() 81 inline static bool esp_ptr_in_diram_iram(const void *p) { in esp_ptr_in_diram_iram() argument 86 return ((intptr_t)p >= SOC_DIRAM_IRAM_LOW && (intptr_t)p < SOC_DIRAM_IRAM_HIGH); in esp_ptr_in_diram_iram() 98 inline static bool esp_ptr_in_rtc_iram_fast(const void *p) { in esp_ptr_in_rtc_iram_fast() argument [all …]
|
/hal_espressif-latest/components/newlib/platform_include/ |
D | endian.h | 103 uint8_t const *p = (uint8_t const *)pp; in be16dec() local 105 return ((p[0] << 8) | p[1]); in be16dec() 111 uint8_t const *p = (uint8_t const *)pp; in be32dec() local 113 return (((unsigned)p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]); in be32dec() 119 uint8_t const *p = (uint8_t const *)pp; in be64dec() local 121 return (((uint64_t)be32dec(p) << 32) | be32dec(p + 4)); in be64dec() 127 uint8_t const *p = (uint8_t const *)pp; in le16dec() local 129 return ((p[1] << 8) | p[0]); in le16dec() 135 uint8_t const *p = (uint8_t const *)pp; in le32dec() local 137 return (((unsigned)p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0]); in le32dec() [all …]
|
/hal_espressif-latest/components/wpa_supplicant/port/include/ |
D | endian.h | 124 uint8_t const *p = (uint8_t const *)pp; in be16dec() local 126 return ((p[0] << 8) | p[1]); in be16dec() 132 uint8_t const *p = (uint8_t const *)pp; in be32dec() local 134 return (((unsigned)p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]); in be32dec() 140 uint8_t const *p = (uint8_t const *)pp; in be64dec() local 142 return (((uint64_t)be32dec(p) << 32) | be32dec(p + 4)); in be64dec() 148 uint8_t const *p = (uint8_t const *)pp; in le16dec() local 150 return ((p[1] << 8) | p[0]); in le16dec() 156 uint8_t const *p = (uint8_t const *)pp; in le32dec() local 158 return (((unsigned)p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0]); in le32dec() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_discovery.c | 51 static UINT8 *save_attr_seq (tCONN_CB *p_ccb, UINT8 *p, UINT8 *p_msg_end); 53 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec, 115 UINT8 *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local 126 p = p_start = (UINT8 *)(p_cmd + 1) + L2CAP_MIN_OFFSET; in sdp_snd_service_search_req() 129 UINT8_TO_BE_STREAM (p, SDP_PDU_SERVICE_SEARCH_REQ); in sdp_snd_service_search_req() 130 UINT16_TO_BE_STREAM (p, p_ccb->transaction_id); in sdp_snd_service_search_req() 134 p_param_len = p; in sdp_snd_service_search_req() 135 p += 2; in sdp_snd_service_search_req() 139 p = sdpu_build_uuid_seq (p, 1, &p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx]); in sdp_snd_service_search_req() 141 p = sdpu_build_uuid_seq (p, p_ccb->p_db->num_uuid_filters, p_ccb->p_db->uuid_filters); in sdp_snd_service_search_req() [all …]
|
D | sdp_db.c | 48 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_his_uuid, 128 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_uuid, in find_uuid_in_seq() argument 131 UINT8 *p_end = p + seq_len; in find_uuid_in_seq() 140 while (p < p_end) { in find_uuid_in_seq() 141 type = *p++; in find_uuid_in_seq() 142 p = sdpu_get_len_from_type (p, type, &len); in find_uuid_in_seq() 145 if (sdpu_compare_uuid_arrays (p, len, p_uuid, uuid_len)) { in find_uuid_in_seq() 149 if (find_uuid_in_seq (p, len, p_uuid, uuid_len, nest_level + 1)) { in find_uuid_in_seq() 153 p = p + len; in find_uuid_in_seq() 228 static int sdp_compose_proto_list( UINT8 *p, UINT16 num_elem, in sdp_compose_proto_list() argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_sco.c | 84 tSCO_CONN *p ; in btm_sco_flush_sco_data() local 88 p = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_sco_flush_sco_data() 89 while ((p_buf = (BT_HDR *)fixed_queue_dequeue(p->xmit_data_q, 0)) != NULL) { in btm_sco_flush_sco_data() 327 void btm_sco_process_num_completed_pkts (UINT8 *p) in btm_sco_process_num_completed_pkts() argument 335 STREAM_TO_UINT8 (num_handles, p); in btm_sco_process_num_completed_pkts() 337 STREAM_TO_UINT16 (handle, p); in btm_sco_process_num_completed_pkts() 338 STREAM_TO_UINT16 (num_sent, p); in btm_sco_process_num_completed_pkts() 451 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset; in btm_route_sco_data() local 456 STREAM_TO_UINT16 (handle, p); in btm_route_sco_data() 460 STREAM_TO_UINT8 (pkt_size, p); in btm_route_sco_data() [all …]
|
D | btm_acl.c | 246 tACL_CONN *p; in btm_acl_created() local 251 p = btm_bda_to_acl(bda, transport); in btm_acl_created() 252 if (p != (tACL_CONN *)NULL) { in btm_acl_created() 253 p->hci_handle = hci_handle; in btm_acl_created() 254 p->link_role = link_role; in btm_acl_created() 256 p->transport = transport; in btm_acl_created() 260 BTM_SetLinkPolicy(p->remote_addr, &btm_cb.btm_def_link_policy); in btm_acl_created() 269 p = (tACL_CONN *)osi_malloc(sizeof(tACL_CONN)); in btm_acl_created() 270 if (p && list_append(btm_cb.p_acl_db_list, p)) { in btm_acl_created() 271 memset(p, 0, sizeof(tACL_CONN)); in btm_acl_created() [all …]
|
/hal_espressif-latest/components/efuse/ |
D | efuse_table_gen.py | 99 names = [p.field_name for p in res] 103 for p in res: 104 if p.field_name != dname: 106 if len(duplicates.intersection([p.field_name])) != 0: 107 p.group = str(i_count) 120 names = [p.field_name for p in self] 127 for p in self: 128 field_name = p.field_name + p.group 132 (p.field_name, p.efuse_block, p.bit_start, p.bit_count)) 138 for p in self: [all …]
|
/hal_espressif-latest/components/bt/common/osi/include/osi/ |
D | allocator.h | 44 void osi_mem_dbg_record(void *p, int size, const char *func, int line); 45 void osi_mem_dbg_clean(void *p, const char *func, int line); 55 void *p; \ 56 p = osi_malloc_base(size); \ 57 osi_mem_dbg_record(p, size, __func__, __LINE__); \ 58 (void *)p; \ 63 void *p; \ 64 p = osi_calloc_base(size); \ 65 osi_mem_dbg_record(p, size, __func__, __LINE__); \ 66 (void *)p; \ [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_msg.c | 56 typedef void (*tAVDT_MSG_BLD)(UINT8 **p, tAVDT_MSG *p_msg); 59 typedef UINT8 (*tAVDT_MSG_PRS)(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len); 66 static void avdt_msg_bld_none(UINT8 **p, tAVDT_MSG *p_msg); 67 static void avdt_msg_bld_single(UINT8 **p, tAVDT_MSG *p_msg); 68 static void avdt_msg_bld_setconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 69 static void avdt_msg_bld_reconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 70 static void avdt_msg_bld_multi(UINT8 **p, tAVDT_MSG *p_msg); 71 static void avdt_msg_bld_security_cmd(UINT8 **p, tAVDT_MSG *p_msg); 72 static void avdt_msg_bld_discover_rsp(UINT8 **p, tAVDT_MSG *p_msg); 73 static void avdt_msg_bld_svccap(UINT8 **p, tAVDT_MSG *p_msg); [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_main.c | 44 static void process_l2cap_cmd (tL2C_LCB *p_lcb, UINT8 *p, UINT16 pkt_len); 71 UINT8 *p; 85 p = (UINT8 *)(p_buf + 1) + p_buf->offset; 88 UINT16_TO_STREAM (p, 0x0050 | (L2CAP_PKT_START << 12) | (2 << 14)); 93 UINT16_TO_STREAM (p, acl_data_size); 95 UINT16_TO_STREAM (p, p_buf->len); 99 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); 100 UINT16_TO_STREAM (p, L2CAP_CONNECTIONLESS_CID); 101 UINT16_TO_STREAM (p, psm); 144 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset; in l2c_rcv_acl_data() local [all …]
|
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/ |
D | csv_table_parser.py | 62 names = [p.field_name for p in res] 66 for p in res: 67 if p.field_name != dname: 69 if len(duplicates.intersection([p.field_name])) != 0: 70 p.field_name = f"{p.field_name}_{i_count}" 71 if p.alt_names: 72 p.alt_names = f"{p.alt_names}_{i_count}" 77 for p in res: 78 p.field_name = p.field_name.replace(".", "_") 79 if p.alt_names: [all …]
|
/hal_espressif-latest/components/newlib/ |
D | termios.c | 14 speed_t cfgetispeed(const struct termios *p) in cfgetispeed() argument 16 return p ? p->c_ispeed : B0; in cfgetispeed() 19 speed_t cfgetospeed(const struct termios *p) in cfgetospeed() argument 21 return p ? p->c_ospeed : B0; in cfgetospeed() 24 int cfsetispeed(struct termios *p, speed_t sp) in cfsetispeed() argument 26 if (p) { in cfsetispeed() 27 p->c_ispeed = sp; in cfsetispeed() 35 int cfsetospeed(struct termios *p, speed_t sp) in cfsetospeed() argument 37 if (p) { in cfsetospeed() 38 p->c_ospeed = sp; in cfsetospeed()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 45 static void smp_rand_back(tBTM_RAND_ENC *p); 48 static void smp_generate_y(tSMP_CB *p_cb, tSMP_INT_DATA *p); 49 static void smp_generate_rand_vector (tSMP_CB *p_cb, tSMP_INT_DATA *p); 50 static void smp_process_stk(tSMP_CB *p_cb, tSMP_ENC *p); 51 static void smp_calculate_comfirm_cont(tSMP_CB *p_cb, tSMP_ENC *p); 52 static void smp_process_confirm(tSMP_CB *p_cb, tSMP_ENC *p); 53 static void smp_process_compare(tSMP_CB *p_cb, tSMP_ENC *p); 54 static void smp_process_ediv(tSMP_CB *p_cb, tSMP_ENC *p); 56 static void smp_continue_private_key_creation(tSMP_CB *p_cb, tBTM_RAND_ENC *p); 100 void smp_debug_print_nbyte_little_endian(UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_little_endian() argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | att_protocol.c | 50 UINT8 *p; in attp_build_mtu_cmd() local 53 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_mtu_cmd() 55 UINT8_TO_STREAM (p, op_code); in attp_build_mtu_cmd() 56 UINT16_TO_STREAM (p, rx_mtu); in attp_build_mtu_cmd() 75 UINT8 *p; in attp_build_exec_write_cmd() local 78 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_exec_write_cmd() 83 UINT8_TO_STREAM (p, op_code); in attp_build_exec_write_cmd() 87 UINT8_TO_STREAM (p, flag); in attp_build_exec_write_cmd() 108 UINT8 *p; in attp_build_err_cmd() local 111 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_err_cmd() [all …]
|
/hal_espressif-latest/components/mbedtls/port/esp_ds/ |
D | esp_rsa_sign_alt.c | 117 unsigned char *p = dst; in rsa_rsassa_pkcs1_v15_encode() local 172 *p++ = 0; in rsa_rsassa_pkcs1_v15_encode() 173 *p++ = MBEDTLS_RSA_SIGN; in rsa_rsassa_pkcs1_v15_encode() 174 memset( p, 0xFF, nb_pad ); in rsa_rsassa_pkcs1_v15_encode() 175 p += nb_pad; in rsa_rsassa_pkcs1_v15_encode() 176 *p++ = 0; in rsa_rsassa_pkcs1_v15_encode() 180 memcpy( p, hash, hashlen ); in rsa_rsassa_pkcs1_v15_encode() 197 *p++ = MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED; in rsa_rsassa_pkcs1_v15_encode() 198 *p++ = (unsigned char)( 0x08 + oid_size + hashlen ); in rsa_rsassa_pkcs1_v15_encode() 199 *p++ = MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED; in rsa_rsassa_pkcs1_v15_encode() [all …]
|
/hal_espressif-latest/components/bt/common/osi/ |
D | allocator.c | 32 void *p; member 55 mem_dbg_info[i].p = NULL; in osi_mem_dbg_init() 70 void osi_mem_dbg_record(void *p, int size, const char *func, int line) in osi_mem_dbg_record() argument 74 if (!p || size == 0) { in osi_mem_dbg_record() 80 if (mem_dbg_info[i].p == NULL) { in osi_mem_dbg_record() 81 mem_dbg_info[i].p = p; in osi_mem_dbg_record() 108 void osi_mem_dbg_clean(void *p, const char *func, int line) in osi_mem_dbg_clean() argument 112 if (!p) { in osi_mem_dbg_clean() 118 if (mem_dbg_info[i].p == p) { in osi_mem_dbg_clean() 120 mem_dbg_info[i].p = NULL; in osi_mem_dbg_clean() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/dis/ |
D | dis_profile.c | 41 #define UINT64_TO_STREAM(p, u64) {*(p)++ = (UINT8)(u64); *(p)++ = (UINT8)((u64) >> 8);*(p)++ … argument 42 …*(p)++ = (UINT8)((u64) >> 32); *(p)++ = (UINT8)((u64) >> 40);*(p)++ = (UINT8)((u64) >> 48); *(p)++… 44 …EAM_TO_UINT64(u64, p) {u64 = (((UINT64)(*(p))) + ((((UINT64)(*((p) + 1)))) << 8) + ((((UINT64)(*((… argument 45 …((UINT64)(*((p) + 4)))) << 32) + ((((UINT64)(*((p) + 5)))) << 40) + ((((UINT64)(*((p) + 6)))) << 4… 127 UINT8 *p = p_value->value, i, *pp; in dis_s_read_attr_value() local 167 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_s_read_attr_value() 174 UINT64_TO_STREAM(p, dis_cb.dis_value.system_id); /* int_min */ in dis_s_read_attr_value() 179 UINT8_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id_src); in dis_s_read_attr_value() 180 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id); in dis_s_read_attr_value() 181 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_id); in dis_s_read_attr_value() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_pars_tg.c | 46 UINT8 *p; in avrc_pars_vendor_cmd() local 63 p = p_msg->p_vendor_data; in avrc_pars_vendor_cmd() 64 p_result->pdu = *p++; in avrc_pars_vendor_cmd() 71 p++; /* skip the reserved byte */ in avrc_pars_vendor_cmd() 72 BE_STREAM_TO_UINT16 (len, p); in avrc_pars_vendor_cmd() 83 p_result->get_caps.capability_id = *p++; in avrc_pars_vendor_cmd() 99 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd() 109 BE_STREAM_TO_UINT8 (p_result->get_cur_app_val.num_attr, p); in avrc_pars_vendor_cmd() 117 if (AVRC_IsValidPlayerAttr(*p)) { in avrc_pars_vendor_cmd() 118 p_u8[yy++] = *p; in avrc_pars_vendor_cmd() [all …]
|