Home | History | Annotate | Download | only in dm

Lines Matching full:deactivate

736       if (p_data->deactivate.is_ntf) {
738 if ((p_data->deactivate.type == NFC_DEACTIVATE_TYPE_IDLE) ||
739 (p_data->deactivate.type == NFC_DEACTIVATE_TYPE_DISCOVERY)) {
855 ** Description Send deactivate command to NFCC, if needed.
857 ** Returns NFC_STATUS_OK - deactivate cmd is sent
860 ** to send deactivate cmd
870 /* if deactivate CMD was not sent to NFCC */
1173 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1407 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1417 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1430 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1459 disc_data.deactivate.type = NFA_DEACTIVATE_TYPE_IDLE;
1499 /* Deactivate to sleep mode */
1502 /* deactivate to sleep is sent on behalf of sleep wakeup.
1564 /* Perform pending deactivate command and on response notfiy deactivation
1603 nfc_discover.deactivate = deact;
1612 ** Description Deactivate to discovery mode and wait for activation
1629 /* Deactivate to discovery mode */
1633 /* deactivate to sleep is sent on behalf of sleep wakeup.
1812 * deactivate idle and then start disvocery when got deactivate rsp */
1841 /* if NFCC sent this after NFCC had rejected deactivate CMD to idle while
1844 if (p_data->nfc_discover.deactivate.type ==
1866 /* unexpected activation, deactivate to idle */
1895 /* if deactivate CMD was not sent to NFCC */
1904 /* if it's not race condition between deactivate CMD and activate NTF */
1941 "deactivate ntf");
1943 /* after receiving deactivate event, restart discovery */
1952 /* if there was race condition between deactivate CMD and activate NTF */
1991 /* if deactivate CMD was not sent to NFCC */
2008 /* if deactivate CMD is already sent then ignore discover NTF */
2029 "Not matched, restart discovery after receiving deactivate ntf");
2031 /* after receiving deactivate event, restart discovery */
2062 /* if not waiting to deactivate */
2094 * if deactivation is pending then deactivate */
2098 "Not matched, restart discovery after receiving deactivate ntf");
2100 /* after receiving deactivate event, restart discovery */
2109 /* if deactivate CMD was not sent to NFCC */
2129 /* target activation failed, upper layer may deactivate or select again
2184 /* sleep wakeup is already enabled when deactivate cmd is requested,
2199 /* it's race condition. received deactivate NTF before receiving RSP */
2206 nfc_discover.deactivate = deact;
2221 /* it's race condition. received deactivate NTF before receiving RSP */
2222 /* notify deactivation after receiving deactivate RSP */
2224 "Rx deactivate NTF while waiting for deactivate RSP");
2227 if (p_data->nfc_discover.deactivate.reason !=
2233 if ((p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_SLEEP) ||
2234 (p_data->nfc_discover.deactivate.type ==
2236 if (p_data->nfc_discover.deactivate.reason !=
2238 /* count for number of times deactivate cmd sent */
2244 /* process pending deactivate request */
2247 /* if deactivation is pending then deactivate */
2261 if (p_data->nfc_discover.deactivate.reason ==
2267 then MW shall send deacivate cmd with deactivate type is
2277 nfa_dm_send_deactivate_cmd(p_data->nfc_discover.deactivate.type);
2280 } else if (p_data->nfc_discover.deactivate.type ==
2284 } else if (p_data->nfc_discover.deactivate.type ==
2335 /* it's race condition. received deactivate NTF before receiving RSP */
2341 nfc_discover.deactivate = deact;
2356 /* it's race condition. received deactivate NTF before receiving RSP */
2357 /* notify deactivation after receiving deactivate RSP */
2359 "Rx deactivate NTF while waiting for deactivate RSP");
2364 if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_IDLE) {
2367 } else if ((p_data->nfc_discover.deactivate.type ==
2369 (p_data->nfc_discover.deactivate.type ==
2372 } else if (p_data->nfc_discover.deactivate.type ==
2408 /* if deactivate type is not discovery then NFCC will not sent
2417 /* if deactivate type in CMD was IDLE */
2438 if (p_data->nfc_discover.deactivate.type == NFC_DEACTIVATE_TYPE_IDLE) {
2441 } else if (p_data->nfc_discover.deactivate.type ==
2455 "Not matched, restart discovery after receiving deactivate ntf");
2457 /* after receiving deactivate event, restart discovery */
2757 ** Description Deactivate NFC link
3059 << StringPrintf("Deactivate and Restart RF discovery");