Home
last modified time | relevance | path

Searched refs:pdomain (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/acpi/
Dprocessor_perflib.c541 struct acpi_psd_package *pdomain; in acpi_processor_get_psd() local
561 pdomain = &(pr->performance->domain_info); in acpi_processor_get_psd()
564 state.pointer = pdomain; in acpi_processor_get_psd()
574 if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) { in acpi_processor_get_psd()
580 if (pdomain->revision != ACPI_PSD_REV0_REVISION) { in acpi_processor_get_psd()
586 if (pdomain->coord_type != DOMAIN_COORD_TYPE_SW_ALL && in acpi_processor_get_psd()
587 pdomain->coord_type != DOMAIN_COORD_TYPE_SW_ANY && in acpi_processor_get_psd()
588 pdomain->coord_type != DOMAIN_COORD_TYPE_HW_ALL) { in acpi_processor_get_psd()
606 struct acpi_psd_package *pdomain; in acpi_processor_preregister_performance() local
665 pdomain = &(pr->performance->domain_info); in acpi_processor_preregister_performance()
[all …]
Dprocessor_throttling.c79 struct acpi_tsd_package *pdomain, *match_pdomain; in acpi_processor_update_tsd_coord() local
119 pdomain = &(pthrottling->domain_info); in acpi_processor_update_tsd_coord()
126 if (pdomain->num_processors <= 1) in acpi_processor_update_tsd_coord()
130 count_target = pdomain->num_processors; in acpi_processor_update_tsd_coord()
143 if (match_pdomain->domain != pdomain->domain) in acpi_processor_update_tsd_coord()
157 if (pdomain->coord_type != match_pdomain->coord_type) { in acpi_processor_update_tsd_coord()
176 if (match_pdomain->domain != pdomain->domain) in acpi_processor_update_tsd_coord()
594 struct acpi_tsd_package *pdomain; in acpi_processor_get_tsd() local
621 pdomain = &(pr->throttling.domain_info); in acpi_processor_get_tsd()
624 state.pointer = pdomain; in acpi_processor_get_tsd()
[all …]
/linux-4.1.27/drivers/xen/
Dxen-acpi-processor.c167 struct acpi_psd_package *pdomain; in xen_copy_psd_data() local
177 pdomain = &(_pr->performance->domain_info); in xen_copy_psd_data()
182 if (pdomain->num_processors <= 1) { in xen_copy_psd_data()
183 if (pdomain->coord_type == DOMAIN_COORD_TYPE_SW_ALL) in xen_copy_psd_data()
185 else if (pdomain->coord_type == DOMAIN_COORD_TYPE_HW_ALL) in xen_copy_psd_data()
187 else if (pdomain->coord_type == DOMAIN_COORD_TYPE_SW_ANY) in xen_copy_psd_data()
191 memcpy(&(dst->domain_info), pdomain, sizeof(struct acpi_psd_package)); in xen_copy_psd_data()
/linux-4.1.27/drivers/iommu/
Damd_iommu.c3248 struct protection_domain *pdomain; in amd_iommu_domain_alloc() local
3254 pdomain = protection_domain_alloc(); in amd_iommu_domain_alloc()
3255 if (!pdomain) in amd_iommu_domain_alloc()
3258 pdomain->mode = PAGE_MODE_3_LEVEL; in amd_iommu_domain_alloc()
3259 pdomain->pt_root = (void *)get_zeroed_page(GFP_KERNEL); in amd_iommu_domain_alloc()
3260 if (!pdomain->pt_root) in amd_iommu_domain_alloc()
3263 pdomain->domain.geometry.aperture_start = 0; in amd_iommu_domain_alloc()
3264 pdomain->domain.geometry.aperture_end = ~0ULL; in amd_iommu_domain_alloc()
3265 pdomain->domain.geometry.force_aperture = true; in amd_iommu_domain_alloc()
3267 return &pdomain->domain; in amd_iommu_domain_alloc()
[all …]