Home
last modified time | relevance | path

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

/net/nfc/nci/
Duart.c51 static inline struct sk_buff *nci_uart_dequeue(struct nci_uart *nu) in nci_uart_dequeue() argument
53 struct sk_buff *skb = nu->tx_skb; in nci_uart_dequeue()
56 skb = skb_dequeue(&nu->tx_q); in nci_uart_dequeue()
58 nu->tx_skb = NULL; in nci_uart_dequeue()
63 static inline int nci_uart_queue_empty(struct nci_uart *nu) in nci_uart_queue_empty() argument
65 if (nu->tx_skb) in nci_uart_queue_empty()
68 return skb_queue_empty(&nu->tx_q); in nci_uart_queue_empty()
71 static int nci_uart_tx_wakeup(struct nci_uart *nu) in nci_uart_tx_wakeup() argument
73 if (test_and_set_bit(NCI_UART_SENDING, &nu->tx_state)) { in nci_uart_tx_wakeup()
74 set_bit(NCI_UART_TX_WAKEUP, &nu->tx_state); in nci_uart_tx_wakeup()
[all …]