Home
last modified time | relevance | path

Searched refs:ndef_length (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Nfc/libnfc-nci/src/nfc/tags/
Drw_t5t.cc424 p_i93->ndef_length = p_i93->tlv_length; in rw_t5t_sm_detect_ndef()
432 rw_data.ndef.cur_size = p_i93->ndef_length; in rw_t5t_sm_detect_ndef()
436 rw_data.ndef.max_size = p_i93->ndef_length; in rw_t5t_sm_detect_ndef()
454 p_i93->gre_ndef_tlv_length = p_i93->ndef_length; in rw_t5t_sm_detect_ndef()
542 if (p_i93->ndef_length > 0) { in rw_t5t_sm_update_ndef()
544 if (p_i93->ndef_length >= 0xFF) { in rw_t5t_sm_update_ndef()
550 if (p_i93->ndef_length >= 0xFF) { in rw_t5t_sm_update_ndef()
558 if (xx > length || p_i93->rw_length > p_i93->ndef_length) { in rw_t5t_sm_update_ndef()
563 if (p_i93->rw_length < p_i93->ndef_length) { in rw_t5t_sm_update_ndef()
592 if (p_i93->rw_length < p_i93->ndef_length) { in rw_t5t_sm_update_ndef()
[all …]
Drw_mfc.cc373 p_mfc->ndef_length = buf_len; in RW_MfcWriteNDef()
430 if (p_mfc->ndef_length <= 0xFE) { in rw_mfc_writeBlock()
432 UINT8_TO_BE_STREAM(p, p_mfc->ndef_length); in rw_mfc_writeBlock()
437 UINT8_TO_BE_STREAM(p, (uint8_t)(p_mfc->ndef_length >> 8)); in rw_mfc_writeBlock()
438 UINT8_TO_BE_STREAM(p, (uint8_t)(p_mfc->ndef_length & 0xFF)); in rw_mfc_writeBlock()
443 if (p_mfc->work_offset == p_mfc->ndef_length) { in rw_mfc_writeBlock()
445 } else if (p_mfc->work_offset > p_mfc->ndef_length) { in rw_mfc_writeBlock()
513 if (p_mfc->work_offset >= p_mfc->ndef_length) { in rw_mfc_handle_write_op()
883 p_mfc->ndef_length = 0; in rw_MfcLocateTlv()
1269 saved_length = p_mfc->ndef_length; in rw_mfc_handle_read_op()
[all …]
Drw_i93.cc2061 p_i93->ndef_length = p_i93->tlv_length; in rw_i93_sm_detect_ndef()
2131 p_i93->ndef_length in rw_i93_sm_detect_ndef()
2138 p_i93->ndef_length in rw_i93_sm_detect_ndef()
2182 if ((p_i93->ndef_length < 0xFF) && (p_i93->max_ndef_length >= 0xFF)) { in rw_i93_sm_detect_ndef()
2193 rw_data.ndef.cur_size = p_i93->ndef_length; in rw_i93_sm_detect_ndef()
2197 rw_data.ndef.max_size = p_i93->ndef_length; in rw_i93_sm_detect_ndef()
2258 if (p_i93->ndef_length < 0xFF) { in rw_i93_sm_read_ndef()
2287 if (p_i93->rw_length >= p_i93->ndef_length) { in rw_i93_sm_read_ndef()
2289 p_resp->len -= (p_i93->rw_length - p_i93->ndef_length); in rw_i93_sm_read_ndef()
2295 __func__, p_resp->len, p_i93->ndef_length); in rw_i93_sm_read_ndef()
[all …]
Drw_t4t.cc1873 p_t4t->ndef_length = nlen; in rw_t4t_sm_detect_ndef()
2188 if (!rw_t4t_update_nlen(p_t4t->ndef_length)) { in rw_t4t_sm_update_ndef()
2830 rw_cb.tcb.t4t.ndef_length, false)) { in RW_T4tReadNDef()
2888 rw_cb.tcb.t4t.ndef_length = length; in RW_T4tUpdateNDef()
/packages/modules/Nfc/libnfc-nci/src/nfc/include/
Drw_int.h592 uint32_t ndef_length; /* length of NDEF data */ member
655 uint16_t ndef_length; /* length of NDEF data */ member
818 uint32_t ndef_length; /* length of NDEF data */ member