Searched refs:pProtocol (Results 1 – 1 of 1) sorted by relevance
104 static void HCIUartCleanup(struct gmbox_proto_hci_uart *pProtocol) in HCIUartCleanup() argument106 A_ASSERT(pProtocol != NULL); in HCIUartCleanup()108 A_MUTEX_DELETE(&pProtocol->HCIRxLock); in HCIUartCleanup()109 A_MUTEX_DELETE(&pProtocol->HCITxLock); in HCIUartCleanup()111 A_FREE(pProtocol); in HCIUartCleanup()852 struct gmbox_proto_hci_uart *pProtocol = NULL; in GMboxProtocolInstall() local856 pProtocol = A_MALLOC(sizeof(struct gmbox_proto_hci_uart)); in GMboxProtocolInstall()858 if (NULL == pProtocol) { in GMboxProtocolInstall()863 A_MEMZERO(pProtocol, sizeof(*pProtocol)); in GMboxProtocolInstall()864 pProtocol->pDev = pDev; in GMboxProtocolInstall()[all …]