Searched refs:p_t2t (Results 1 – 2 of 2) sorted by relevance
85 tRW_T2T_CB *p_t2t = &rw_cb.tcb.t2t; in rw_t2t_handle_rsp() local87 if (p_t2t->substate == RW_T2T_SUBSTATE_WAIT_READ_CC) in rw_t2t_handle_rsp()89 p_t2t->b_read_hdr = TRUE; in rw_t2t_handle_rsp()90 memcpy (p_t2t->tag_hdr, p_data, T2T_READ_DATA_LEN); in rw_t2t_handle_rsp()93 switch (p_t2t->state) in rw_t2t_handle_rsp()96 if (p_t2t->tlv_detect == TAG_LOCK_CTRL_TLV) in rw_t2t_handle_rsp()98 if (p_t2t->substate == RW_T2T_SUBSTATE_WAIT_READ_CC) in rw_t2t_handle_rsp()102 else if (p_t2t->substate == RW_T2T_SUBSTATE_WAIT_READ_LOCKS) in rw_t2t_handle_rsp()111 else if (p_t2t->tlv_detect == TAG_NDEF_TLV) in rw_t2t_handle_rsp()113 if (p_t2t->substate == RW_T2T_SUBSTATE_WAIT_READ_CC) in rw_t2t_handle_rsp()[all …]
63 tRW_T2T_CB *p_t2t = &rw_cb.tcb.t2t; in rw_t2t_proc_data() local72 UINT8 begin_state = p_t2t->state; in rw_t2t_proc_data()75 if ( (p_t2t->state == RW_T2T_STATE_IDLE) in rw_t2t_proc_data()94 nfc_stop_quick_timer (&p_t2t->t2_timer); in rw_t2t_proc_data()100 &&(p_t2t->substate != RW_T2T_SUBSTATE_WAIT_SELECT_SECTOR) ) in rw_t2t_proc_data()101 ||(p_t2t->state == RW_T2T_STATE_HALT) ) in rw_t2t_proc_data()104 RW_TRACE_ERROR1 ("T2T Frame error. state=%s ", rw_t2t_get_state_name (p_t2t->state)); in rw_t2t_proc_data()106 RW_TRACE_ERROR1 ("T2T Frame error. state=0x%02X command=0x%02X ", p_t2t->state); in rw_t2t_proc_data()108 if (p_t2t->state != RW_T2T_STATE_HALT) in rw_t2t_proc_data()112 p_t2t->check_tag_halt = FALSE; in rw_t2t_proc_data()[all …]