drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf_comm.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf_comm.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf_comm.h- Extension
.h- Size
- 1828 bytes
- Lines
- 57
- 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
linux/build_bug.htype_support.h
Detected Declarations
struct ia_css_circbuf_desc_sstruct ia_css_circbuf_elem_s
Annotated Snippet
struct ia_css_circbuf_desc_s {
u8 size; /* the maximum number of elements*/
u8 step; /* number of bytes per element */
u8 start; /* index of the oldest element */
u8 end; /* index at which to write the new element */
};
#define SIZE_OF_IA_CSS_CIRCBUF_DESC_S_STRUCT \
(4 * sizeof(uint8_t))
static_assert(sizeof(struct ia_css_circbuf_desc_s) == SIZE_OF_IA_CSS_CIRCBUF_DESC_S_STRUCT);
/**
* @brief Data structure for the circular buffer element.
*/
typedef struct ia_css_circbuf_elem_s ia_css_circbuf_elem_t;
struct ia_css_circbuf_elem_s {
u32 val; /* the value stored in the element */
};
#define SIZE_OF_IA_CSS_CIRCBUF_ELEM_S_STRUCT \
(sizeof(uint32_t))
static_assert(sizeof(struct ia_css_circbuf_elem_s) == SIZE_OF_IA_CSS_CIRCBUF_ELEM_S_STRUCT);
#endif /*_IA_CSS_CIRCBUF_COMM_H*/
Annotation
- Immediate include surface: `linux/build_bug.h`, `type_support.h`.
- Detected declarations: `struct ia_css_circbuf_desc_s`, `struct ia_css_circbuf_elem_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.