/drivers/acpi/acpica/ |
D | tbdata.c | 21 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 …]
|
D | tbutils.c | 123 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() 368 acpi_tb_get_table(struct acpi_table_desc *table_desc, in acpi_tb_get_table() argument 375 if (table_desc->validation_count == 0) { in acpi_tb_get_table() 379 status = acpi_tb_validate_table(table_desc); in acpi_tb_get_table() 385 if (table_desc->validation_count < ACPI_MAX_TABLE_VALIDATIONS) { in acpi_tb_get_table() [all …]
|
D | actables.h | 29 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); 42 acpi_status acpi_tb_validate_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); [all …]
|
D | tbxface.c | 136 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 …]
|
D | tbinstal.c | 277 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()
|
D | dbcmds.c | 253 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()
|
D | exconfig.c | 478 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()
|
D | acstruct.h | 188 struct acpi_table_desc *table_desc; member
|
/drivers/scsi/ibmvscsi_tgt/ |
D | libsrp.c | 209 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()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 704 indirect->table_desc.va = 0; in map_sg_data() 705 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data() 707 indirect->table_desc.key = 0; in map_sg_data() 735 indirect->table_desc.va = cpu_to_be64(evt_struct->ext_list_token); in map_sg_data() 736 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data() 1067 indirect->table_desc.va == 0) { in ibmvscsi_queuecommand_lck() 1068 indirect->table_desc.va = in ibmvscsi_queuecommand_lck()
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 1960 indirect_hdr->table_desc.va = cpu_to_be64(req->indirect_dma_addr); in srp_map_data() 1961 indirect_hdr->table_desc.key = idb_rkey; in srp_map_data() 1962 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 1046 int nbufs = be32_to_cpu(idb->table_desc.len) / in srpt_get_desc_tbl() 1054 be32_to_cpu(idb->table_desc.len), in srpt_get_desc_tbl()
|