Home
last modified time | relevance | path

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

/linux-6.1.9/net/nfc/nci/
Duart.c37 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 = (void *)tty->disc_data; in nci_uart_tty_close()
207 struct nci_uart *nu = (void *)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()
[all …]
DMakefile13 nci_uart-y += uart.o
14 obj-$(CONFIG_NFC_NCI_UART) += nci_uart.o
/linux-6.1.9/include/net/nfc/
Dnci_core.h431 struct nci_uart;
434 int (*open)(struct nci_uart *nci_uart);
435 void (*close)(struct nci_uart *nci_uart);
436 int (*recv)(struct nci_uart *nci_uart, struct sk_buff *skb);
437 int (*send)(struct nci_uart *nci_uart, struct sk_buff *skb);
438 void (*tx_start)(struct nci_uart *nci_uart);
439 void (*tx_done)(struct nci_uart *nci_uart);
442 struct nci_uart { struct
461 int nci_uart_register(struct nci_uart *nu); argument
462 void nci_uart_unregister(struct nci_uart *nu);
[all …]
/linux-6.1.9/drivers/nfc/nfcmrvl/
Duart.c37 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_send()
45 struct nci_uart *nu = priv->drv_data; in nfcmrvl_uart_nci_update_config()
98 static int nfcmrvl_nci_uart_open(struct nci_uart *nu) in nfcmrvl_nci_uart_open()
137 static void nfcmrvl_nci_uart_close(struct nci_uart *nu) in nfcmrvl_nci_uart_close()
142 static int nfcmrvl_nci_uart_recv(struct nci_uart *nu, struct sk_buff *skb) in nfcmrvl_nci_uart_recv()
148 static void nfcmrvl_nci_uart_tx_start(struct nci_uart *nu) in nfcmrvl_nci_uart_tx_start()
162 static void nfcmrvl_nci_uart_tx_done(struct nci_uart *nu) in nfcmrvl_nci_uart_tx_done()
180 static struct nci_uart nfcmrvl_nci_uart = {