Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/acpi/
Dcppc_acpi.c138 struct acpi_psd_package *pdomain; in acpi_get_psd() local
151 pdomain = &(cpc_ptr->domain_info); in acpi_get_psd()
154 state.pointer = pdomain; in acpi_get_psd()
163 if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) { in acpi_get_psd()
168 if (pdomain->revision != ACPI_PSD_REV0_REVISION) { in acpi_get_psd()
173 if (pdomain->coord_type != DOMAIN_COORD_TYPE_SW_ALL && in acpi_get_psd()
174 pdomain->coord_type != DOMAIN_COORD_TYPE_SW_ANY && in acpi_get_psd()
175 pdomain->coord_type != DOMAIN_COORD_TYPE_HW_ALL) { in acpi_get_psd()
199 struct acpi_psd_package *pdomain; in acpi_get_psd_map() local
222 pdomain = &(cpc_ptr->domain_info); in acpi_get_psd_map()
[all …]
Dprocessor_perflib.c537 struct acpi_psd_package *pdomain; in acpi_processor_get_psd() local
557 pdomain = &(pr->performance->domain_info); in acpi_processor_get_psd()
560 state.pointer = pdomain; in acpi_processor_get_psd()
570 if (pdomain->num_entries != ACPI_PSD_REV0_ENTRIES) { in acpi_processor_get_psd()
576 if (pdomain->revision != ACPI_PSD_REV0_REVISION) { in acpi_processor_get_psd()
582 if (pdomain->coord_type != DOMAIN_COORD_TYPE_SW_ALL && in acpi_processor_get_psd()
583 pdomain->coord_type != DOMAIN_COORD_TYPE_SW_ANY && in acpi_processor_get_psd()
584 pdomain->coord_type != DOMAIN_COORD_TYPE_HW_ALL) { in acpi_processor_get_psd()
602 struct acpi_psd_package *pdomain; in acpi_processor_preregister_performance() local
661 pdomain = &(pr->performance->domain_info); in acpi_processor_preregister_performance()
[all …]
Dprocessor_throttling.c75 struct acpi_tsd_package *pdomain, *match_pdomain; in acpi_processor_update_tsd_coord() local
115 pdomain = &(pthrottling->domain_info); in acpi_processor_update_tsd_coord()
122 if (pdomain->num_processors <= 1) in acpi_processor_update_tsd_coord()
126 count_target = pdomain->num_processors; in acpi_processor_update_tsd_coord()
139 if (match_pdomain->domain != pdomain->domain) in acpi_processor_update_tsd_coord()
153 if (pdomain->coord_type != match_pdomain->coord_type) { in acpi_processor_update_tsd_coord()
172 if (match_pdomain->domain != pdomain->domain) in acpi_processor_update_tsd_coord()
590 struct acpi_tsd_package *pdomain; in acpi_processor_get_tsd() local
617 pdomain = &(pr->throttling.domain_info); in acpi_processor_get_tsd()
620 state.pointer = pdomain; in acpi_processor_get_tsd()
[all …]
/linux-4.4.14/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.4.14/drivers/iommu/
Damd_iommu.c2927 struct protection_domain *pdomain; in amd_iommu_domain_alloc() local
2932 pdomain = protection_domain_alloc(); in amd_iommu_domain_alloc()
2933 if (!pdomain) in amd_iommu_domain_alloc()
2936 pdomain->mode = PAGE_MODE_3_LEVEL; in amd_iommu_domain_alloc()
2937 pdomain->pt_root = (void *)get_zeroed_page(GFP_KERNEL); in amd_iommu_domain_alloc()
2938 if (!pdomain->pt_root) { in amd_iommu_domain_alloc()
2939 protection_domain_free(pdomain); in amd_iommu_domain_alloc()
2943 pdomain->domain.geometry.aperture_start = 0; in amd_iommu_domain_alloc()
2944 pdomain->domain.geometry.aperture_end = ~0ULL; in amd_iommu_domain_alloc()
2945 pdomain->domain.geometry.force_aperture = true; in amd_iommu_domain_alloc()
[all …]