Lines Matching refs:nu

37 	struct nci_uart *nu = priv->drv_data;  in nfcmrvl_uart_nci_send()  local
39 return nu->ops.send(nu, skb); in nfcmrvl_uart_nci_send()
45 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config() local
48 nci_uart_set_config(nu, le32_to_cpu(config->baudrate), in nfcmrvl_uart_nci_update_config()
91 static int nfcmrvl_nci_uart_open(struct nci_uart *nu) in nfcmrvl_nci_uart_open() argument
96 struct device *dev = nu->tty->dev; in nfcmrvl_nci_uart_open()
117 priv = nfcmrvl_nci_register_dev(NFCMRVL_PHY_UART, nu, &uart_ops, in nfcmrvl_nci_uart_open()
124 nu->drv_data = priv; in nfcmrvl_nci_uart_open()
125 nu->ndev = priv->ndev; in nfcmrvl_nci_uart_open()
130 static void nfcmrvl_nci_uart_close(struct nci_uart *nu) in nfcmrvl_nci_uart_close() argument
132 nfcmrvl_nci_unregister_dev((struct nfcmrvl_private *)nu->drv_data); in nfcmrvl_nci_uart_close()
135 static int nfcmrvl_nci_uart_recv(struct nci_uart *nu, struct sk_buff *skb) in nfcmrvl_nci_uart_recv() argument
137 return nfcmrvl_nci_recv_frame((struct nfcmrvl_private *)nu->drv_data, in nfcmrvl_nci_uart_recv()
141 static void nfcmrvl_nci_uart_tx_start(struct nci_uart *nu) in nfcmrvl_nci_uart_tx_start() argument
143 struct nfcmrvl_private *priv = (struct nfcmrvl_private *)nu->drv_data; in nfcmrvl_nci_uart_tx_start()
149 if (priv->config.break_control && nu->tty->ops->break_ctl) { in nfcmrvl_nci_uart_tx_start()
150 nu->tty->ops->break_ctl(nu->tty, 0); in nfcmrvl_nci_uart_tx_start()
155 static void nfcmrvl_nci_uart_tx_done(struct nci_uart *nu) in nfcmrvl_nci_uart_tx_done() argument
157 struct nfcmrvl_private *priv = (struct nfcmrvl_private *)nu->drv_data; in nfcmrvl_nci_uart_tx_done()
167 if (priv->config.break_control && nu->tty->ops->break_ctl) { in nfcmrvl_nci_uart_tx_done()
168 nu->tty->ops->break_ctl(nu->tty, -1); in nfcmrvl_nci_uart_tx_done()