Searched refs:acpi_data (Results 1 – 5 of 5) sorted by relevance
33 struct acpi_processor_performance acpi_data; member97 for (i = 0; i < data->acpi_data.state_count; i++) { in extract_clock()98 if (value == data->acpi_data.states[i].status) in extract_clock()99 return data->acpi_data.states[i].core_frequency; in extract_clock()101 return data->acpi_data.states[i-1].core_frequency; in extract_clock()143 if (state == data->acpi_data.state) { in processor_set_freq()154 data->acpi_data.state, state); in processor_set_freq()160 value = (u32) data->acpi_data.states[state].control; in processor_set_freq()170 data->acpi_data.state = state; in processor_set_freq()220 result = acpi_processor_register_performance(&data->acpi_data, cpu); in acpi_cpufreq_cpu_init()[all …]
717 if (!data->acpi_data.state_count) in powernow_k8_acpi_pst_values()720 control = data->acpi_data.states[index].control; in powernow_k8_acpi_pst_values()735 if (acpi_processor_register_performance(&data->acpi_data, data->cpu)) { in powernow_k8_cpu_init_acpi()741 if (data->acpi_data.state_count <= 1) { in powernow_k8_cpu_init_acpi()746 control = data->acpi_data.control_register.space_id; in powernow_k8_cpu_init_acpi()747 status = data->acpi_data.status_register.space_id; in powernow_k8_cpu_init_acpi()758 * (data->acpi_data.state_count + 1)), GFP_KERNEL); in powernow_k8_cpu_init_acpi()763 data->numps = data->acpi_data.state_count; in powernow_k8_cpu_init_acpi()770 powernow_table[data->acpi_data.state_count].frequency = in powernow_k8_cpu_init_acpi()780 if (!zalloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) { in powernow_k8_cpu_init_acpi()[all …]
35 struct acpi_processor_performance acpi_data; member
1357 } acpi_data __initdata;1364 acpi_data.redist_regs[count].phys_base = phys_base; in gic_acpi_register_redist()1365 acpi_data.redist_regs[count].redist_base = redist_base; in gic_acpi_register_redist()1366 acpi_data.redist_regs[count].single_redist = acpi_data.single_redist; in gic_acpi_register_redist()1394 u32 reg = readl_relaxed(acpi_data.dist_base + GICD_PIDR2) & GIC_PIDR2_ARCH_MASK; in gic_acpi_parse_madt_gicc()1415 if (acpi_data.single_redist) { in gic_acpi_collect_gicr_base()1449 acpi_data.enabled_rdists++; in gic_acpi_match_gicc()1475 acpi_data.single_redist = false; in gic_acpi_count_gicr_regions()1482 acpi_data.single_redist = true; in gic_acpi_count_gicr_regions()1483 count = acpi_data.enabled_rdists; in gic_acpi_count_gicr_regions()[all …]
1500 } 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 …]