Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/acpi/acpica/
Dtbinstal.c63 acpi_status acpi_tb_verify_table(struct acpi_table_desc *table_desc) in acpi_tb_verify_table() argument
71 if (!table_desc->pointer) { in acpi_tb_verify_table()
72 if ((table_desc->flags & ACPI_TABLE_ORIGIN_MASK) == in acpi_tb_verify_table()
74 table_desc->pointer = in acpi_tb_verify_table()
75 acpi_os_map_memory(table_desc->address, in acpi_tb_verify_table()
76 table_desc->length); in acpi_tb_verify_table()
78 if (!table_desc->pointer) { in acpi_tb_verify_table()
85 if (!ACPI_COMPARE_NAME(&table_desc->signature, ACPI_SIG_FACS)) { in acpi_tb_verify_table()
90 acpi_tb_verify_checksum(table_desc->pointer, in acpi_tb_verify_table()
91 table_desc->length); in acpi_tb_verify_table()
[all …]
Dexconfig.c343 struct acpi_table_desc table_desc; in acpi_ex_load_op() local
350 ACPI_MEMSET(&table_desc, 0, sizeof(struct acpi_table_desc)); in acpi_ex_load_op()
419 table_desc.pointer = ACPI_ALLOCATE(length); in acpi_ex_load_op()
420 if (!table_desc.pointer) { in acpi_ex_load_op()
428 table_desc.pointer)); in acpi_ex_load_op()
430 ACPI_FREE(table_desc.pointer); in acpi_ex_load_op()
434 table_desc.address = obj_desc->region.address; in acpi_ex_load_op()
469 table_desc.pointer = ACPI_ALLOCATE(length); in acpi_ex_load_op()
470 if (!table_desc.pointer) { in acpi_ex_load_op()
474 ACPI_MEMCPY(table_desc.pointer, table, length); in acpi_ex_load_op()
[all …]
Dtbutils.c414 struct acpi_table_desc *table_desc; in acpi_tb_copy_dsdt() local
416 table_desc = &acpi_gbl_root_table_list.tables[table_index]; in acpi_tb_copy_dsdt()
418 new_table = ACPI_ALLOCATE(table_desc->length); in acpi_tb_copy_dsdt()
421 table_desc->length)); in acpi_tb_copy_dsdt()
425 ACPI_MEMCPY(new_table, table_desc->pointer, table_desc->length); in acpi_tb_copy_dsdt()
426 acpi_tb_delete_table(table_desc); in acpi_tb_copy_dsdt()
427 table_desc->pointer = new_table; in acpi_tb_copy_dsdt()
428 table_desc->flags = ACPI_TABLE_ORIGIN_ALLOCATED; in acpi_tb_copy_dsdt()
461 struct acpi_table_desc *table_desc; in acpi_tb_install_table() local
493 table_desc = &acpi_gbl_root_table_list.tables[table_index]; in acpi_tb_install_table()
[all …]
Dactables.h68 acpi_status acpi_tb_verify_table(struct acpi_table_desc *table_desc);
73 *table_desc);
76 acpi_tb_add_table(struct acpi_table_desc *table_desc, u32 *table_index);
83 void acpi_tb_delete_table(struct acpi_table_desc *table_desc);
Dtbxface.c242 struct acpi_table_desc table_desc; in acpi_load_table() local
247 ACPI_MEMSET(&table_desc, 0, sizeof(struct acpi_table_desc)); in acpi_load_table()
248 table_desc.pointer = table_ptr; in acpi_load_table()
249 table_desc.length = table_ptr->length; in acpi_load_table()
250 table_desc.flags = ACPI_TABLE_ORIGIN_UNKNOWN; in acpi_load_table()
255 status = acpi_tb_add_table(&table_desc, &table_index); in acpi_load_table()
Dacstruct.h204 struct acpi_table_desc *table_desc; member
/linux-3.4.99/drivers/scsi/
Dlibsrp.c243 nmd = id->table_desc.len / sizeof(struct srp_direct_buf); in srp_indirect_data()
252 md = dma_alloc_coherent(iue->target->dev, id->table_desc.len, in srp_indirect_data()
255 eprintk("Can't get dma memory %u\n", id->table_desc.len); in srp_indirect_data()
259 sg_init_one(&dummy, md, id->table_desc.len); in srp_indirect_data()
261 sg_dma_len(&dummy) = id->table_desc.len; in srp_indirect_data()
262 err = rdma_io(sc, &dummy, 1, &id->table_desc, 1, DMA_TO_DEVICE, in srp_indirect_data()
263 id->table_desc.len); in srp_indirect_data()
293 dma_free_coherent(iue->target->dev, id->table_desc.len, md, token); in srp_indirect_data()
/linux-3.4.99/include/scsi/
Dsrp.h108 struct srp_direct_buf table_desc; member
/linux-3.4.99/drivers/scsi/ibmvscsi/
Dibmvscsi.c395 indirect->table_desc.va = 0; in map_sg_data()
396 indirect->table_desc.len = sg_mapped * sizeof(struct srp_direct_buf); in map_sg_data()
397 indirect->table_desc.key = 0; in map_sg_data()
425 indirect->table_desc.va = evt_struct->ext_list_token; in map_sg_data()
426 indirect->table_desc.len = sg_mapped * sizeof(indirect->desc_list[0]); in map_sg_data()
755 indirect->table_desc.va == 0) { in ibmvscsi_queuecommand_lck()
756 indirect->table_desc.va = evt_struct->crq.IU_data_ptr + in ibmvscsi_queuecommand_lck()
/linux-3.4.99/drivers/infiniband/ulp/srp/
Dib_srp.c984 indirect_hdr->table_desc.va = cpu_to_be64(req->indirect_dma_addr); in srp_map_data()
985 indirect_hdr->table_desc.key = cpu_to_be32(target->rkey); in srp_map_data()
986 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
/linux-3.4.99/drivers/infiniband/ulp/srpt/
Dib_srpt.c910 ioctx->n_rbuf = be32_to_cpu(idb->table_desc.len) / sizeof *db; in srpt_get_desc_tbl()
918 be32_to_cpu(idb->table_desc.len), in srpt_get_desc_tbl()