Searched refs:rw_length (Results 1 – 4 of 4) sorted by relevance
539 if (xx > length || p_i93->rw_length > p_i93->ndef_length) { in rw_t5t_sm_update_ndef()544 if (p_i93->rw_length < p_i93->ndef_length) { in rw_t5t_sm_update_ndef()545 *(p + xx) = *(p_i93->p_update_data + p_i93->rw_length++); in rw_t5t_sm_update_ndef()573 if (p_i93->rw_length < p_i93->ndef_length) { in rw_t5t_sm_update_ndef()574 p = p_i93->p_update_data + p_i93->rw_length; in rw_t5t_sm_update_ndef()577 p_i93->rw_length += p_i93->block_size; in rw_t5t_sm_update_ndef()580 if (p_i93->rw_length >= p_i93->ndef_length) { in rw_t5t_sm_update_ndef()583 (p_i93->rw_length - p_i93->ndef_length)); in rw_t5t_sm_update_ndef()633 p_i93->rw_length = 3; in rw_t5t_sm_update_ndef()635 p_i93->rw_length = 1; in rw_t5t_sm_update_ndef()[all …]
291 p_t4t->rw_length -= data_length; in rw_t4t_set_ber_tlv()838 p_t4t->rw_length = length; in rw_t4t_read_file()851 if ((p_t4t->rw_offset + p_t4t->rw_length) > 0x7FFF) { in rw_t4t_read_file()1006 p_t4t->rw_offset, p_t4t->rw_length); in rw_t4t_update_file()1016 length = p_t4t->rw_length; in rw_t4t_update_file()1033 if ((p_t4t->rw_offset + p_t4t->rw_length) > 0x7FFF) { in rw_t4t_update_file()1075 p_t4t->rw_length -= length; in rw_t4t_update_file()1897 if ((p_r_apdu->len > 0) && (p_r_apdu->len <= p_t4t->rw_length)) { in rw_t4t_sm_read_ndef()1898 p_t4t->rw_length -= p_r_apdu->len; in rw_t4t_sm_read_ndef()1904 p_r_apdu->len, p_t4t->rw_length); in rw_t4t_sm_read_ndef()[all …]
2238 if (p_i93->rw_length == 0) { in rw_i93_sm_read_ndef()2264 p_i93->rw_length += p_resp->len; in rw_i93_sm_read_ndef()2271 if (p_i93->rw_length >= p_i93->ndef_length) { in rw_i93_sm_read_ndef()2273 p_resp->len -= (p_i93->rw_length - p_i93->ndef_length); in rw_i93_sm_read_ndef()2374 if (xx > length || p_i93->rw_length > p_i93->ndef_length) { in rw_i93_sm_update_ndef()2379 if (p_i93->rw_length < p_i93->ndef_length) { in rw_i93_sm_update_ndef()2380 *(p + xx) = *(p_i93->p_update_data + p_i93->rw_length++); in rw_i93_sm_update_ndef()2409 if (p_i93->rw_length < p_i93->ndef_length) { in rw_i93_sm_update_ndef()2410 p = p_i93->p_update_data + p_i93->rw_length; in rw_i93_sm_update_ndef()2413 p_i93->rw_length += p_i93->block_size; in rw_i93_sm_update_ndef()[all …]
594 uint32_t rw_length; /* remaining bytes to read/write */ member656 uint16_t rw_length; /* remaining bytes to read/write */ member816 uint16_t rw_length; /* bytes to read/write */ member