Home
last modified time | relevance | path

Searched refs:table_desc (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/acpi/acpica/
Dtbdata.c21 acpi_tb_check_duplication(struct acpi_table_desc *table_desc, u32 *table_index);
24 acpi_tb_compare_tables(struct acpi_table_desc *table_desc, u32 table_index);
41 acpi_tb_compare_tables(struct acpi_table_desc *table_desc, u32 table_index) in acpi_tb_compare_tables() argument
60 is_identical = (u8)((table_desc->length != table_length || in acpi_tb_compare_tables()
61 memcmp(table_desc->pointer, table, table_length)) ? in acpi_tb_compare_tables()
86 acpi_tb_init_table_descriptor(struct acpi_table_desc *table_desc, in acpi_tb_init_table_descriptor() argument
95 memset(table_desc, 0, sizeof(struct acpi_table_desc)); in acpi_tb_init_table_descriptor()
96 table_desc->address = address; in acpi_tb_init_table_descriptor()
97 table_desc->length = table->length; in acpi_tb_init_table_descriptor()
98 table_desc->flags = flags; in acpi_tb_init_table_descriptor()
[all …]
Dtbutils.c123 struct acpi_table_desc *table_desc; in acpi_tb_copy_dsdt() local
125 table_desc = &acpi_gbl_root_table_list.tables[table_index]; in acpi_tb_copy_dsdt()
127 new_table = ACPI_ALLOCATE(table_desc->length); in acpi_tb_copy_dsdt()
130 table_desc->length)); in acpi_tb_copy_dsdt()
134 memcpy(new_table, table_desc->pointer, table_desc->length); in acpi_tb_copy_dsdt()
135 acpi_tb_uninstall_table(table_desc); in acpi_tb_copy_dsdt()
369 acpi_tb_get_table(struct acpi_table_desc *table_desc, in acpi_tb_get_table() argument
376 if (table_desc->validation_count == 0) { in acpi_tb_get_table()
380 status = acpi_tb_validate_table(table_desc); in acpi_tb_get_table()
386 if (table_desc->validation_count < ACPI_MAX_TABLE_VALIDATIONS) { in acpi_tb_get_table()
[all …]
Dactables.h29 struct acpi_table_desc **table_desc);
32 acpi_tb_init_table_descriptor(struct acpi_table_desc *table_desc,
37 acpi_tb_acquire_temp_table(struct acpi_table_desc *table_desc,
41 void acpi_tb_release_temp_table(struct acpi_table_desc *table_desc);
43 acpi_status acpi_tb_validate_temp_table(struct acpi_table_desc *table_desc);
46 acpi_tb_verify_temp_table(struct acpi_table_desc *table_desc,
72 acpi_status acpi_tb_validate_table(struct acpi_table_desc *table_desc);
74 void acpi_tb_invalidate_table(struct acpi_table_desc *table_desc);
79 acpi_tb_acquire_table(struct acpi_table_desc *table_desc,
93 void acpi_tb_uninstall_table(struct acpi_table_desc *table_desc);
[all …]
Dtbxface.c136 struct acpi_table_desc *table_desc; in ACPI_EXPORT_SYMBOL_INIT() local
161 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL_INIT()
162 if (table_desc->pointer) { in ACPI_EXPORT_SYMBOL_INIT()
165 table_desc->signature.ascii)); in ACPI_EXPORT_SYMBOL_INIT()
177 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL_INIT()
178 if (!(table_desc->flags & ACPI_TABLE_IS_VERIFIED)) { in ACPI_EXPORT_SYMBOL_INIT()
180 acpi_tb_verify_temp_table(table_desc, NULL, in ACPI_EXPORT_SYMBOL_INIT()
183 acpi_tb_uninstall_table(table_desc); in ACPI_EXPORT_SYMBOL_INIT()
303 struct acpi_table_desc *table_desc; in ACPI_EXPORT_SYMBOL() local
324 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL()
[all …]
Dtbinstal.c283 void acpi_tb_uninstall_table(struct acpi_table_desc *table_desc) in acpi_tb_uninstall_table() argument
290 if (!table_desc->address) { in acpi_tb_uninstall_table()
294 acpi_tb_invalidate_table(table_desc); in acpi_tb_uninstall_table()
296 if ((table_desc->flags & ACPI_TABLE_ORIGIN_MASK) == in acpi_tb_uninstall_table()
298 ACPI_FREE(table_desc->pointer); in acpi_tb_uninstall_table()
299 table_desc->pointer = NULL; in acpi_tb_uninstall_table()
302 table_desc->address = ACPI_PTR_TO_PHYSADDR(NULL); in acpi_tb_uninstall_table()
Ddbcmds.c253 struct acpi_table_desc *table_desc; in acpi_db_display_table_info() local
264 table_desc = &acpi_gbl_root_table_list.tables[i]; in acpi_db_display_table_info()
268 acpi_os_printf("%3u %.2u ", i, table_desc->owner_id); in acpi_db_display_table_info()
272 if (!(table_desc->flags & ACPI_TABLE_IS_LOADED)) { in acpi_db_display_table_info()
278 switch (table_desc->flags & ACPI_TABLE_ORIGIN_MASK) { in acpi_db_display_table_info()
302 status = acpi_tb_validate_table(table_desc); in acpi_db_display_table_info()
309 if (table_desc->pointer) { in acpi_db_display_table_info()
310 acpi_tb_print_table_header(table_desc->address, in acpi_db_display_table_info()
311 table_desc->pointer); in acpi_db_display_table_info()
316 table_desc->signature.ascii)); in acpi_db_display_table_info()
Dexconfig.c491 union acpi_operand_object *table_desc = ddb_handle; in acpi_ex_unload_table() local
533 table_index = table_desc->reference.value; in acpi_ex_unload_table()
Dacstruct.h188 struct acpi_table_desc *table_desc; member
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c209 nmd = be32_to_cpu(id->table_desc.len) / sizeof(struct srp_direct_buf); in srp_indirect_data()
219 be32_to_cpu(id->table_desc.len), in srp_indirect_data()
223 be32_to_cpu(id->table_desc.len)); in srp_indirect_data()
227 sg_init_one(&dummy, md, be32_to_cpu(id->table_desc.len)); in srp_indirect_data()
229 sg_dma_len(&dummy) = be32_to_cpu(id->table_desc.len); in srp_indirect_data()
230 err = rdma_io(cmd, &dummy, 1, &id->table_desc, 1, DMA_TO_DEVICE, in srp_indirect_data()
231 be32_to_cpu(id->table_desc.len)); in srp_indirect_data()
264 be32_to_cpu(id->table_desc.len), md, token); in srp_indirect_data()
/linux-6.6.21/tools/testing/selftests/x86/
Dentry_from_vm86.c190 struct table_desc { in do_umip_tests() struct
196 struct table_desc gdt1 = { .base = 0x3c3c3c3c, .limit = 0x9999 }; in do_umip_tests()
197 struct table_desc gdt2 = { .base = 0x1a1a1a1a, .limit = 0xaeae }; in do_umip_tests()
198 struct table_desc idt1 = { .base = 0x7b7b7b7b, .limit = 0xf1f1 }; in do_umip_tests()
199 struct table_desc idt2 = { .base = 0x89898989, .limit = 0x1313 }; in do_umip_tests()
/linux-6.6.21/drivers/acpi/
Dtables.c891 struct acpi_table_desc *table_desc = &initial_tables[i]; in acpi_reserve_initial_tables() local
892 u64 start = table_desc->address; in acpi_reserve_initial_tables()
893 u64 size = table_desc->length; in acpi_reserve_initial_tables()
899 table_desc->signature.ascii, start, start + size - 1); in acpi_reserve_initial_tables()
/linux-6.6.21/include/scsi/
Dsrp.h110 struct srp_direct_buf table_desc __packed __aligned(4);
/linux-6.6.21/drivers/scsi/ibmvscsi/
Dibmvscsi.c706 indirect->table_desc.va = 0; in map_sg_data()
707 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data()
709 indirect->table_desc.key = 0; in map_sg_data()
736 indirect->table_desc.va = cpu_to_be64(evt_struct->ext_list_token); in map_sg_data()
737 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data()
1087 indirect->table_desc.va == 0) { in ibmvscsi_queuecommand_lck()
1088 indirect->table_desc.va = in ibmvscsi_queuecommand_lck()
/linux-6.6.21/drivers/infiniband/ulp/srp/
Dib_srp.c1778 indirect_hdr->table_desc.va = cpu_to_be64(req->indirect_dma_addr); in srp_map_data()
1779 indirect_hdr->table_desc.key = idb_rkey; in srp_map_data()
1780 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
/linux-6.6.21/drivers/infiniband/ulp/srpt/
Dib_srpt.c1053 int nbufs = be32_to_cpu(idb->table_desc.len) / in srpt_get_desc_tbl()
1061 be32_to_cpu(idb->table_desc.len), in srpt_get_desc_tbl()