Home
last modified time | relevance | path

Searched refs:plat_info (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/cadence/
H A Dmacb_pci.c31 struct platform_device_info plat_info; in macb_probe() local
76 memset(&plat_info, 0, sizeof(plat_info)); in macb_probe()
77 plat_info.parent = &pdev->dev; in macb_probe()
78 plat_info.fwnode = pdev->dev.fwnode; in macb_probe()
79 plat_info.name = PLAT_DRIVER_NAME; in macb_probe()
80 plat_info.id = pdev->devfn; in macb_probe()
81 plat_info.res = res; in macb_probe()
82 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
83 plat_info.data = &plat_data; in macb_probe()
84 plat_info.size_data = sizeof(plat_data); in macb_probe()
[all …]
/linux/drivers/platform/x86/intel/
H A Dvsec_tpmi.c119 struct intel_tpmi_plat_info plat_info; member
648 feature_vsec_dev->priv_data = &tpmi_info->plat_info; in tpmi_create_device()
649 feature_vsec_dev->priv_data_size = sizeof(tpmi_info->plat_info); in tpmi_create_device()
708 tpmi_info->plat_info.package_id = header.pkg; in tpmi_process_info()
709 tpmi_info->plat_info.bus_number = header.bus; in tpmi_process_info()
710 tpmi_info->plat_info.device_number = header.dev; in tpmi_process_info()
711 tpmi_info->plat_info.function_number = header.fn; in tpmi_process_info()
714 tpmi_info->plat_info.cdie_mask = header.cdie_mask; in tpmi_process_info()
715 tpmi_info->plat_info.partition = header.partition; in tpmi_process_info()
716 tpmi_info->plat_info.segment = header.segment; in tpmi_process_info()
[all …]
H A Dplr_tpmi.c259 struct intel_tpmi_plat_info *plat_info; in intel_plr_probe() local
268 plat_info = tpmi_get_platform_data(auxdev); in intel_plr_probe()
269 if (!plat_info) in intel_plr_probe()
307 plr->die_info[i].package_id = plat_info->package_id; in intel_plr_probe()
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1449 struct intel_tpmi_plat_info *plat_info; in tpmi_sst_dev_add() local
1467 plat_info = tpmi_get_platform_data(auxdev); in tpmi_sst_dev_add()
1468 if (!plat_info) { in tpmi_sst_dev_add()
1473 pkg = plat_info->package_id; in tpmi_sst_dev_add()
1479 partition = plat_info->partition; in tpmi_sst_dev_add()
1518 if (plat_info->cdie_mask) { in tpmi_sst_dev_add()
1521 cdie_mask = plat_info->cdie_mask; in tpmi_sst_dev_add()
1601 struct intel_tpmi_plat_info *plat_info; in tpmi_sst_dev_remove() local
1603 plat_info = tpmi_get_platform_data(auxdev); in tpmi_sst_dev_remove()
1604 if (!plat_info) in tpmi_sst_dev_remove()
[all …]
/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c424 struct intel_tpmi_plat_info *plat_info; in uncore_probe() local
469 plat_info = tpmi_get_platform_data(auxdev); in uncore_probe()
470 if (plat_info) in uncore_probe()
471 pkg = plat_info->package_id; in uncore_probe()
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.h105 struct sfh_platform_info plat_info; member
/linux/drivers/cpufreq/
H A Dintel_pstate.c2095 static int core_get_tdp_ratio(int cpu, u64 plat_info) in core_get_tdp_ratio() argument
2098 if (plat_info & 0x600000000) { in core_get_tdp_ratio()
2131 u64 plat_info; in core_get_max_pstate() local
2136 rdmsrl_on_cpu(cpu, MSR_PLATFORM_INFO, &plat_info); in core_get_max_pstate()
2137 max_pstate = (plat_info >> 8) & 0xFF; in core_get_max_pstate()
2139 tdp_ratio = core_get_tdp_ratio(cpu, plat_info); in core_get_max_pstate()
3545 static struct acpi_platform_list plat_info[] __initdata = { variable
3582 idx = acpi_match_platform_list(plat_info); in intel_pstate_platform_pwr_mgmt_exists()
3586 switch (plat_info[idx].data) { in intel_pstate_platform_pwr_mgmt_exists()