Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-tpmi.c66 struct tpmi_uncore_power_domain_info *pd_info; member
109 for (j = 0; j < uncore_root->pd_info[i].cluster_count; ++j) { in uncore_read_control_freq()
110 read_control_freq(&uncore_root->pd_info[i].cluster_infos[j], in uncore_read_control_freq()
167 for (j = 0; j < uncore_root->pd_info[i].cluster_count; ++j) in uncore_write_control_freq()
168 write_control_freq(&uncore_root->pd_info[i].cluster_infos[j], in uncore_write_control_freq()
212 struct tpmi_uncore_power_domain_info *pd_info; in remove_cluster_entries() local
215 pd_info = &tpmi_uncore->pd_info[i]; in remove_cluster_entries()
216 if (!pd_info->uncore_base) in remove_cluster_entries()
219 for (j = 0; j < pd_info->cluster_count; ++j) { in remove_cluster_entries()
222 cluster_info = &pd_info->cluster_infos[j]; in remove_cluster_entries()
[all …]
/drivers/platform/x86/intel/speed_select_if/
Disst_tpmi_core.c310 struct tpmi_per_power_domain_info *pd_info, in sst_add_perf_profiles() argument
316 pd_info->perf_levels = devm_kcalloc(&auxdev->dev, levels, in sst_add_perf_profiles()
319 if (!pd_info->perf_levels) in sst_add_perf_profiles()
322 pd_info->ratio_unit = pd_info->pp_header.ratio_unit; in sst_add_perf_profiles()
323 pd_info->avx_levels = SST_MAX_AVX_LEVELS; in sst_add_perf_profiles()
324 pd_info->pp_block_size = pd_info->pp_header.block_size; in sst_add_perf_profiles()
327 *((u64 *)&pd_info->feature_offsets) = readq(pd_info->sst_base + in sst_add_perf_profiles()
328 pd_info->sst_header.pp_offset + in sst_add_perf_profiles()
331 perf_level_offsets = readq(pd_info->sst_base + pd_info->sst_header.pp_offset + in sst_add_perf_profiles()
341 pd_info->perf_levels[i].mmio_offset = pd_info->sst_header.pp_offset + offset; in sst_add_perf_profiles()
[all …]
/drivers/pmdomain/rockchip/
Dpm-domains.c285 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_domain_is_idle() local
289 return (val & pd_info->idle_mask) == pd_info->idle_mask; in rockchip_pmu_domain_is_idle()
303 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_set_idle_request() local
306 u32 pd_req_offset = pd_info->req_offset; in rockchip_pmu_set_idle_request()
312 if (pd_info->req_mask == 0) in rockchip_pmu_set_idle_request()
314 else if (pd_info->req_w_mask) in rockchip_pmu_set_idle_request()
316 idle ? (pd_info->req_mask | pd_info->req_w_mask) : in rockchip_pmu_set_idle_request()
317 pd_info->req_w_mask); in rockchip_pmu_set_idle_request()
320 pd_info->req_mask, idle ? -1U : 0); in rockchip_pmu_set_idle_request()
325 target_ack = idle ? pd_info->ack_mask : 0; in rockchip_pmu_set_idle_request()
[all …]
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c2089 if ((instance->pd_info) && !MEGASAS_IS_LOGICAL(sdev)) in megasas_slave_configure()
4549 memset(instance->pd_info, 0, sizeof(*instance->pd_info)); in megasas_get_pd_info()
4574 le16_to_cpus((u16 *)&instance->pd_info->state.ddf.pdType); in megasas_get_pd_info()
4576 instance->pd_info->state.ddf.pdType.intf; in megasas_get_pd_info()
7287 instance->pd_info = in megasas_alloc_ctrl_dma_buffers()
7303 if (!instance->pd_info) in megasas_alloc_ctrl_dma_buffers()
7369 if (instance->pd_info) in megasas_free_ctrl_dma_buffers()
7371 instance->pd_info, instance->pd_info_h); in megasas_free_ctrl_dma_buffers()
Dmegaraid_sas.h2293 struct MR_PD_INFO *pd_info; member