Lines Matching full:deactivate
790 if (p_data->deactivate.is_ntf)
793 if ((p_data->deactivate.type == NFC_DEACTIVATE_TYPE_IDLE) || (p_data->deactivate.type == NFC_DEACTIVATE_TYPE_DISCOVERY))
915 ** Description Send deactivate command to NFCC, if needed.
917 ** Returns NFC_STATUS_OK - deactivate cmd is sent
920 ** to send deactivate cmd
930 /* if deactivate CMD was not sent to NFCC */
1220 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1469 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1481 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1497 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1533 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1575 /* Deactivate to sleep mode */
1579 /* deactivate to sleep is sent on behalf of sleep wakeup.
1647 /* Perform pending deactivate command and on response notfiy deactivation */
1692 ** Description Deactivate to discovery mode and wait for activation
1711 /* Deactivate to discovery mode */
1716 /* deactivate to sleep is sent on behalf of sleep wakeup.
1914 * deactivate idle and then start disvocery when got deactivate rsp */
1942 /* if NFCC sent this after NFCC had rejected deactivate CMD to idle while deactivating */
1945 if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_DISCOVERY)
1965 /* unexpected activation, deactivate to idle */
1995 /* if deactivate CMD was not sent to NFCC */
2005 /* if it's not race condition between deactivate CMD and activate NTF */
2047 NFA_TRACE_DEBUG0 ("Not matched, restart discovery after receiving deactivate ntf");
2049 /* after receiving deactivate event, restart discovery */
2057 /* if there was race condition between deactivate CMD and activate NTF */
2099 /* if deactivate CMD was not sent to NFCC */
2116 /* if deactivate CMD is already sent then ignore discover NTF */
2136 NFA_TRACE_DEBUG0 ("Not matched, restart discovery after receiving deactivate ntf");
2138 /* after receiving deactivate event, restart discovery */
2169 /* if not waiting to deactivate */
2206 /* Handle sleep wakeup success: notify RW module of sleep wakeup of tag; if deactivation is pending then deactivate */
2211 NFA_TRACE_DEBUG0 ("Not matched, restart discovery after receiving deactivate ntf");
2213 /* after receiving deactivate event, restart discovery */
2223 /* if deactivate CMD was not sent to NFCC */
2244 /* target activation failed, upper layer may deactivate or select again */
2293 /* sleep wakeup is already enabled when deactivate cmd is requested,
2311 /* it's race condition. received deactivate NTF before receiving RSP */
2330 /* it's race condition. received deactivate NTF before receiving RSP */
2331 /* notify deactivation after receiving deactivate RSP */
2332 NFA_TRACE_DEBUG0 ("Rx deactivate NTF while waiting for deactivate RSP");
2340 if ( (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_SLEEP)
2341 ||(p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_SLEEP_AF) )
2347 /* process pending deactivate request */
2351 /* if deactivation is pending then deactivate */
2368 else if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_IDLE)
2373 else if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_DISCOVERY)
2429 /* it's race condition. received deactivate NTF before receiving RSP */
2448 /* it's race condition. received deactivate NTF before receiving RSP */
2449 /* notify deactivation after receiving deactivate RSP */
2450 NFA_TRACE_DEBUG0 ("Rx deactivate NTF while waiting for deactivate RSP");
2456 if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_IDLE)
2461 else if ( (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_SLEEP)
2462 ||(p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_SLEEP_AF) )
2466 else if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_DISCOVERY)
2504 /* if deactivate type is not discovery then NFCC will not sent deactivation NTF */
2513 /* if deactivate type in CMD was IDLE */
2530 if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_IDLE)
2535 else if (p_data->nfc_discover.deactivate.type == NFA_DEACTIVATE_TYPE_DISCOVERY)
2550 NFA_TRACE_DEBUG0 ("Not matched, restart discovery after receiving deactivate ntf");
2552 /* after receiving deactivate event, restart discovery */
2872 ** Description Deactivate NFC link
3191 NFA_TRACE_DEBUG0 ("Deactivate and Restart RF discovery");