drivers/spi/spi-hisi-sfc-v3xx.c
Source file repositories/reference/linux-study-clean/drivers/spi/spi-hisi-sfc-v3xx.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/spi/spi-hisi-sfc-v3xx.c- Extension
.c- Size
- 13952 bytes
- Lines
- 540
- Domain
- Driver Families
- Bucket
- drivers/spi
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bitops.hlinux/completion.hlinux/dmi.hlinux/interrupt.hlinux/iopoll.hlinux/module.hlinux/mod_devicetable.hlinux/platform_device.hlinux/slab.hlinux/spi/spi.hlinux/spi/spi-mem.h
Detected Declarations
struct hisi_sfc_v3xx_hostfunction hisi_sfc_v3xx_disable_intfunction hisi_sfc_v3xx_enable_intfunction hisi_sfc_v3xx_clear_intfunction hisi_sfc_v3xx_handle_completionfunction hisi_sfc_v3xx_wait_cmd_idlefunction hisi_sfc_v3xx_adjust_op_sizefunction hisi_sfc_v3xx_supports_opfunction hisi_sfc_v3xx_adjust_op_sizefunction hisi_sfc_v3xx_write_databuffunction hisi_sfc_v3xx_start_busfunction hisi_sfc_v3xx_generic_exec_opfunction hisi_sfc_v3xx_exec_opfunction hisi_sfc_v3xx_isrfunction hisi_sfc_v3xx_dmi_quirkfunction hisi_sfc_v3xx_probefunction hisi_sfc_v3xx_spi_initfunction hisi_sfc_v3xx_spi_exitmodule init hisi_sfc_v3xx_spi_init
Annotated Snippet
module_init(hisi_sfc_v3xx_spi_init);
module_exit(hisi_sfc_v3xx_spi_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("John Garry <john.garry@huawei.com>");
MODULE_DESCRIPTION("HiSilicon SPI NOR V3XX Flash Controller Driver for hi16xx chipsets");
Annotation
- Immediate include surface: `linux/bitops.h`, `linux/completion.h`, `linux/dmi.h`, `linux/interrupt.h`, `linux/iopoll.h`, `linux/module.h`, `linux/mod_devicetable.h`, `linux/platform_device.h`.
- Detected declarations: `struct hisi_sfc_v3xx_host`, `function hisi_sfc_v3xx_disable_int`, `function hisi_sfc_v3xx_enable_int`, `function hisi_sfc_v3xx_clear_int`, `function hisi_sfc_v3xx_handle_completion`, `function hisi_sfc_v3xx_wait_cmd_idle`, `function hisi_sfc_v3xx_adjust_op_size`, `function hisi_sfc_v3xx_supports_op`, `function hisi_sfc_v3xx_adjust_op_size`, `function hisi_sfc_v3xx_write_databuf`.
- Atlas domain: Driver Families / drivers/spi.
- Implementation status: integration implementation candidate.
- 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.