net/nfc/nci/uart.c
Source file repositories/reference/linux-study-clean/net/nfc/nci/uart.c
File Facts
- System
- Linux kernel
- Corpus path
net/nfc/nci/uart.c- Extension
.c- Size
- 10092 bytes
- Lines
- 455
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/kernel.hlinux/init.hlinux/types.hlinux/fcntl.hlinux/interrupt.hlinux/ptrace.hlinux/poll.hlinux/slab.hlinux/tty.hlinux/errno.hlinux/string.hlinux/signal.hlinux/ioctl.hlinux/skbuff.hnet/nfc/nci.hnet/nfc/nci_core.h
Detected Declarations
function nci_uart_queue_emptyfunction nci_uart_tx_wakeupfunction nci_uart_write_workfunction nci_uart_set_driverfunction nci_uart_tty_openfunction nci_uart_tty_closefunction nci_uart_tty_wakeupfunction nci_uart_default_recv_buffunction nci_uart_tty_receivefunction callfunction nci_uart_tty_readfunction nci_uart_tty_writefunction nci_uart_sendfunction nci_uart_registerfunction nci_uart_unregisterfunction nci_uart_set_configfunction nci_uart_initfunction nci_uart_exitmodule init nci_uart_initexport nci_uart_registerexport nci_uart_unregisterexport nci_uart_set_config
Annotated Snippet
module_init(nci_uart_init);
module_exit(nci_uart_exit);
MODULE_AUTHOR("Marvell International Ltd.");
MODULE_DESCRIPTION("NFC NCI UART driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS_LDISC(N_NCI);
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/types.h`, `linux/fcntl.h`, `linux/interrupt.h`, `linux/ptrace.h`, `linux/poll.h`.
- Detected declarations: `function nci_uart_queue_empty`, `function nci_uart_tx_wakeup`, `function nci_uart_write_work`, `function nci_uart_set_driver`, `function nci_uart_tty_open`, `function nci_uart_tty_close`, `function nci_uart_tty_wakeup`, `function nci_uart_default_recv_buf`, `function nci_uart_tty_receive`, `function call`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.