drivers/usb/misc/uss720.c
Source file repositories/reference/linux-study-clean/drivers/usb/misc/uss720.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/misc/uss720.c- Extension
.c- Size
- 22891 bytes
- Lines
- 836
- Domain
- Driver Families
- Bucket
- drivers/usb
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/socket.hlinux/parport.hlinux/init.hlinux/usb.hlinux/delay.hlinux/completion.hlinux/kref.hlinux/slab.hlinux/sched/signal.h
Detected Declarations
struct parport_uss720_privatestruct uss720_async_requestfunction destroy_privfunction destroy_asyncfunction async_completefunction kill_all_async_requests_privfunction get_1284_registerfunction set_1284_registerfunction change_modefunction clear_epp_timeoutfunction uss720_irqfunction parport_uss720_write_datafunction parport_uss720_read_datafunction parport_uss720_write_controlfunction parport_uss720_read_controlfunction parport_uss720_frob_controlfunction parport_uss720_read_statusfunction parport_uss720_disable_irqfunction parport_uss720_enable_irqfunction parport_uss720_data_forwardfunction parport_uss720_data_reversefunction parport_uss720_init_statefunction parport_uss720_save_statefunction parport_uss720_restore_statefunction parport_uss720_epp_read_datafunction parport_uss720_epp_write_datafunction parport_uss720_epp_read_addrfunction parport_uss720_epp_write_addrfunction parport_uss720_ecp_write_datafunction parport_uss720_ecp_read_datafunction parport_uss720_ecp_write_addrfunction parport_uss720_write_compatfunction uss720_probefunction uss720_disconnectfunction uss720_initfunction uss720_cleanupmodule init uss720_init
Annotated Snippet
module_init(uss720_init);
module_exit(uss720_cleanup);
/* --------------------------------------------------------------------- */
Annotation
- Immediate include surface: `linux/module.h`, `linux/socket.h`, `linux/parport.h`, `linux/init.h`, `linux/usb.h`, `linux/delay.h`, `linux/completion.h`, `linux/kref.h`.
- Detected declarations: `struct parport_uss720_private`, `struct uss720_async_request`, `function destroy_priv`, `function destroy_async`, `function async_complete`, `function kill_all_async_requests_priv`, `function get_1284_register`, `function set_1284_register`, `function change_mode`, `function clear_epp_timeout`.
- Atlas domain: Driver Families / drivers/usb.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.