drivers/acpi/acpica/acconvert.h
Source file repositories/reference/linux-study-clean/drivers/acpi/acpica/acconvert.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/acpi/acpica/acconvert.h- Extension
.h- Size
- 2895 bytes
- Lines
- 109
- Domain
- Driver Families
- Bucket
- drivers/acpi
- 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
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _ACCONVERT
#define _ACCONVERT
/* Definitions for comment state */
#define ASL_COMMENT_STANDARD 1
#define ASLCOMMENT_INLINE 2
#define ASL_COMMENT_OPEN_PAREN 3
#define ASL_COMMENT_CLOSE_PAREN 4
#define ASL_COMMENT_CLOSE_BRACE 5
/* Definitions for comment print function*/
#define AML_COMMENT_STANDARD 1
#define AMLCOMMENT_INLINE 2
#define AML_COMMENT_END_NODE 3
#define AML_NAMECOMMENT 4
#define AML_COMMENT_CLOSE_BRACE 5
#define AML_COMMENT_ENDBLK 6
#define AML_COMMENT_INCLUDE 7
#ifdef ACPI_ASL_COMPILER
/*
* cvcompiler
*/
void
cv_process_comment(struct asl_comment_state current_state,
char *string_buffer, int c1);
void
cv_process_comment_type2(struct asl_comment_state current_state,
char *string_buffer);
u32 cv_calculate_comment_lengths(union acpi_parse_object *op);
void cv_process_comment_state(char input);
char *cv_append_inline_comment(char *inline_comment, char *to_add);
void cv_add_to_comment_list(char *to_add);
void cv_place_comment(u8 type, char *comment_string);
u32 cv_parse_op_block_type(union acpi_parse_object *op);
struct acpi_comment_node *cv_comment_node_calloc(void);
void cg_write_aml_def_block_comment(union acpi_parse_object *op);
void
cg_write_one_aml_comment(union acpi_parse_object *op,
char *comment_to_print, u8 input_option);
void cg_write_aml_comment(union acpi_parse_object *op);
/*
* cvparser
*/
void cv_init_file_tree(struct acpi_table_header *table, FILE * root_file);
void cv_clear_op_comments(union acpi_parse_object *op);
struct acpi_file_node *cv_filename_exists(char *filename,
struct acpi_file_node *head);
void cv_label_file_node(union acpi_parse_object *op);
void
cv_capture_list_comments(struct acpi_parse_state *parser_state,
struct acpi_comment_node *list_head,
struct acpi_comment_node *list_tail);
void cv_capture_comments_only(struct acpi_parse_state *parser_state);
void cv_capture_comments(struct acpi_walk_state *walk_state);
void cv_transfer_comments(union acpi_parse_object *op);
/*
* cvdisasm
*/
void cv_switch_files(u32 level, union acpi_parse_object *op);
u8 cv_file_has_switched(union acpi_parse_object *op);
void cv_close_paren_write_comment(union acpi_parse_object *op, u32 level);
void cv_close_brace_write_comment(union acpi_parse_object *op, u32 level);
void
Annotation
- Atlas domain: Driver Families / drivers/acpi.
- 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.