Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
A Dtbdata.c96 table_desc->address = address; in acpi_tb_init_table_descriptor()
98 table_desc->flags = flags; in acpi_tb_init_table_descriptor()
129 acpi_os_map_memory(table_desc->address, table_desc->length); in acpi_tb_acquire_table()
300 if (!table_desc->pointer) { in acpi_tb_validate_table()
301 status = acpi_tb_acquire_table(table_desc, &table_desc->pointer, in acpi_tb_validate_table()
304 if (!table_desc->pointer) { in acpi_tb_validate_table()
332 if (!table_desc->pointer) { in acpi_tb_invalidate_table()
336 acpi_tb_release_table(table_desc->pointer, table_desc->length, in acpi_tb_invalidate_table()
337 table_desc->flags); in acpi_tb_invalidate_table()
338 table_desc->pointer = NULL; in acpi_tb_invalidate_table()
[all …]
A Dtbutils.c123 struct acpi_table_desc *table_desc; in acpi_tb_copy_dsdt() local
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()
375 if (table_desc->validation_count == 0) { in acpi_tb_get_table()
386 table_desc->validation_count++; in acpi_tb_get_table()
395 table_desc)); in acpi_tb_get_table()
399 *out_table = table_desc->pointer; in acpi_tb_get_table()
424 table_desc->validation_count--; in acpi_tb_put_table()
433 table_desc)); in acpi_tb_put_table()
[all …]
A 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,
40 void acpi_tb_release_temp_table(struct acpi_table_desc *table_desc);
45 acpi_tb_verify_temp_table(struct acpi_table_desc *table_desc,
71 acpi_status acpi_tb_validate_table(struct acpi_table_desc *table_desc);
73 void acpi_tb_invalidate_table(struct acpi_table_desc *table_desc);
78 acpi_tb_acquire_table(struct acpi_table_desc *table_desc,
91 void acpi_tb_uninstall_table(struct acpi_table_desc *table_desc);
139 acpi_tb_get_table(struct acpi_table_desc *table_desc,
[all …]
A 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()
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
362 struct acpi_table_desc *table_desc; in ACPI_EXPORT_SYMBOL() local
377 if (table_desc->pointer != table) { in ACPI_EXPORT_SYMBOL()
[all …]
A Dtbinstal.c277 void acpi_tb_uninstall_table(struct acpi_table_desc *table_desc) in acpi_tb_uninstall_table() argument
284 if (!table_desc->address) { in acpi_tb_uninstall_table()
288 acpi_tb_invalidate_table(table_desc); in acpi_tb_uninstall_table()
290 if ((table_desc->flags & ACPI_TABLE_ORIGIN_MASK) == in acpi_tb_uninstall_table()
292 ACPI_FREE(ACPI_PHYSADDR_TO_PTR(table_desc->address)); in acpi_tb_uninstall_table()
295 table_desc->address = ACPI_PTR_TO_PHYSADDR(NULL); in acpi_tb_uninstall_table()
A 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()
A Dexconfig.c478 union acpi_operand_object *table_desc = ddb_handle; in acpi_ex_unload_table() local
520 table_index = table_desc->reference.value; in acpi_ex_unload_table()
A Dacstruct.h188 struct acpi_table_desc *table_desc; member
/linux/drivers/scsi/ibmvscsi_tgt/
A 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/tools/testing/selftests/x86/
A 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/drivers/acpi/
A Dtables.c826 struct acpi_table_desc *table_desc = &initial_tables[i]; in acpi_reserve_initial_tables() local
827 u64 start = table_desc->address; in acpi_reserve_initial_tables()
828 u64 size = table_desc->length; in acpi_reserve_initial_tables()
834 table_desc->signature.ascii, start, start + size - 1); in acpi_reserve_initial_tables()
/linux/drivers/scsi/ibmvscsi/
A 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/include/scsi/
A Dsrp.h110 struct srp_direct_buf table_desc __packed __aligned(4);
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.c1784 indirect_hdr->table_desc.va = cpu_to_be64(req->indirect_dma_addr); in srp_map_data()
1785 indirect_hdr->table_desc.key = idb_rkey; in srp_map_data()
1786 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
/linux/drivers/infiniband/ulp/srpt/
A Dib_srpt.c1047 int nbufs = be32_to_cpu(idb->table_desc.len) / in srpt_get_desc_tbl()
1055 be32_to_cpu(idb->table_desc.len), in srpt_get_desc_tbl()

Completed in 35 milliseconds