• Home
  • Raw
  • Download

Lines Matching refs:p_out

398 uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr,  in sdpu_build_attrib_seq()  argument
410 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
412 UINT16_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
414 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
416 UINT8_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
421 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_seq()
422 UINT16_TO_BE_STREAM(p_out, 0); in sdpu_build_attrib_seq()
423 UINT16_TO_BE_STREAM(p_out, 0xFFFF); in sdpu_build_attrib_seq()
427 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_seq()
428 UINT16_TO_BE_STREAM(p_out, *p_attr); in sdpu_build_attrib_seq()
432 return (p_out); in sdpu_build_attrib_seq()
446 uint8_t* sdpu_build_attrib_entry(uint8_t* p_out, tSDP_ATTRIBUTE* p_attr) { in sdpu_build_attrib_entry() argument
448 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_entry()
449 UINT16_TO_BE_STREAM(p_out, p_attr->id); in sdpu_build_attrib_entry()
460 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_LONG); in sdpu_build_attrib_entry()
461 UINT32_TO_BE_STREAM(p_out, p_attr->len); in sdpu_build_attrib_entry()
466 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_WORD); in sdpu_build_attrib_entry()
467 UINT16_TO_BE_STREAM(p_out, p_attr->len); in sdpu_build_attrib_entry()
471 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_attrib_entry()
472 UINT8_TO_BE_STREAM(p_out, p_attr->len); in sdpu_build_attrib_entry()
476 ARRAY_TO_BE_STREAM(p_out, p_attr->value_ptr, (int)p_attr->len); in sdpu_build_attrib_entry()
479 return (p_out); in sdpu_build_attrib_entry()
485 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_ONE_BYTE); in sdpu_build_attrib_entry()
488 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_entry()
491 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_entry()
494 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_EIGHT_BYTES); in sdpu_build_attrib_entry()
497 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_attrib_entry()
500 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_attrib_entry()
501 UINT8_TO_BE_STREAM(p_out, p_attr->len); in sdpu_build_attrib_entry()
506 ARRAY_TO_BE_STREAM(p_out, p_attr->value_ptr, (int)p_attr->len); in sdpu_build_attrib_entry()
509 return (p_out); in sdpu_build_attrib_entry()
1131 uint8_t* sdpu_build_partial_attrib_entry(uint8_t* p_out, tSDP_ATTRIBUTE* p_attr, in sdpu_build_partial_attrib_entry() argument
1146 memcpy(p_out, &p_attr_buff[*offset], len_to_copy); in sdpu_build_partial_attrib_entry()
1148 p_out = &p_out[len_to_copy]; in sdpu_build_partial_attrib_entry()
1152 return p_out; in sdpu_build_partial_attrib_entry()