drivers/staging/media/atomisp/pci/ia_css_mipi.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/ia_css_mipi.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/ia_css_mipi.h- Extension
.h- Size
- 1213 bytes
- Lines
- 40
- 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.
Dependency Surface
type_support.hia_css_err.hia_css_stream_format.hia_css_input_port.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __IA_CSS_MIPI_H
#define __IA_CSS_MIPI_H
/* @file
* This file contains MIPI support functionality
*/
#include <type_support.h>
#include "ia_css_err.h"
#include "ia_css_stream_format.h"
#include "ia_css_input_port.h"
/* @brief Calculate the size of a mipi frame.
*
* @param[in] width The width (in pixels) of the frame.
* @param[in] height The height (in lines) of the frame.
* @param[in] format The frame (MIPI) format.
* @param[in] hasSOLandEOL Whether frame (MIPI) contains (optional) SOL and EOF packets.
* @param[in] embedded_data_size_words Embedded data size in memory words.
* @param size_mem_words The mipi frame size in memory words (32B).
* @return The error code.
*
* Calculate the size of a mipi frame, based on the resolution and format.
*/
int
ia_css_mipi_frame_calculate_size(const unsigned int width,
const unsigned int height,
const enum atomisp_input_format format,
const bool hasSOLandEOL,
const unsigned int embedded_data_size_words,
unsigned int *size_mem_words);
#endif /* __IA_CSS_MIPI_H */
Annotation
- Immediate include surface: `type_support.h`, `ia_css_err.h`, `ia_css_stream_format.h`, `ia_css_input_port.h`.
- 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.