Searched refs:ByteOffset (Results 1 – 1 of 1) sorted by relevance
2493 int8_t ByteOffset = 0; in rw_t2t_set_lock_tlv() local2505 ByteOffset = (int8_t)(addr - xx * tags_pow(2, BytePerPage)); in rw_t2t_set_lock_tlv()2507 if (ByteOffset < 16) { in rw_t2t_set_lock_tlv()2513 if ((ByteOffset < 16) && (BytePerPage < 16) && (PageAddr < 16)) { in rw_t2t_set_lock_tlv()2518 UINT8_TO_BE_STREAM(p, (PageAddr << 4 | ByteOffset)); in rw_t2t_set_lock_tlv()2521 p_t2t->tlv_value[0] = PageAddr << 4 | ByteOffset; in rw_t2t_set_lock_tlv()