Home
last modified time | relevance | path

Searched refs:acpi_data (Results 1 – 5 of 5) sorted by relevance

/drivers/cpufreq/
Dia64-acpi-cpufreq.c32 struct acpi_processor_performance acpi_data; member
96 for (i = 0; i < data->acpi_data.state_count; i++) { in extract_clock()
97 if (value == data->acpi_data.states[i].status) in extract_clock()
98 return data->acpi_data.states[i].core_frequency; in extract_clock()
100 return data->acpi_data.states[i-1].core_frequency; in extract_clock()
142 if (state == data->acpi_data.state) { in processor_set_freq()
153 data->acpi_data.state, state); in processor_set_freq()
159 value = (u32) data->acpi_data.states[state].control; in processor_set_freq()
169 data->acpi_data.state = state; in processor_set_freq()
219 result = acpi_processor_register_performance(&data->acpi_data, cpu); in acpi_cpufreq_cpu_init()
[all …]
Dpowernow-k8.c714 if (!data->acpi_data.state_count) in powernow_k8_acpi_pst_values()
717 control = data->acpi_data.states[index].control; in powernow_k8_acpi_pst_values()
732 if (acpi_processor_register_performance(&data->acpi_data, data->cpu)) { in powernow_k8_cpu_init_acpi()
738 if (data->acpi_data.state_count <= 1) { in powernow_k8_cpu_init_acpi()
743 control = data->acpi_data.control_register.space_id; in powernow_k8_cpu_init_acpi()
744 status = data->acpi_data.status_register.space_id; in powernow_k8_cpu_init_acpi()
755 * (data->acpi_data.state_count + 1)), GFP_KERNEL); in powernow_k8_cpu_init_acpi()
760 data->numps = data->acpi_data.state_count; in powernow_k8_cpu_init_acpi()
767 powernow_table[data->acpi_data.state_count].frequency = in powernow_k8_cpu_init_acpi()
777 if (!zalloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) { in powernow_k8_cpu_init_acpi()
[all …]
Dpowernow-k8.h33 struct acpi_processor_performance acpi_data; member
/drivers/irqchip/
Dirq-gic-v3.c1807 } acpi_data __initdata;
1814 acpi_data.redist_regs[count].phys_base = phys_base; in gic_acpi_register_redist()
1815 acpi_data.redist_regs[count].redist_base = redist_base; in gic_acpi_register_redist()
1816 acpi_data.redist_regs[count].single_redist = acpi_data.single_redist; in gic_acpi_register_redist()
1844 u32 reg = readl_relaxed(acpi_data.dist_base + GICD_PIDR2) & GIC_PIDR2_ARCH_MASK; in gic_acpi_parse_madt_gicc()
1865 if (acpi_data.single_redist) { in gic_acpi_collect_gicr_base()
1923 acpi_data.single_redist = false; in gic_acpi_count_gicr_regions()
1930 acpi_data.single_redist = true; in gic_acpi_count_gicr_regions()
1950 acpi_data.nr_redist_regions = count; in acpi_validate_gic_table()
1972 acpi_data.maint_irq = gicc->vgic_interrupt; in gic_acpi_parse_virt_madt_gicc()
[all …]
Dirq-gic.c1500 } acpi_data __initdata;
1520 if (cpu_base_assigned && gic_cpu_base != acpi_data.cpu_phys_base) in gic_acpi_parse_madt_cpu()
1523 acpi_data.cpu_phys_base = gic_cpu_base; in gic_acpi_parse_madt_cpu()
1524 acpi_data.maint_irq = processor->vgic_interrupt; in gic_acpi_parse_madt_cpu()
1525 acpi_data.maint_irq_mode = (processor->flags & ACPI_MADT_VGIC_IRQ_MODE) ? in gic_acpi_parse_madt_cpu()
1527 acpi_data.vctrl_base = processor->gich_base_address; in gic_acpi_parse_madt_cpu()
1528 acpi_data.vcpu_base = processor->gicv_base_address; in gic_acpi_parse_madt_cpu()
1571 if (!acpi_data.vctrl_base) in gic_acpi_setup_kvm_info()
1575 vctrl_res->start = acpi_data.vctrl_base; in gic_acpi_setup_kvm_info()
1578 if (!acpi_data.vcpu_base) in gic_acpi_setup_kvm_info()
[all …]