Lines Matching full:cfg

22 	struct config_item cfg;  member
27 static ssize_t acpi_table_aml_write(struct config_item *cfg, in acpi_table_aml_write() argument
37 table = container_of(cfg, struct acpi_table, cfg); in acpi_table_aml_write()
54 table = container_of(cfg, struct acpi_table, cfg); in acpi_table_aml_write()
69 static inline struct acpi_table_header *get_header(struct config_item *cfg) in get_header() argument
71 struct acpi_table *table = container_of(cfg, struct acpi_table, cfg); in get_header()
79 static ssize_t acpi_table_aml_read(struct config_item *cfg, in acpi_table_aml_read() argument
82 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read()
102 static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str) in acpi_table_signature_show() argument
104 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show()
112 static ssize_t acpi_table_length_show(struct config_item *cfg, char *str) in acpi_table_length_show() argument
114 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show()
122 static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str) in acpi_table_revision_show() argument
124 struct acpi_table_header *h = get_header(cfg); in acpi_table_revision_show()
132 static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str) in acpi_table_oem_id_show() argument
134 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_id_show()
142 static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str) in acpi_table_oem_table_id_show() argument
144 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_table_id_show()
152 static ssize_t acpi_table_oem_revision_show(struct config_item *cfg, char *str) in acpi_table_oem_revision_show() argument
154 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_revision_show()
162 static ssize_t acpi_table_asl_compiler_id_show(struct config_item *cfg, in acpi_table_asl_compiler_id_show() argument
165 struct acpi_table_header *h = get_header(cfg); in acpi_table_asl_compiler_id_show()
173 static ssize_t acpi_table_asl_compiler_revision_show(struct config_item *cfg, in acpi_table_asl_compiler_revision_show() argument
176 struct acpi_table_header *h = get_header(cfg); in acpi_table_asl_compiler_revision_show()
220 config_item_init_type_name(&table->cfg, name, &acpi_table_type); in acpi_table_make_item()
221 return &table->cfg; in acpi_table_make_item()
225 struct config_item *cfg) in acpi_table_drop_item() argument
227 struct acpi_table *table = container_of(cfg, struct acpi_table, cfg); in acpi_table_drop_item()
231 config_item_put(cfg); in acpi_table_drop_item()