drivers/scsi/53c700.c
Source file repositories/reference/linux-study-clean/drivers/scsi/53c700.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/53c700.c- Extension
.c- Size
- 68359 bytes
- Lines
- 2119
- Domain
- Driver Families
- Bucket
- drivers/scsi
- 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/kernel.hlinux/types.hlinux/string.hlinux/slab.hlinux/ioport.hlinux/delay.hlinux/spinlock.hlinux/completion.hlinux/init.hlinux/proc_fs.hlinux/blkdev.hlinux/module.hlinux/interrupt.hlinux/device.hlinux/pgtable.hasm/dma.hasm/io.hasm/byteorder.hscsi/scsi.hscsi/scsi_cmnd.hscsi/scsi_dbg.hscsi/scsi_eh.hscsi/scsi_host.hscsi/scsi_tcq.hscsi/scsi_transport.hscsi/scsi_transport_spi.h53c700.h53c700_d.h
Detected Declarations
function NCR_700_offset_period_to_sxferfunction NCR_700_get_SXFERfunction virt_to_dmafunction dma_sync_to_devfunction dma_sync_from_devfunction NCR_700_detectfunction NCR_700_releasefunction NCR_700_identifyfunction NCR_700_data_residualfunction sbcl_to_stringfunction bitmap_to_numberfunction find_empty_slotfunction free_slotfunction andfunction NCR_700_unmapfunction NCR_700_scsi_donefunction NCR_700_internal_bus_resetfunction NCR_700_chip_setupfunction NCR_700_chip_resetfunction process_messagefunction process_script_interruptfunction scsi_for_each_sgfunction necessaryfunction NCR_700_clear_fifofunction NCR_700_flush_fifofunction NCR_700_start_commandfunction NCR_700_intrfunction NCR_700_queuecommand_lckfunction scsi_for_each_sgfunction DEF_SCSI_QCMDfunction NCR_700_host_resetfunction NCR_700_set_periodfunction NCR_700_set_offsetfunction NCR_700_sdev_initfunction NCR_700_sdev_configurefunction NCR_700_sdev_destroyfunction NCR_700_change_queue_depthfunction NCR_700_show_active_tagsfunction NCR_700_initfunction NCR_700_exitmodule init NCR_700_initexport NCR_700_detectexport NCR_700_releaseexport NCR_700_intr
Annotated Snippet
module_init(NCR_700_init);
module_exit(NCR_700_exit);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/types.h`, `linux/string.h`, `linux/slab.h`, `linux/ioport.h`, `linux/delay.h`, `linux/spinlock.h`, `linux/completion.h`.
- Detected declarations: `function NCR_700_offset_period_to_sxfer`, `function NCR_700_get_SXFER`, `function virt_to_dma`, `function dma_sync_to_dev`, `function dma_sync_from_dev`, `function NCR_700_detect`, `function NCR_700_release`, `function NCR_700_identify`, `function NCR_700_data_residual`, `function sbcl_to_string`.
- Atlas domain: Driver Families / drivers/scsi.
- 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.