• Home
  • Raw
  • Download

Lines Matching refs:xx

167   tNFA_HANDLE xx;  in NFA_P2pDeregister()  local
171 xx = handle & NFA_HANDLE_MASK; in NFA_P2pDeregister()
173 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pDeregister()
207 tNFA_HANDLE xx; in NFA_P2pAcceptConn() local
212 xx = handle & NFA_HANDLE_MASK; in NFA_P2pAcceptConn()
214 if (!(xx & NFA_P2P_HANDLE_FLAG_CONN)) { in NFA_P2pAcceptConn()
218 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pAcceptConn()
221 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pAcceptConn()
260 tNFA_HANDLE xx; in NFA_P2pRejectConn() local
264 xx = handle & NFA_HANDLE_MASK; in NFA_P2pRejectConn()
266 if (!(xx & NFA_P2P_HANDLE_FLAG_CONN)) { in NFA_P2pRejectConn()
270 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pRejectConn()
273 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pRejectConn()
312 tNFA_HANDLE xx; in NFA_P2pDisconnect() local
317 xx = handle & NFA_HANDLE_MASK; in NFA_P2pDisconnect()
319 if (xx & NFA_P2P_HANDLE_FLAG_CONN) { in NFA_P2pDisconnect()
320 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pDisconnect()
322 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pDisconnect()
364 tNFA_HANDLE xx; in NFA_P2pConnectByName() local
370 xx = client_handle & NFA_HANDLE_MASK; in NFA_P2pConnectByName()
372 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pConnectByName()
421 tNFA_HANDLE xx; in NFA_P2pConnectBySap() local
427 xx = client_handle & NFA_HANDLE_MASK; in NFA_P2pConnectBySap()
429 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pConnectBySap()
479 tNFA_HANDLE xx; in NFA_P2pSendUI() local
486 xx = handle & NFA_HANDLE_MASK; in NFA_P2pSendUI()
488 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pSendUI()
497 } else if (nfa_p2p_cb.sap_cb[xx].flags & NFA_P2P_SAP_FLAG_LLINK_CONGESTED) { in NFA_P2pSendUI()
502 (uint8_t)xx, nfa_p2p_cb.sap_cb[xx].num_pending_ui_pdu, in NFA_P2pSendUI()
505 nfa_p2p_cb.sap_cb[xx].flags |= NFA_P2P_SAP_FLAG_LLINK_CONGESTED; in NFA_P2pSendUI()
526 nfa_p2p_cb.sap_cb[xx].num_pending_ui_pdu++; in NFA_P2pSendUI()
534 nfa_p2p_cb.sap_cb[xx].flags |= NFA_P2P_SAP_FLAG_LLINK_CONGESTED; in NFA_P2pSendUI()
567 tNFA_HANDLE xx; in NFA_P2pReadUI() local
573 xx = handle & NFA_HANDLE_MASK; in NFA_P2pReadUI()
575 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pReadUI()
579 *p_more = LLCP_ReadLogicalLinkData((uint8_t)xx, max_data_len, p_remote_sap, in NFA_P2pReadUI()
602 tNFA_HANDLE xx; in NFA_P2pFlushUI() local
608 xx = handle & NFA_HANDLE_MASK; in NFA_P2pFlushUI()
610 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pFlushUI()
615 *p_length = LLCP_FlushLogicalLinkRxData((uint8_t)xx); in NFA_P2pFlushUI()
642 tNFA_HANDLE xx; in NFA_P2pSendData() local
649 xx = handle & NFA_HANDLE_MASK; in NFA_P2pSendData()
650 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pSendData()
652 if ((!(handle & NFA_P2P_HANDLE_FLAG_CONN)) || (xx >= LLCP_MAX_DATA_LINK) || in NFA_P2pSendData()
653 (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pSendData()
656 } else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_REMOTE_RW_ZERO) { in NFA_P2pSendData()
660 } else if (nfa_p2p_cb.conn_cb[xx].remote_miu < length) { in NFA_P2pSendData()
662 handle, nfa_p2p_cb.conn_cb[xx].remote_miu); in NFA_P2pSendData()
664 } else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_CONGESTED) { in NFA_P2pSendData()
670 } else if (LLCP_IsDataLinkCongested(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pSendData()
671 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pSendData()
672 nfa_p2p_cb.conn_cb[xx].num_pending_i_pdu, in NFA_P2pSendData()
675 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_CONGESTED; in NFA_P2pSendData()
695 nfa_p2p_cb.conn_cb[xx].num_pending_i_pdu++; in NFA_P2pSendData()
702 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_CONGESTED; in NFA_P2pSendData()
734 tNFA_HANDLE xx; in NFA_P2pReadData() local
740 xx = handle & NFA_HANDLE_MASK; in NFA_P2pReadData()
741 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pReadData()
743 if ((!(handle & NFA_P2P_HANDLE_FLAG_CONN)) || (xx >= LLCP_MAX_DATA_LINK) || in NFA_P2pReadData()
744 (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pReadData()
748 *p_more = LLCP_ReadDataLinkData(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pReadData()
749 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pReadData()
772 tNFA_HANDLE xx; in NFA_P2pFlushData() local
778 xx = handle & NFA_HANDLE_MASK; in NFA_P2pFlushData()
779 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pFlushData()
781 if ((!(handle & NFA_P2P_HANDLE_FLAG_CONN)) || (xx >= LLCP_MAX_DATA_LINK) || in NFA_P2pFlushData()
782 (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pFlushData()
786 *p_length = LLCP_FlushDataLinkRxData(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pFlushData()
787 nfa_p2p_cb.conn_cb[xx].remote_sap); in NFA_P2pFlushData()
810 tNFA_HANDLE xx; in NFA_P2pSetLocalBusy() local
815 xx = conn_handle & NFA_HANDLE_MASK; in NFA_P2pSetLocalBusy()
817 if (!(xx & NFA_P2P_HANDLE_FLAG_CONN)) { in NFA_P2pSetLocalBusy()
821 xx &= ~NFA_P2P_HANDLE_FLAG_CONN; in NFA_P2pSetLocalBusy()
824 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pSetLocalBusy()
859 tNFA_HANDLE xx; in NFA_P2pGetLinkInfo() local
868 xx = handle & NFA_HANDLE_MASK; in NFA_P2pGetLinkInfo()
870 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pGetLinkInfo()
904 tNFA_HANDLE xx; in NFA_P2pGetRemoteSap() local
914 xx = handle & NFA_HANDLE_MASK; in NFA_P2pGetRemoteSap()
916 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pGetRemoteSap()