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_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_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_t3t.cc2777 tRW_CB* p_rw_cb = &rw_cb; in RW_T3tPresenceCheck() local
2782 if (!(p_rw_cb->p_cback)) { in RW_T3tPresenceCheck()
2786 else if (p_rw_cb->tcb.t3t.rw_state == RW_T3T_STATE_NOT_ACTIVATED) { in RW_T3tPresenceCheck()
2788 (*p_rw_cb->p_cback)(RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in RW_T3tPresenceCheck()
2791 else if (p_rw_cb->tcb.t3t.rw_state == RW_T3T_STATE_COMMAND_PENDING) { in RW_T3tPresenceCheck()
2793 if (p_rw_cb->tcb.t3t.flags & RW_T3T_FL_W4_PRESENCE_CHECK_POLL_RSP) { in RW_T3tPresenceCheck()
2801 (*p_rw_cb->p_cback)(RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in RW_T3tPresenceCheck()
2807 p_rw_cb->tcb.t3t.flags |= RW_T3T_FL_W4_PRESENCE_CHECK_POLL_RSP; in RW_T3tPresenceCheck()
2808 p_rw_cb->tcb.t3t.rw_state = RW_T3T_STATE_COMMAND_PENDING; in RW_T3tPresenceCheck()
2809 p_rw_cb->tcb.t3t.cur_poll_rc = 0; in RW_T3tPresenceCheck()
[all …]