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.

Dependency Surface

Detected Declarations

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

Implementation Notes