drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gp_device_public.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gp_device_public.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gp_device_public.h- Extension
.h- Size
- 1314 bytes
- Lines
- 51
- 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
system_local.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __GP_DEVICE_PUBLIC_H_INCLUDED__
#define __GP_DEVICE_PUBLIC_H_INCLUDED__
#include "system_local.h"
typedef struct gp_device_state_s gp_device_state_t;
/*! Read the state of GP_DEVICE[ID]
\param ID[in] GP_DEVICE identifier
\param state[out] gp device state structure
\return none, state = GP_DEVICE[ID].state
*/
void gp_device_get_state(
const gp_device_ID_t ID,
gp_device_state_t *state);
/*! Write to a control register of GP_DEVICE[ID]
\param ID[in] GP_DEVICE identifier
\param reg_addr[in] register byte address
\param value[in] The data to be written
\return none, GP_DEVICE[ID].ctrl[reg] = value
*/
STORAGE_CLASS_GP_DEVICE_H void gp_device_reg_store(
const gp_device_ID_t ID,
const unsigned int reg_addr,
const hrt_data value);
/*! Read from a control register of GP_DEVICE[ID]
\param ID[in] GP_DEVICE identifier
\param reg_addr[in] register byte address
\param value[in] The data to be written
\return GP_DEVICE[ID].ctrl[reg]
*/
STORAGE_CLASS_GP_DEVICE_H hrt_data gp_device_reg_load(
const gp_device_ID_t ID,
const hrt_address reg_addr);
#endif /* __GP_DEVICE_PUBLIC_H_INCLUDED__ */
Annotation
- Immediate include surface: `system_local.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.