Searched refs:p_uart_obj (Results 1 – 2 of 2) sorted by relevance
205 TRACE_UART_INFO *p_uart_obj= &g_uart_obj; in trace_uart_tx() local207 if (!(p_uart_obj->tx_busy)) in trace_uart_tx()209 p_uart_obj->tx_busy = 1; in trace_uart_tx()211 p_uart_obj->tx_buffer = pstr; in trace_uart_tx()212 p_uart_obj->tx_len = len; in trace_uart_tx()213 p_uart_obj->tx_cb = tx_cb; in trace_uart_tx()221 …ret = UART_TXGDMA_Init(TRACE_UART_INDEX, &p_uart_obj->UARTTxGdmaInitStruct,(void *) p_uart_obj, tr… in trace_uart_tx()222 …NVIC_SetPriority(GDMA_GetIrqNum(0, p_uart_obj->UARTTxGdmaInitStruct.GDMA_ChNum), TRACEUART_DMA_PRI… in trace_uart_tx()226 p_uart_obj->tx_busy = 0; in trace_uart_tx()
94 T_HCI_UART *p_uart_obj = hci_uart_obj; in set_hci_uart_out() local95 if(p_uart_obj != NULL) in set_hci_uart_out()97 p_uart_obj->hci_uart_bridge_flag = flag; in set_hci_uart_out()487 T_HCI_UART *p_uart_obj = hci_uart_obj; in hci_uart_recv() local490 if(p_uart_obj == NULL) in hci_uart_recv()509 rx_len = HCI_UART_RX_BUF_SIZE - p_uart_obj->rx_read_idx; in hci_uart_recv()514 memcpy(p_buf, &(p_uart_obj->rx_buffer[p_uart_obj->rx_read_idx]), rx_len); in hci_uart_recv()516 p_uart_obj->rx_read_idx += rx_len; in hci_uart_recv()517 p_uart_obj->rx_read_idx %= HCI_UART_RX_BUF_SIZE; in hci_uart_recv()519 if (p_uart_obj->rx_disabled == true) /* flow control */ in hci_uart_recv()[all …]
Completed in 4 milliseconds