Home
last modified time | relevance | path

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

/Linux-v5.10/net/nfc/nci/
Duart.c49 static struct nci_uart *nci_uart_drivers[NCI_UART_DRIVER_MAX];
51 static inline struct sk_buff *nci_uart_dequeue(struct nci_uart *nu) in nci_uart_dequeue()
63 static inline int nci_uart_queue_empty(struct nci_uart *nu) in nci_uart_queue_empty()
71 static int nci_uart_tx_wakeup(struct nci_uart *nu) in nci_uart_tx_wakeup()
85 struct nci_uart *nu = container_of(work, struct nci_uart, write_work); in nci_uart_write_work()
119 struct nci_uart *nu = NULL; in nci_uart_set_driver()
132 memcpy(nu, nci_uart_drivers[driver], sizeof(struct nci_uart)); in nci_uart_set_driver()
187 struct nci_uart *nu = (void *)tty->disc_data; in nci_uart_tty_close()
219 struct nci_uart *nu = (void *)tty->disc_data; in nci_uart_tty_wakeup()
247 struct nci_uart *nu = (void *)tty->disc_data; in nci_uart_tty_receive()
[all …]
DMakefile13 nci_uart-y += uart.o
14 obj-$(CONFIG_NFC_NCI_UART) += nci_uart.o
/Linux-v5.10/include/net/nfc/
Dnci_core.h427 struct nci_uart;
430 int (*open)(struct nci_uart *nci_uart);
431 void (*close)(struct nci_uart *nci_uart);
432 int (*recv)(struct nci_uart *nci_uart, struct sk_buff *skb);
433 int (*recv_buf)(struct nci_uart *nci_uart, const u8 *data, char *flags,
435 int (*send)(struct nci_uart *nci_uart, struct sk_buff *skb);
436 void (*tx_start)(struct nci_uart *nci_uart);
437 void (*tx_done)(struct nci_uart *nci_uart);
440 struct nci_uart { struct
459 int nci_uart_register(struct nci_uart *nu); argument
[all …]
/Linux-v5.10/drivers/nfc/nfcmrvl/
Duart.c48 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_send()
56 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config()
109 static int nfcmrvl_nci_uart_open(struct nci_uart *nu) in nfcmrvl_nci_uart_open()
148 static void nfcmrvl_nci_uart_close(struct nci_uart *nu) in nfcmrvl_nci_uart_close()
153 static int nfcmrvl_nci_uart_recv(struct nci_uart *nu, struct sk_buff *skb) in nfcmrvl_nci_uart_recv()
159 static void nfcmrvl_nci_uart_tx_start(struct nci_uart *nu) in nfcmrvl_nci_uart_tx_start()
173 static void nfcmrvl_nci_uart_tx_done(struct nci_uart *nu) in nfcmrvl_nci_uart_tx_done()
191 static struct nci_uart nfcmrvl_nci_uart = {