drivers/staging/media/atomisp/pci/ia_css_buffer.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/ia_css_buffer.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/ia_css_buffer.h- Extension
.h- Size
- 2546 bytes
- Lines
- 78
- 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.hia_css_types.hia_css_timer.h
Detected Declarations
struct ia_css_bufferenum ia_css_buffer_type
Annotated Snippet
struct ia_css_buffer {
enum ia_css_buffer_type type; /** Buffer type. */
unsigned int exp_id;
/** exposure id for this buffer; 0 = not available
see ia_css_event_public.h for more detail. */
union {
struct ia_css_isp_3a_statistics
*stats_3a; /** 3A statistics & optionally RGBY statistics. */
struct ia_css_isp_dvs_statistics *stats_dvs; /** DVS statistics. */
struct ia_css_isp_skc_dvs_statistics *stats_skc_dvs; /** SKC DVS statistics. */
struct ia_css_frame *frame; /** Frame buffer. */
struct ia_css_acc_param *custom_data; /** Custom buffer. */
struct ia_css_metadata *metadata; /** Sensor metadata. */
} data; /** Buffer data pointer. */
u64 driver_cookie; /** cookie for the driver */
struct ia_css_time_meas
timing_data; /** timing data (readings from the timer) */
struct ia_css_clock_tick
isys_eof_clock_tick; /** ISYS's end of frame timer tick*/
};
/* @brief Dequeue param buffers from sp2host_queue
*
* @return None
*
* This function must be called at every driver interrupt handler to prevent
* overflow of sp2host_queue.
*/
void
ia_css_dequeue_param_buffers(void);
#endif /* __IA_CSS_BUFFER_H */
Annotation
- Immediate include surface: `type_support.h`, `ia_css_types.h`, `ia_css_timer.h`.
- Detected declarations: `struct ia_css_buffer`, `enum ia_css_buffer_type`.
- 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.