drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.h- Extension
.h- Size
- 1948 bytes
- Lines
- 79
- 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/errno.htype_support.hia_css_queue_comm.hia_css_circbuf.h
Detected Declarations
struct ia_css_queue
Annotated Snippet
struct ia_css_queue {
u8 type; /* Specify remote/local type of access */
u8 location; /* Cell location for queue */
u8 proc_id; /* Processor id for queue access */
union {
ia_css_circbuf_t cb_local;
struct {
u32 cb_desc_addr; /*Circbuf desc address for remote queues*/
u32 cb_elems_addr; /*Circbuf elements addr for remote queue*/
} remote;
} desc;
};
int ia_css_queue_load(
struct ia_css_queue *rdesc,
ia_css_circbuf_desc_t *cb_desc,
uint32_t ignore_desc_flags);
int ia_css_queue_store(
struct ia_css_queue *rdesc,
ia_css_circbuf_desc_t *cb_desc,
uint32_t ignore_desc_flags);
int ia_css_queue_item_load(
struct ia_css_queue *rdesc,
u8 position,
ia_css_circbuf_elem_t *item);
int ia_css_queue_item_store(
struct ia_css_queue *rdesc,
u8 position,
ia_css_circbuf_elem_t *item);
#endif /* __QUEUE_ACCESS_H */
Annotation
- Immediate include surface: `linux/errno.h`, `type_support.h`, `ia_css_queue_comm.h`, `ia_css_circbuf.h`.
- Detected declarations: `struct ia_css_queue`.
- 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.