drivers/scsi/csiostor/csio_wr.h
Source file repositories/reference/linux-study-clean/drivers/scsi/csiostor/csio_wr.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/csiostor/csio_wr.h- Extension
.h- Size
- 13809 bytes
- Lines
- 513
- Domain
- Driver Families
- Bucket
- drivers/scsi
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/cache.hcsio_defs.ht4fw_api.ht4fw_api_stor.h
Detected Declarations
struct csio_hwstruct csio_iq_paramsstruct csio_eq_paramsstruct csio_dma_bufstruct csio_ioreqstruct csio_qstatus_pagestruct csio_iqwr_footerstruct csio_wr_pairstruct csio_fl_dma_bufstruct csio_iqstruct csio_eqstruct csio_flstruct csio_qstatsstruct csio_qstruct csio_sgestruct csio_wrmstruct csio_mb
Annotated Snippet
struct csio_iq_params {
uint8_t iq_start:1;
uint8_t iq_stop:1;
uint8_t pfn:3;
uint8_t vfn;
uint16_t physiqid;
uint16_t iqid;
uint16_t fl0id;
uint16_t fl1id;
uint8_t viid;
uint8_t type;
uint8_t iqasynch;
uint8_t reserved4;
uint8_t iqandst;
uint8_t iqanus;
uint8_t iqanud;
uint16_t iqandstindex;
uint8_t iqdroprss;
uint8_t iqpciech;
uint8_t iqdcaen;
uint8_t iqdcacpu;
uint8_t iqintcntthresh;
uint8_t iqo;
uint8_t iqcprio;
uint8_t iqesize;
uint16_t iqsize;
uint64_t iqaddr;
uint8_t iqflintiqhsen;
uint8_t reserved5;
uint8_t iqflintcongen;
uint8_t iqflintcngchmap;
uint32_t reserved6;
uint8_t fl0hostfcmode;
uint8_t fl0cprio;
uint8_t fl0paden;
uint8_t fl0packen;
uint8_t fl0congen;
uint8_t fl0dcaen;
uint8_t fl0dcacpu;
uint8_t fl0fbmin;
uint8_t fl0fbmax;
uint8_t fl0cidxfthresho;
uint8_t fl0cidxfthresh;
uint16_t fl0size;
uint64_t fl0addr;
uint64_t reserved7;
uint8_t fl1hostfcmode;
uint8_t fl1cprio;
uint8_t fl1paden;
uint8_t fl1packen;
uint8_t fl1congen;
uint8_t fl1dcaen;
uint8_t fl1dcacpu;
uint8_t fl1fbmin;
uint8_t fl1fbmax;
uint8_t fl1cidxfthresho;
uint8_t fl1cidxfthresh;
uint16_t fl1size;
uint64_t fl1addr;
};
/* Egress queue params */
struct csio_eq_params {
Annotation
- Immediate include surface: `linux/cache.h`, `csio_defs.h`, `t4fw_api.h`, `t4fw_api_stor.h`.
- Detected declarations: `struct csio_hw`, `struct csio_iq_params`, `struct csio_eq_params`, `struct csio_dma_buf`, `struct csio_ioreq`, `struct csio_qstatus_page`, `struct csio_iqwr_footer`, `struct csio_wr_pair`, `struct csio_fl_dma_buf`, `struct csio_iq`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: source implementation candidate.
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.