Searched refs:bytes_count (Results 1 – 3 of 3) sorted by relevance
513 p_t2t->bytes_count = p_t2t->ndef_msg_len; in rw_t2t_handle_tlv_detect_rsp()525 p_t2t->bytes_count = p_t2t->prop_msg_len; in rw_t2t_handle_tlv_detect_rsp()542 p_t2t->bytes_count = TAG_DEFAULT_TLV_LEN; in rw_t2t_handle_tlv_detect_rsp()557 p_t2t->bytes_count = (uint8_t)p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()566 p_t2t->bytes_count = (p_t2t->bytes_count << 8) + p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()568 p_t2t->ndef_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()570 p_t2t->prop_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()579 if ((p_t2t->bytes_count == p_t2t->ndef_msg_len) && in rw_t2t_handle_tlv_detect_rsp()585 if (p_t2t->bytes_count > 0) p_t2t->bytes_count--; in rw_t2t_handle_tlv_detect_rsp()590 } else if (p_t2t->bytes_count == 0) { in rw_t2t_handle_tlv_detect_rsp()[all …]
859 uint16_t bytes_count = 0; in rw_t1t_handle_tlv_detect_rsp() local941 bytes_count = p_t1t->ndef_msg_len; in rw_t1t_handle_tlv_detect_rsp()952 bytes_count = len; in rw_t1t_handle_tlv_detect_rsp()969 bytes_count = T1T_DEFAULT_TLV_LEN; in rw_t1t_handle_tlv_detect_rsp()983 bytes_count = (uint8_t)p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()991 bytes_count = (bytes_count << 8) + p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()993 p_t1t->ndef_msg_len = bytes_count; in rw_t1t_handle_tlv_detect_rsp()1002 if ((bytes_count == p_t1t->ndef_msg_len) && in rw_t1t_handle_tlv_detect_rsp()1007 if (bytes_count > 0) bytes_count--; in rw_t1t_handle_tlv_detect_rsp()1016 } else if (bytes_count == 0) { in rw_t1t_handle_tlv_detect_rsp()[all …]
440 bytes_count; /* No. of bytes remaining to collect during tlv detect */ member