Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb_pci.c44 struct platform_device_info plat_info; in macb_probe() local
89 memset(&plat_info, 0, sizeof(plat_info)); in macb_probe()
90 plat_info.parent = &pdev->dev; in macb_probe()
91 plat_info.fwnode = pdev->dev.fwnode; in macb_probe()
92 plat_info.name = PLAT_DRIVER_NAME; in macb_probe()
93 plat_info.id = pdev->devfn; in macb_probe()
94 plat_info.res = res; in macb_probe()
95 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
96 plat_info.data = &plat_data; in macb_probe()
97 plat_info.size_data = sizeof(plat_data); in macb_probe()
[all …]
/Linux-v4.19/drivers/cpufreq/
Dintel_pstate.c1270 static int core_get_tdp_ratio(u64 plat_info) in core_get_tdp_ratio() argument
1273 if (plat_info & 0x600000000) { in core_get_tdp_ratio()
1306 u64 plat_info; in core_get_max_pstate() local
1311 rdmsrl(MSR_PLATFORM_INFO, plat_info); in core_get_max_pstate()
1312 max_pstate = (plat_info >> 8) & 0xFF; in core_get_max_pstate()
1314 tdp_ratio = core_get_tdp_ratio(plat_info); in core_get_max_pstate()
2450 static struct acpi_platform_list plat_info[] __initdata = { variable
2482 idx = acpi_match_platform_list(plat_info); in intel_pstate_platform_pwr_mgmt_exists()
2486 switch (plat_info[idx].data) { in intel_pstate_platform_pwr_mgmt_exists()