drivers/staging/media/atomisp/pci/css_2401_system/ibuf_ctrl_global.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/css_2401_system/ibuf_ctrl_global.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/css_2401_system/ibuf_ctrl_global.h- Extension
.h- Size
- 1824 bytes
- Lines
- 72
- 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.hibuf_cntrl_defs.h
Detected Declarations
struct isp2401_ib_buffer_sstruct ibuf_ctrl_cfg_s
Annotated Snippet
struct isp2401_ib_buffer_s {
u32 start_addr; /* start address of the buffer in the
* "input-buffer hardware block"
*/
u32 stride; /* stride per buffer line (in bytes) */
u32 lines; /* lines in the buffer */
};
typedef struct isp2401_ib_buffer_s isp2401_ib_buffer_t;
typedef struct ibuf_ctrl_cfg_s ibuf_ctrl_cfg_t;
struct ibuf_ctrl_cfg_s {
bool online;
struct {
/* DMA configuration */
u32 channel;
u32 cmd; /* must be _DMA_V2_MOVE_A2B_NO_SYNC_CHK_COMMAND */
/* DMA reconfiguration */
u32 shift_returned_items;
u32 elems_per_word_in_ibuf;
u32 elems_per_word_in_dest;
} dma_cfg;
isp2401_ib_buffer_t ib_buffer;
struct {
u32 stride;
u32 start_addr;
u32 lines;
} dest_buf_cfg;
u32 items_per_store;
u32 stores_per_frame;
struct {
u32 sync_cmd; /* must be _STREAM2MMIO_CMD_TOKEN_SYNC_FRAME */
u32 store_cmd; /* must be _STREAM2MMIO_CMD_TOKEN_STORE_PACKETS */
} stream2mmio_cfg;
};
extern const u32 N_IBUF_CTRL_PROCS[N_IBUF_CTRL_ID];
#endif /* __IBUF_CTRL_GLOBAL_H_INCLUDED__ */
Annotation
- Immediate include surface: `type_support.h`, `ibuf_cntrl_defs.h`.
- Detected declarations: `struct isp2401_ib_buffer_s`, `struct ibuf_ctrl_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.