drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.h- Extension
.h- Size
- 1129 bytes
- Lines
- 53
- 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
media/v4l2-device.h
Detected Declarations
struct sun6i_isp_devicestruct sun6i_isp_params_statestruct sun6i_isp_params
Annotated Snippet
struct sun6i_isp_params_state {
struct list_head queue; /* Queue and buffers lock. */
spinlock_t lock;
struct sun6i_isp_buffer *pending;
bool configured;
bool streaming;
};
struct sun6i_isp_params {
struct sun6i_isp_params_state state;
struct video_device video_dev;
struct vb2_queue queue;
struct mutex lock; /* Queue lock. */
struct media_pad pad;
struct v4l2_format format;
};
/* Params */
void sun6i_isp_params_configure(struct sun6i_isp_device *isp_dev);
/* State */
void sun6i_isp_params_state_update(struct sun6i_isp_device *isp_dev,
bool *update);
void sun6i_isp_params_state_complete(struct sun6i_isp_device *isp_dev);
/* Params */
int sun6i_isp_params_setup(struct sun6i_isp_device *isp_dev);
void sun6i_isp_params_cleanup(struct sun6i_isp_device *isp_dev);
#endif
Annotation
- Immediate include surface: `media/v4l2-device.h`.
- Detected declarations: `struct sun6i_isp_device`, `struct sun6i_isp_params_state`, `struct sun6i_isp_params`.
- 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.