Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t2t.cc890 tRW_CB* p_rw_cb = &rw_cb; in RW_T2tPresenceCheck() local
896 if (!p_rw_cb->p_cback) { in RW_T2tPresenceCheck()
900 else if (p_rw_cb->tcb.t2t.state == RW_T2T_STATE_NOT_ACTIVATED) { in RW_T2tPresenceCheck()
902 (*p_rw_cb->p_cback)(RW_T2T_PRESENCE_CHECK_EVT, &evt_data); in RW_T2tPresenceCheck()
905 else if (p_rw_cb->tcb.t2t.state != RW_T2T_STATE_IDLE) { in RW_T2tPresenceCheck()
907 (*p_rw_cb->p_cback)(RW_T2T_PRESENCE_CHECK_EVT, &evt_data); in RW_T2tPresenceCheck()
912 p_rw_cb->tcb.t2t.state = RW_T2T_STATE_CHECK_PRESENCE; in RW_T2tPresenceCheck()
Drw_t1t.cc712 tRW_CB* p_rw_cb = &rw_cb; in RW_T1tPresenceCheck() local
717 if (!p_rw_cb->p_cback) { in RW_T1tPresenceCheck()
721 else if (p_rw_cb->tcb.t1t.state == RW_T1T_STATE_NOT_ACTIVATED) { in RW_T1tPresenceCheck()
723 (*p_rw_cb->p_cback)(RW_T1T_PRESENCE_CHECK_EVT, &evt_data); in RW_T1tPresenceCheck()
726 else if (p_rw_cb->tcb.t1t.state != RW_T1T_STATE_IDLE) { in RW_T1tPresenceCheck()
728 (*p_rw_cb->p_cback)(RW_T1T_PRESENCE_CHECK_EVT, &evt_data); in RW_T1tPresenceCheck()
733 p_rw_cb->tcb.t1t.state = RW_T1T_STATE_CHECK_PRESENCE; in RW_T1tPresenceCheck()
Drw_t3t.cc2750 tRW_CB* p_rw_cb = &rw_cb; in RW_T3tPresenceCheck() local
2755 if (!(p_rw_cb->p_cback)) { in RW_T3tPresenceCheck()
2759 else if (p_rw_cb->tcb.t3t.rw_state == RW_T3T_STATE_NOT_ACTIVATED) { in RW_T3tPresenceCheck()
2761 (*p_rw_cb->p_cback)(RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in RW_T3tPresenceCheck()
2764 else if (p_rw_cb->tcb.t3t.rw_state == RW_T3T_STATE_COMMAND_PENDING) { in RW_T3tPresenceCheck()
2766 if (p_rw_cb->tcb.t3t.flags & RW_T3T_FL_W4_PRESENCE_CHECK_POLL_RSP) { in RW_T3tPresenceCheck()
2774 (*p_rw_cb->p_cback)(RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in RW_T3tPresenceCheck()
2780 p_rw_cb->tcb.t3t.flags |= RW_T3T_FL_W4_PRESENCE_CHECK_POLL_RSP; in RW_T3tPresenceCheck()
2781 p_rw_cb->tcb.t3t.rw_state = RW_T3T_STATE_COMMAND_PENDING; in RW_T3tPresenceCheck()
2782 p_rw_cb->tcb.t3t.cur_poll_rc = 0; in RW_T3tPresenceCheck()
[all …]