drivers/infiniband/hw/hfi1/chip.h
Source file repositories/reference/linux-study-clean/drivers/infiniband/hw/hfi1/chip.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/infiniband/hw/hfi1/chip.h- Extension
.h- Size
- 42880 bytes
- Lines
- 1427
- Domain
- Driver Families
- Bucket
- drivers/infiniband
- 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.
- 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
chip_registers.h
Detected Declarations
struct is_tablefunction read_kctxt_csrfunction write_kctxt_csrfunction read_uctxt_csrfunction write_uctxt_csrfunction chip_rcv_contextsfunction chip_send_contextsfunction chip_sdma_enginesfunction chip_pio_mem_sizefunction chip_sdma_mem_sizefunction chip_rcv_array_countfunction vl_from_idxfunction idx_from_vl
Annotated Snippet
struct is_table {
int start; /* interrupt source type start */
int end; /* interrupt source type end */
/* routine that returns the name of the interrupt source */
char *(*is_name)(char *name, size_t size, unsigned int source);
/* routine to call when receiving an interrupt */
void (*is_int)(struct hfi1_devdata *dd, unsigned int source);
};
#endif /* _CHIP_H */
Annotation
- Immediate include surface: `chip_registers.h`.
- Detected declarations: `struct is_table`, `function read_kctxt_csr`, `function write_kctxt_csr`, `function read_uctxt_csr`, `function write_uctxt_csr`, `function chip_rcv_contexts`, `function chip_send_contexts`, `function chip_sdma_engines`, `function chip_pio_mem_size`, `function chip_sdma_mem_size`.
- Atlas domain: Driver Families / drivers/infiniband.
- Implementation status: source 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.