Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc2530 int8_t ByteOffset = 0; in rw_t2t_set_lock_tlv() local
2542 ByteOffset = (int8_t)(addr - xx * tags_pow(2, BytePerPage)); in rw_t2t_set_lock_tlv()
2544 if (ByteOffset < 16) { in rw_t2t_set_lock_tlv()
2550 if ((ByteOffset < 16) && (BytePerPage < 16) && (PageAddr < 16)) { in rw_t2t_set_lock_tlv()
2555 UINT8_TO_BE_STREAM(p, (PageAddr << 4 | ByteOffset)); in rw_t2t_set_lock_tlv()
2558 p_t2t->tlv_value[0] = PageAddr << 4 | ByteOffset; in rw_t2t_set_lock_tlv()