Home
last modified time | relevance | path

Searched refs:p_start (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avrc/
Davrc_bld_ct.c45 UINT8 *p_data, *p_start; in avrc_bld_next_cmd() local
50 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_next_cmd()
51 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd()
56 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd()
78 UINT8 *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local
82 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_abs_volume_cmd()
83 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd()
87 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd()
103 UINT8 *p_data, *p_start; in avrc_bld_register_change_notfn() local
108 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_register_change_notfn()
[all …]
Davrc_bld_tg.c45 UINT8 *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local
60 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_capability_rsp()
61 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp()
72 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp()
94 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp()
113 UINT8 *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_attr_rsp() local
119 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_attr_rsp()
120 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_attr_rsp()
129 p_data = p_start + p_pkt->len; in avrc_bld_list_app_settings_attr_rsp()
141 p_pkt->len = (p_data - p_start); in avrc_bld_list_app_settings_attr_rsp()
[all …]
Davrc_api.c933 UINT8 *p_start = NULL; in AVRC_MsgReq() local
951 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
961 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
991 if (p_pkt_new && (p_start != NULL)) { in AVRC_MsgReq()
994 p_fcb->frag_pdu = *p_start; in AVRC_MsgReq()
1002 p_start -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1003 memcpy (p_data, p_start, AVRC_MAX_CTRL_DATA_LEN); in AVRC_MsgReq()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/a2dp/
Da2d_sbc.c223 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_n… in A2D_ParsSbcMplHdr() argument
225 if (p_src && p_frag && p_start && p_last && p_num) { in A2D_ParsSbcMplHdr()
227 *p_start = (*p_src & A2D_SBC_HDR_S_MSK) ? TRUE : FALSE; in A2D_ParsSbcMplHdr()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/sdp/
Dsdp_discovery.c115 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()
163 p_cmd->len = (UINT16)(p - p_start); in sdp_snd_service_search_req()
384 UINT8 *p_start, *p_param_len; in process_service_attr_rsp() local
467 p = p_start = (UINT8 *)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_attr_rsp()
503 p_msg->len = (UINT16)(p - p_start); in process_service_attr_rsp()
529 UINT8 *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
603 p = p_start = (UINT8 *)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_search_attr_rsp()
644 p_msg->len = p - p_start; in process_service_search_attr_rsp()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avdt/
Davdt_msg.c1402 UINT8 *p_start; in avdt_msg_send_cmd() local
1413 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_cmd()
1419 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_cmd()
1467 UINT8 *p_start; in avdt_msg_send_rsp() local
1477 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rsp()
1483 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_rsp()
1514 UINT8 *p_start; in avdt_msg_send_rej() local
1524 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rej()
1543 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_rej()
1573 UINT8 *p_start; in avdt_msg_send_grej() local
[all …]
Davdt_scb_act.c246 UINT8 *p, *p_start; in avdt_scb_hdl_pkt_no_frag() local
256 p = p_start = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag()
278 offset = (UINT16) (p - p_start); in avdt_scb_hdl_pkt_no_frag()
283 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
333 UINT8 *p_start = p; in avdt_scb_hdl_report() local
392 p_start += len; in avdt_scb_hdl_report()
393 return p_start; in avdt_scb_hdl_report()
/hal_espressif-3.5.0/components/spi_flash/
Dpartition.c166 const uint8_t *p_start; in load_partitions() local
185 … SPI_FLASH_SEC_SIZE, SPI_FLASH_MMAP_DATA, (const void **)&p_start, &handle); in load_partitions()
190 p_start += (ESP_PARTITION_TABLE_OFFSET & 0xffff); in load_partitions()
191 p_end = p_start + SPI_FLASH_SEC_SIZE; in load_partitions()
193 … for(const uint8_t *p_entry = p_start; p_entry < p_end; p_entry += sizeof(esp_partition_info_t)) { in load_partitions()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/rfcomm/
Drfc_ts_frames.c591 UINT8 *p_start = p_data; in rfc_parse_data() local
635 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
645 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
655 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
665 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
676 } else if (!rfc_check_fcs (2, p_start, fcs)) { in rfc_parse_data()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/include/stack/
Da2d_sbc.h185 BOOLEAN *p_start, BOOLEAN *p_last,
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c137 UINT8 *p_start = NULL; in smp_encrypt_data() local
149 if ((p_start = (UINT8 *)osi_malloc((SMP_ENCRYT_DATA_SIZE * 4))) == NULL) { in smp_encrypt_data()
158 memset(p_start, 0, SMP_ENCRYT_DATA_SIZE * 4); in smp_encrypt_data()
159 p = p_start; in smp_encrypt_data()
161 p_rev_data = p = p_start + SMP_ENCRYT_DATA_SIZE; /* start at byte 16 */ in smp_encrypt_data()
162 REVERSE_ARRAY_TO_STREAM (p, p_start, SMP_ENCRYT_DATA_SIZE); /* byte 16 to byte 31 */ in smp_encrypt_data()
168 smp_debug_print_nbyte_little_endian(p_start, (const UINT8 *)"Plain text", SMP_ENCRYT_DATA_SIZE); in smp_encrypt_data()
184 osi_free(p_start); in smp_encrypt_data()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h643 extern BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tB…
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_utils.c518 BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tBT_UUID … in gatt_is_last_attribute() argument
520 tGATT_SRV_LIST_ELEM *p_srv = p_start->p_next; in gatt_is_last_attribute()