drivers/gpu/host1x/hw/hw_host1x08_uclass.h
Source file repositories/reference/linux-study-clean/drivers/gpu/host1x/hw/hw_host1x08_uclass.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/host1x/hw/hw_host1x08_uclass.h- Extension
.h- Size
- 5587 bytes
- Lines
- 182
- Domain
- Driver Families
- Bucket
- drivers/gpu
- 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
function Copyrightfunction host1x_uclass_incr_syncpt_cond_ffunction host1x_uclass_incr_syncpt_indx_ffunction host1x_uclass_wait_syncpt_rfunction host1x_uclass_wait_syncpt_indx_ffunction host1x_uclass_wait_syncpt_thresh_ffunction host1x_uclass_wait_syncpt_base_rfunction host1x_uclass_wait_syncpt_base_indx_ffunction host1x_uclass_wait_syncpt_base_base_indx_ffunction host1x_uclass_wait_syncpt_base_offset_ffunction host1x_uclass_load_syncpt_base_rfunction host1x_uclass_load_syncpt_base_base_indx_ffunction host1x_uclass_load_syncpt_base_value_ffunction host1x_uclass_incr_syncpt_base_base_indx_ffunction host1x_uclass_incr_syncpt_base_offset_ffunction host1x_uclass_indoff_rfunction host1x_uclass_indoff_indbe_ffunction host1x_uclass_indoff_autoinc_ffunction host1x_uclass_indoff_indmodid_ffunction host1x_uclass_indoff_indroffset_ffunction host1x_uclass_indoff_rwn_read_vfunction host1x_uclass_load_syncpt_payload_32_rfunction host1x_uclass_wait_syncpt_32_r
Annotated Snippet
#ifndef HOST1X_HW_HOST1X08_UCLASS_H
#define HOST1X_HW_HOST1X08_UCLASS_H
static inline u32 host1x_uclass_incr_syncpt_r(void)
{
return 0x0;
}
#define HOST1X_UCLASS_INCR_SYNCPT \
host1x_uclass_incr_syncpt_r()
static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v)
{
return (v & 0xff) << 10;
}
#define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \
host1x_uclass_incr_syncpt_cond_f(v)
static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v)
{
return (v & 0x3ff) << 0;
}
#define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \
host1x_uclass_incr_syncpt_indx_f(v)
static inline u32 host1x_uclass_wait_syncpt_r(void)
{
return 0x8;
}
#define HOST1X_UCLASS_WAIT_SYNCPT \
host1x_uclass_wait_syncpt_r()
static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v)
{
return (v & 0xff) << 24;
}
#define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \
host1x_uclass_wait_syncpt_indx_f(v)
static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v)
{
return (v & 0xffffff) << 0;
}
#define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \
host1x_uclass_wait_syncpt_thresh_f(v)
static inline u32 host1x_uclass_wait_syncpt_base_r(void)
{
return 0x9;
}
#define HOST1X_UCLASS_WAIT_SYNCPT_BASE \
host1x_uclass_wait_syncpt_base_r()
static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v)
{
return (v & 0xff) << 24;
}
#define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \
host1x_uclass_wait_syncpt_base_indx_f(v)
static inline u32 host1x_uclass_wait_syncpt_base_base_indx_f(u32 v)
{
return (v & 0xff) << 16;
}
#define HOST1X_UCLASS_WAIT_SYNCPT_BASE_BASE_INDX_F(v) \
host1x_uclass_wait_syncpt_base_base_indx_f(v)
static inline u32 host1x_uclass_wait_syncpt_base_offset_f(u32 v)
{
return (v & 0xffff) << 0;
}
#define HOST1X_UCLASS_WAIT_SYNCPT_BASE_OFFSET_F(v) \
host1x_uclass_wait_syncpt_base_offset_f(v)
static inline u32 host1x_uclass_load_syncpt_base_r(void)
{
return 0xb;
}
#define HOST1X_UCLASS_LOAD_SYNCPT_BASE \
host1x_uclass_load_syncpt_base_r()
static inline u32 host1x_uclass_load_syncpt_base_base_indx_f(u32 v)
{
return (v & 0xff) << 24;
}
#define HOST1X_UCLASS_LOAD_SYNCPT_BASE_BASE_INDX_F(v) \
host1x_uclass_load_syncpt_base_base_indx_f(v)
static inline u32 host1x_uclass_load_syncpt_base_value_f(u32 v)
{
return (v & 0xffffff) << 0;
}
#define HOST1X_UCLASS_LOAD_SYNCPT_BASE_VALUE_F(v) \
host1x_uclass_load_syncpt_base_value_f(v)
static inline u32 host1x_uclass_incr_syncpt_base_base_indx_f(u32 v)
{
return (v & 0xff) << 24;
}
#define HOST1X_UCLASS_INCR_SYNCPT_BASE_BASE_INDX_F(v) \
host1x_uclass_incr_syncpt_base_base_indx_f(v)
static inline u32 host1x_uclass_incr_syncpt_base_offset_f(u32 v)
{
return (v & 0xffffff) << 0;
Annotation
- Detected declarations: `function Copyright`, `function host1x_uclass_incr_syncpt_cond_f`, `function host1x_uclass_incr_syncpt_indx_f`, `function host1x_uclass_wait_syncpt_r`, `function host1x_uclass_wait_syncpt_indx_f`, `function host1x_uclass_wait_syncpt_thresh_f`, `function host1x_uclass_wait_syncpt_base_r`, `function host1x_uclass_wait_syncpt_base_indx_f`, `function host1x_uclass_wait_syncpt_base_base_indx_f`, `function host1x_uclass_wait_syncpt_base_offset_f`.
- Atlas domain: Driver Families / drivers/gpu.
- 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.