Home
last modified time | relevance | path

Searched refs:LookAheadBytes (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/ath6kl/htc2/AR6000/
Dar6k_gmbox_hciuart.c307 static int HCIUartMessagePending(void *pContext, u8 LookAheadBytes[], int ValidBytes) in HCIUartMessagePending() argument
330 if ((LookAheadBytes[0] == HCI_UART_ACL_PKT) && (ValidBytes < 5)) { in HCIUartMessagePending()
335 switch (LookAheadBytes[0]) { in HCIUartMessagePending()
338 LookAheadBytes[1], LookAheadBytes[2])); in HCIUartMessagePending()
339 totalRecvLength = LookAheadBytes[2]; in HCIUartMessagePending()
344 totalRecvLength = (LookAheadBytes[4] << 8) | LookAheadBytes[3]; in HCIUartMessagePending()
346 ((LookAheadBytes[2] & 0xF0) << 8) | LookAheadBytes[1], totalRecvLength)); in HCIUartMessagePending()
351 … AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("**Invalid HCI packet type: %d \n",LookAheadBytes[0])); in HCIUartMessagePending()
416 LookAheadBytes[0], totalRecvLength, pPacket->BufferLength)); in HCIUartMessagePending()
437 totalRecvLength, (LookAheadBytes[0] == HCI_UART_EVENT_PKT) ? "EVENT" : "ACL")); in HCIUartMessagePending()
[all …]
Dar6k.h101 int (*pMessagePendingCallBack)(void *pContext, u8 LookAheadBytes[], int ValidBytes);