Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/tags/
Drw_t2t.c941 tRW_CB *p_rw_cb = &rw_cb; in RW_T2tPresenceCheck() local
947 if (!p_rw_cb->p_cback) in RW_T2tPresenceCheck()
952 else if (p_rw_cb->tcb.t2t.state == RW_T2T_STATE_NOT_ACTIVATED) in RW_T2tPresenceCheck()
955 (*p_rw_cb->p_cback) (RW_T2T_PRESENCE_CHECK_EVT, &evt_data); in RW_T2tPresenceCheck()
958 else if (p_rw_cb->tcb.t2t.state != RW_T2T_STATE_IDLE) in RW_T2tPresenceCheck()
961 (*p_rw_cb->p_cback) (RW_T2T_PRESENCE_CHECK_EVT, &evt_data); in RW_T2tPresenceCheck()
968 p_rw_cb->tcb.t2t.state = RW_T2T_STATE_CHECK_PRESENCE; in RW_T2tPresenceCheck()
Drw_t1t.c727 tRW_CB *p_rw_cb = &rw_cb; in RW_T1tPresenceCheck() local
732 if (!p_rw_cb->p_cback) in RW_T1tPresenceCheck()
737 else if (p_rw_cb->tcb.t1t.state == RW_T1T_STATE_NOT_ACTIVATED) in RW_T1tPresenceCheck()
740 (*p_rw_cb->p_cback) (RW_T1T_PRESENCE_CHECK_EVT, &evt_data); in RW_T1tPresenceCheck()
743 else if (p_rw_cb->tcb.t1t.state != RW_T1T_STATE_IDLE) in RW_T1tPresenceCheck()
746 (*p_rw_cb->p_cback) (RW_T1T_PRESENCE_CHECK_EVT, &evt_data); in RW_T1tPresenceCheck()
753 p_rw_cb->tcb.t1t.state = RW_T1T_STATE_CHECK_PRESENCE; in RW_T1tPresenceCheck()
Drw_t3t.c2870 tRW_CB *p_rw_cb = &rw_cb; in RW_T3tPresenceCheck() local
2875 if (!(p_rw_cb->p_cback)) in RW_T3tPresenceCheck()
2880 else if (p_rw_cb->tcb.t3t.rw_state == RW_T3T_STATE_NOT_ACTIVATED) in RW_T3tPresenceCheck()
2883 (*p_rw_cb->p_cback) (RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in RW_T3tPresenceCheck()
2886 else if (p_rw_cb->tcb.t3t.rw_state == RW_T3T_STATE_COMMAND_PENDING) in RW_T3tPresenceCheck()
2889 if (p_rw_cb->tcb.t3t.flags & RW_T3T_FL_W4_PRESENCE_CHECK_POLL_RSP) in RW_T3tPresenceCheck()
2898 (*p_rw_cb->p_cback) (RW_T3T_PRESENCE_CHECK_EVT, &evt_data); in RW_T3tPresenceCheck()
2906 p_rw_cb->tcb.t3t.flags |= RW_T3T_FL_W4_PRESENCE_CHECK_POLL_RSP; in RW_T3tPresenceCheck()
2907 p_rw_cb->tcb.t3t.rw_state = RW_T3T_STATE_COMMAND_PENDING; in RW_T3tPresenceCheck()
2908 p_rw_cb->tcb.t3t.cur_poll_rc = 0; in RW_T3tPresenceCheck()
[all …]