Lines Matching refs:nci_uart
37 static struct nci_uart *nci_uart_drivers[NCI_UART_DRIVER_MAX];
39 static inline struct sk_buff *nci_uart_dequeue(struct nci_uart *nu) in nci_uart_dequeue()
51 static inline int nci_uart_queue_empty(struct nci_uart *nu) in nci_uart_queue_empty()
59 static int nci_uart_tx_wakeup(struct nci_uart *nu) in nci_uart_tx_wakeup()
73 struct nci_uart *nu = container_of(work, struct nci_uart, write_work); in nci_uart_write_work()
107 struct nci_uart *nu = NULL; in nci_uart_set_driver()
120 memcpy(nu, nci_uart_drivers[driver], sizeof(struct nci_uart)); in nci_uart_set_driver()
175 struct nci_uart *nu = tty->disc_data; in nci_uart_tty_close()
207 struct nci_uart *nu = tty->disc_data; in nci_uart_tty_wakeup()
226 static int nci_uart_default_recv_buf(struct nci_uart *nu, const u8 *data, in nci_uart_default_recv_buf()
301 struct nci_uart *nu = tty->disc_data; in nci_uart_tty_receive()
328 struct nci_uart *nu = tty->disc_data; in nci_uart_tty_ioctl()
360 static int nci_uart_send(struct nci_uart *nu, struct sk_buff *skb) in nci_uart_send()
371 int nci_uart_register(struct nci_uart *nu) in nci_uart_register()
393 void nci_uart_unregister(struct nci_uart *nu) in nci_uart_unregister()
403 void nci_uart_set_config(struct nci_uart *nu, int baudrate, int flow_ctrl) in nci_uart_set_config()