drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gdc_public.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gdc_public.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gdc_public.h- Extension
.h- Size
- 1349 bytes
- Lines
- 52
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __GDC_PUBLIC_H_INCLUDED__
#define __GDC_PUBLIC_H_INCLUDED__
/*! Write the bicubic interpolation table of GDC[ID]
\param ID[in] GDC identifier
\param data[in] The data matrix to be written
\pre
- data must point to a matrix[4][HRT_GDC_N]
\implementation dependent
- The value of "HRT_GDC_N" is device specific
- The LUT should not be partially written
- The LUT format is a quadri-phase interpolation
table. The layout is device specific
- The range of the values data[n][m] is device
specific
\return none, GDC[ID].lut[0...3][0...HRT_GDC_N-1] = data
*/
void gdc_lut_store(
const gdc_ID_t ID,
const int data[4][HRT_GDC_N]);
/*! Convert the bicubic interpolation table of GDC[ID] to the ISP-specific format
\param ID[in] GDC identifier
\param in_lut[in] The data matrix to be converted
\param out_lut[out] The data matrix as the output of conversion
*/
void gdc_lut_convert_to_isp_format(
const int in_lut[4][HRT_GDC_N],
int out_lut[4][HRT_GDC_N]);
/*! Return the integer representation of 1.0 of GDC[ID]
\param ID[in] GDC identifier
\return unity
*/
int gdc_get_unity(
const gdc_ID_t ID);
#endif /* __GDC_PUBLIC_H_INCLUDED__ */
Annotation
- 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.