drivers/gpu/drm/amd/amdgpu/ta_rap_if.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/amdgpu/ta_rap_if.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/amdgpu/ta_rap_if.h- Extension
.h- Size
- 2861 bytes
- Lines
- 85
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct ta_rap_cmd_input_datastruct ta_rap_cmd_output_datastruct ta_rap_shared_memoryenum ta_rap_statusenum ta_rap_cmdenum ta_rap_validation_method
Annotated Snippet
struct ta_rap_cmd_input_data {
uint8_t reserved[8];
};
struct ta_rap_cmd_output_data {
uint32_t last_subsection;
uint32_t num_total_validate;
uint32_t num_valid;
uint32_t last_validate_addr;
uint32_t last_validate_val;
uint32_t last_validate_val_exptd;
};
union ta_rap_cmd_input {
struct ta_rap_cmd_input_data input;
};
union ta_rap_cmd_output {
struct ta_rap_cmd_output_data output;
};
struct ta_rap_shared_memory {
uint32_t cmd_id;
uint32_t validation_method_id;
uint32_t resp_id;
enum ta_rap_status rap_status;
union ta_rap_cmd_input rap_in_message;
union ta_rap_cmd_output rap_out_message;
uint8_t reserved[64];
};
#endif // #define _TA_RAP_IF_H
Annotation
- Detected declarations: `struct ta_rap_cmd_input_data`, `struct ta_rap_cmd_output_data`, `struct ta_rap_shared_memory`, `enum ta_rap_status`, `enum ta_rap_cmd`, `enum ta_rap_validation_method`.
- 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.