• Home
  • Raw
  • Download

Lines Matching refs:p_rsp

186   uint8_t *p_rsp, *p_rsp_start, *p_rsp_param_len;  in process_service_search()  local
260 p_rsp = p_rsp_start = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in process_service_search()
263 UINT8_TO_BE_STREAM(p_rsp, SDP_PDU_SERVICE_SEARCH_RSP); in process_service_search()
264 UINT16_TO_BE_STREAM(p_rsp, trans_num); in process_service_search()
267 p_rsp_param_len = p_rsp; in process_service_search()
268 p_rsp += 2; in process_service_search()
271 UINT16_TO_BE_STREAM(p_rsp, num_rsp_handles); in process_service_search()
272 UINT16_TO_BE_STREAM(p_rsp, cur_handles); in process_service_search()
279 UINT32_TO_BE_STREAM(p_rsp, rsp_handles[xx]); in process_service_search()
282 UINT8_TO_BE_STREAM(p_rsp, SDP_CONTINUATION_LEN); in process_service_search()
283 UINT16_TO_BE_STREAM(p_rsp, p_ccb->cont_offset); in process_service_search()
285 UINT8_TO_BE_STREAM(p_rsp, 0); in process_service_search()
288 rsp_param_len = p_rsp - p_rsp_param_len - 2; in process_service_search()
292 p_buf->len = p_rsp - p_rsp_start; in process_service_search()
315 uint8_t *p_rsp, *p_rsp_start, *p_rsp_param_len; in process_service_attr_req() local
388 p_rsp = &p_ccb->rsp_list[0]; in process_service_attr_req()
393 p_rsp = &p_ccb->rsp_list[3]; /* Leave space for data elem descr */ in process_service_attr_req()
408 rem_len = max_list_len - (int16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
427 p_rsp = sdpu_build_partial_attrib_entry(p_rsp, p_attr, rem_len, in process_service_attr_req()
446 p_rsp = sdpu_build_partial_attrib_entry( in process_service_attr_req()
447 p_rsp, p_attr, (uint16_t)rem_len, &p_ccb->cont_info.attr_offset); in process_service_attr_req()
453 p_rsp = sdpu_build_attrib_entry(p_rsp, p_attr); in process_service_attr_req()
468 len_to_send = (uint16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
494 p_rsp = p_rsp_start = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in process_service_attr_req()
497 UINT8_TO_BE_STREAM(p_rsp, SDP_PDU_SERVICE_ATTR_RSP); in process_service_attr_req()
498 UINT16_TO_BE_STREAM(p_rsp, trans_num); in process_service_attr_req()
501 p_rsp_param_len = p_rsp; in process_service_attr_req()
502 p_rsp += 2; in process_service_attr_req()
504 UINT16_TO_BE_STREAM(p_rsp, len_to_send); in process_service_attr_req()
506 memcpy(p_rsp, &p_ccb->rsp_list[cont_offset], len_to_send); in process_service_attr_req()
507 p_rsp += len_to_send; in process_service_attr_req()
515 UINT8_TO_BE_STREAM(p_rsp, SDP_CONTINUATION_LEN); in process_service_attr_req()
516 UINT16_TO_BE_STREAM(p_rsp, p_ccb->cont_offset); in process_service_attr_req()
518 UINT8_TO_BE_STREAM(p_rsp, 0); in process_service_attr_req()
521 rsp_param_len = p_rsp - p_rsp_param_len - 2; in process_service_attr_req()
525 p_buf->len = p_rsp - p_rsp_start; in process_service_attr_req()
550 uint8_t *p_rsp, *p_rsp_start, *p_rsp_param_len; in process_service_search_attr_req() local
616 p_rsp = &p_ccb->rsp_list[0]; in process_service_search_attr_req()
621 p_rsp = &p_ccb->rsp_list[3]; /* Leave space for data elem descr */ in process_service_search_attr_req()
634 p_seq_start = p_rsp; in process_service_search_attr_req()
638 rem_len = max_list_len - (int16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_search_attr_req()
645 p_rsp += 3; in process_service_search_attr_req()
668 rem_len = max_list_len - (int16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_search_attr_req()
688 p_rsp = sdpu_build_partial_attrib_entry( in process_service_search_attr_req()
689 p_rsp, p_attr, rem_len, &p_ccb->cont_info.attr_offset); in process_service_search_attr_req()
708 p_rsp = sdpu_build_partial_attrib_entry( in process_service_search_attr_req()
709 p_rsp, p_attr, (uint16_t)rem_len, &p_ccb->cont_info.attr_offset); in process_service_search_attr_req()
716 p_rsp = sdpu_build_attrib_entry(p_rsp, p_attr); in process_service_search_attr_req()
739 p_rsp = p_seq_start; in process_service_search_attr_req()
754 len_to_send = (uint16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_search_attr_req()
808 p_rsp = p_rsp_start = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in process_service_search_attr_req()
811 UINT8_TO_BE_STREAM(p_rsp, SDP_PDU_SERVICE_SEARCH_ATTR_RSP); in process_service_search_attr_req()
812 UINT16_TO_BE_STREAM(p_rsp, trans_num); in process_service_search_attr_req()
815 p_rsp_param_len = p_rsp; in process_service_search_attr_req()
816 p_rsp += 2; in process_service_search_attr_req()
819 UINT16_TO_BE_STREAM(p_rsp, len_to_send); in process_service_search_attr_req()
822 memcpy(p_rsp, &p_ccb->rsp_list[cont_offset], len_to_send); in process_service_search_attr_req()
823 p_rsp += len_to_send; in process_service_search_attr_req()
831 UINT8_TO_BE_STREAM(p_rsp, SDP_CONTINUATION_LEN); in process_service_search_attr_req()
832 UINT16_TO_BE_STREAM(p_rsp, p_ccb->cont_offset); in process_service_search_attr_req()
834 UINT8_TO_BE_STREAM(p_rsp, 0); in process_service_search_attr_req()
837 rsp_param_len = p_rsp - p_rsp_param_len - 2; in process_service_search_attr_req()
841 p_buf->len = p_rsp - p_rsp_start; in process_service_search_attr_req()