drivers/staging/media/atomisp/pci/css_2401_system/isys_dma_global.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/css_2401_system/isys_dma_global.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/css_2401_system/isys_dma_global.h- Extension
.h- Size
- 2469 bytes
- Lines
- 83
- Domain
- Driver Families
- Bucket
- drivers/staging
- 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
type_support.h
Detected Declarations
struct isys2401_dma_port_cfg_sstruct isys2401_dma_cfg_s
Annotated Snippet
struct isys2401_dma_port_cfg_s {
u32 stride;
u32 elements;
u32 cropping;
u32 width;
};
/* end of DMA Port */
/************************************************
*
* DMA Device.
*
* The DMA device definition for the input system
* 2401 DMA is the duplicattion of the DMA device
* definition for the CSS system DMA. It is duplicated
* here just as the temporal step before the device library
* is available. The device library is suppose to provide
* the capability of reusing the control interface of the
* same device prototypes. The refactor team will work on
* this, right?
*
************************************************/
typedef enum {
isys2401_dma_ibuf_to_ddr_connection = HIVE_ISYS2401_DMA_IBUF_DDR_CONN,
isys2401_dma_ibuf_to_vmem_connection = HIVE_ISYS2401_DMA_IBUF_VMEM_CONN
} isys2401_dma_connection;
typedef enum {
isys2401_dma_zero_extension = _DMA_ZERO_EXTEND,
isys2401_dma_sign_extension = _DMA_SIGN_EXTEND
} isys2401_dma_extension;
typedef struct isys2401_dma_cfg_s isys2401_dma_cfg_t;
struct isys2401_dma_cfg_s {
isys2401_dma_channel channel;
isys2401_dma_connection connection;
isys2401_dma_extension extension;
u32 height;
};
/* end of DMA Device */
/* isys2401_dma_channel limits per DMA ID */
extern const isys2401_dma_channel
N_ISYS2401_DMA_CHANNEL_PROCS[N_ISYS2401_DMA_ID];
#endif /* __ISYS_DMA_GLOBAL_H_INCLUDED__ */
Annotation
- Immediate include surface: `type_support.h`.
- Detected declarations: `struct isys2401_dma_port_cfg_s`, `struct isys2401_dma_cfg_s`.
- Atlas domain: Driver Families / drivers/staging.
- 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.