Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/porting/transport/driver/common/
Dhci_driver_util.c37 struct hci_driver_util_tx_list tx_head; member
108 STAILQ_INSERT_HEAD(&s_hci_driver_util_env.tx_head, tx_entry, next); in hci_driver_util_tx_list_enqueue()
112 STAILQ_INSERT_TAIL(&s_hci_driver_util_env.tx_head, tx_entry, next); in hci_driver_util_tx_list_enqueue()
172 if (!tx_len && !STAILQ_EMPTY(&s_hci_driver_util_env.tx_head)) { in hci_driver_util_tx_list_dequeue()
174 tx_entry = STAILQ_FIRST(&s_hci_driver_util_env.tx_head); in hci_driver_util_tx_list_dequeue()
175 STAILQ_REMOVE_HEAD(&s_hci_driver_util_env.tx_head, next); in hci_driver_util_tx_list_dequeue()
197 STAILQ_INIT(&s_hci_driver_util_env.tx_head); in hci_driver_util_init()
211 tx_entry = STAILQ_FIRST(&s_hci_driver_util_env.tx_head); in hci_driver_util_deinit()
/hal_espressif-latest/components/driver/uart/
Duart.c122 …uart_tx_data_t *tx_head; /*!< TX data pointer to head of the current buffer in TX ring … member
809 … p_uart->tx_head = (uart_tx_data_t *) xRingbufferReceiveFromISR(p_uart->tx_ring_buf, &size); in uart_rx_intr_handler_default()
810 if (p_uart->tx_head) { in uart_rx_intr_handler_default()
815 p_uart->tx_len_tot = p_uart->tx_head->tx_data.size; in uart_rx_intr_handler_default()
816 if (p_uart->tx_head->type == UART_DATA_BREAK) { in uart_rx_intr_handler_default()
818 p_uart->tx_brk_len = p_uart->tx_head->tx_data.brk_len; in uart_rx_intr_handler_default()
821 … vRingbufferReturnItemFromISR(p_uart->tx_ring_buf, p_uart->tx_head, &HPTaskAwoken); in uart_rx_intr_handler_default()
824 p_uart->tx_ptr = (uint8_t *)p_uart->tx_head; in uart_rx_intr_handler_default()
843 … vRingbufferReturnItemFromISR(p_uart->tx_ring_buf, p_uart->tx_head, &HPTaskAwoken); in uart_rx_intr_handler_default()
844 p_uart->tx_head = NULL; in uart_rx_intr_handler_default()
[all …]